Re: [Mjpeg-users] mplex no free space in input buffer
Hi again, On Mon, 1 Mar 2004, Bernhard Praschinger wrote: >> jpeg2yuv -f 25 -j cS2300*.JPG -n 25 -I p | yuvscaler -O \ >> SVCD | mpeg2enc -T 120 -f 7 -o cS2300*.m2v >> >> cat cS2300*.m2v > nosound.m2v >I don't know how often someone tired to combine a mpeg2 movie with cat, >but I don't know jet that it had worked once. > >> where * is in in the range 001 to 300. >Why do you only process 25 images per mpeg file ? And not the whole >range in one step? > >Why do you create still sequences you want to connect afterwards to a >longer movie ? Two reasons: One: I've tried creating one long movie before and it ends up with the same result, so I'm basically trying anything to hope that it will work. (Not ideal, but I am new to this so I don't really know what's the correct way of doing such things) Two: As mentioned above, I'm a new user. In other words, I don't have a great deal of clue on what I'm doing ;) Here are the errors when I try to do it with one long movie: jpeg2yuv -f25 -j cS2300%03d.jpg -n320 -I p | yuvscaler -O \ SVCD | mpeg2enc -T 120 -f 7 -o result.m2v mplex -f4 -v0 -o result.mpg sound.mp2 result.m2v **ERROR: [mplex] Need to split output but there appears to be no %d in the filename pattern result.mpg Now when I do use %d, it will give another error. mplex -f4 -v 0 -o foo%d.mpg sound.mp2 result.m2v **ERROR: [mplex] INTERNAL ERROR: additional data required but no free space in input buffer It generated 133 fooX.mpg, then dies with that internal error. >> Although when I download mjpegtools, I downloaded the latest >> version, but looking at the README in the mplex source >> directory, it seems like that mplex code hasn't been updated >> for a while now. Is there a patch somewhere? Any help would be >> much appreciated. >No, you just try something, mplex is not designed to work with. Good to know that it's my error, as I thought it would be at the start :) Basically I'm just trying to create a VCD with some photos I've taken, I didn't know it would be this complex... Andrew --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] mplex no free space in input buffer
Hi ANdrew, Can you try things with 1.6.2 - a lot of Bugs have been fixed since 1.6.1... You'll need to use '-M' to stop mplex trying to split the output at every sequence end marker it receives (probably one per video segment you cat-ed). Andrew --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] mplex no free space in input buffer
Hallo > I'm trying to create a mpeg with sound using mplex. The two > files I'm trying to combine is an mp2 and a SVCD (m2v) file > created by mpeg2enc. > > The m2v file is created by catting 300 small m2v files > together, the command I used is: > > jpeg2yuv -f 25 -j cS2300*.JPG -n 25 -I p | yuvscaler -O \ > SVCD | mpeg2enc -T 120 -f 7 -o cS2300*.m2v > > cat cS2300*.m2v > nosound.m2v I don't know how often someone tired to combine a mpeg2 movie with cat, but I don't know jet that it had worked once. > where * is in in the range 001 to 300. Why do you only process 25 images per mpeg file ? And not the whole range in one step? Why do you create still sequences you want to connect afterwards to a longer movie ? > Although when I download mjpegtools, I downloaded the latest > version, but looking at the README in the mplex source > directory, it seems like that mplex code hasn't been updated > for a while now. Is there a patch somewhere? Any help would be > much appreciated. No, you just try something, mplex is not designed to work with. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] mplex no free space in input buffer
Hi all, I'm trying to create a mpeg with sound using mplex. The two files I'm trying to combine is an mp2 and a SVCD (m2v) file created by mpeg2enc. The m2v file is created by catting 300 small m2v files together, the command I used is: jpeg2yuv -f 25 -j cS2300*.JPG -n 25 -I p | yuvscaler -O \ SVCD | mpeg2enc -T 120 -f 7 -o cS2300*.m2v cat cS2300*.m2v > nosound.m2v where * is in in the range 001 to 300. Now I have an mp2 file that I want to add to the movie, so I did the following: mplex -f4 -o sound%d.mpg nosound.m2v somesound.mp2 The reason I specified sound%d.mpg is because if I don't, then I'll get an error "**ERROR: [mplex] Need to split output but there appears to be no %d in the filename pattern sound.mpg". I'm using mjpegtools mplex version 1.6.1. Below is the exact output of a sample run, it is abit verbose, but I thought I should provide as much information as I could if I was to expect any suggestions. freebsd%>mplex -f4 -o sound%d.mpg /usr/tmp/nosound.m2v ~/kelly_red01.mp2 INFO: [mplex] mplex version 2.2.1 ($Date: 2002/02/04 19:06:14 $) INFO: [mplex] File /usr/tmp/nosound.m2v looks like an MPEG Video stream. INFO: [mplex] File /home/iceger/kelly_red01.mp2 looks like an MPEG Audio stream. INFO: [mplex] Found 1 video streams 1 MPEG audio streams and 0 AC3 streams INFO: [mplex] Selecting SVCD output profile INFO: [mplex] Scanning for header info: Video stream e0 (/usr/tmp/nosound.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 480 INFO: [mplex] Frame height: 576 INFO: [mplex] Aspect ratio: 4:3 display INFO: [mplex] Picture rate: 25.000 frames/sec INFO: [mplex] Bit rate: 250 bits/sec INFO: [mplex] Vbv buffer size : 225280 bytes INFO: [mplex] CSPF: 0 INFO: [mplex] Scanning for header info: Audio stream c0 (/home/iceger/kelly_red01.mp2) INFO: [mplex] AUDIO STREAM: INFO: [mplex] Audio version : 1.0 INFO: [mplex] Layer :3 INFO: [mplex] CRC checksums : no INFO: [mplex] Bit rate :16384 bytes/sec (128 kbit/sec) INFO: [mplex] Frequency : 44100 Hz INFO: [mplex] Mode :0 stereo INFO: [mplex] Mode extension :0 INFO: [mplex] Copyright bit :0 no copyright INFO: [mplex] Original/Copy :1 original INFO: [mplex] Emphasis :0 none INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate: 2680400 INFO: [mplex] target data-rate specified : 2788800 INFO: [mplex] Setting specified specified data rate: 2788800 INFO: [mplex] Sectors = 78 Video delay = 46800 Audio delay = 46800 INFO: [mplex] Scanned to end AU 0 INFO: [mplex] Scanned to end AU 1 INFO: [mplex] Scanned to end AU 2 INFO: [mplex] Scanned to end AU 3 INFO: [mplex] Scanned to end AU 4 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 235520 frame=00 sector= INFO: [mplex] Audio c0: buf= 4096 frame=00 sector= INFO: [mplex] Video e0: buf= 233232 frame=00 sector=0001 INFO: [mplex] Audio c0: buf= 4096 frame=00 sector= INFO: [mplex] Scanned to end AU 5 INFO: [mplex] Scanned to end AU 6 INFO: [mplex] Scanned to end AU 7 INFO: [mplex] Scanned to end AU 8 INFO: [mplex] Scanned to end AU 9 INFO: [mplex] Scanned to end AU 10 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 116334 frame=01 sector=0052 INFO: [mplex] Audio c0: buf= 1803 frame=05 sector=0001 INFO: [mplex] Video e0: buf= 233229 frame=01 sector=0001 INFO: [mplex] Audio c0: buf= 4096 frame=05 sector= INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 114329 frame=02 sector=0053 INFO: [mplex] Audio c0: buf= 4096 frame=05 sector= INFO: [mplex] Video e0: buf= 233229 frame=02 sector=0001 INFO: [mplex] Audio c0: buf= 4096 frame=05 sector= INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 114329 frame=03 sector=0053 INFO: [mplex] Audio c0: buf= 1800 frame=10 sector=0001 INFO: [mplex] Video e0: buf= 233229 frame=03 sector=0001 INFO: [mplex] Audio c0: buf= 4096 frame=10 sector= INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 114329 frame=04 sector=0053 INFO: [mplex] Audio c0: buf= 4096 frame=10 sector= INFO: [mplex] Video e0: buf= 233229 frame=04 sector=0001 INFO: [mplex] Audio c0: buf= 4096 frame=10 sector= INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 114329 frame=05 sector=0053 INFO: [mplex] Audio c0: buf= 4096 frame=10 sector= INFO: [mplex] Video e0: buf= 233229 frame=05 sector=0001 INFO: [mplex] Audio c0: buf= 4096 frame=000