Hi folks I have a bunch of jpegs, 41000 of them. Basically I was using the cinelerra to do the video editing. When I rendered the final project as an mpeg the mplex was complaining bitterly. Basically mplex was complaining that bit rate was too low and also dvdauthor was not pleased. In the end when I put the thing on dvd, mplayer seem able to play with sound but standalone dvdplayer doesnot like it.
Hence I rendered the images to jpeg shots from cinelerra. I thought it would be a matter of using mjpegtools and just create the necessary mpeg2 video file from it, then mplex the mp3 or mp2 whatever. But no, it does not work that way. I used the command as below #find . -name='*.jpg' | sort | xargs -n1 jpegtopnm | ppmtoy4m | mpeg2enc -f 8 -b 14000 -s -n p -F 3 -a 2 -c -B 3000 -o final.mpeg but with -b ranging from 8000 to 40000 and -B ranging from 300 to 3000. No matter what I do mplex does not like it and complain that bit rate too low. Also dvdauthor helpfully advises me to remux the input :-) Is there anyone who can tell me what I need to do to make a mpeg2 stream out of the 41000 jpegs and mplex it with equal time length audio in mp3 or mp2 format to put it on disk and play on stand alone dvd player!! #mplex -f 8 -o final.mpeg final.m2v final.mp2 barfs at me like below. INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $) INFO: [mplex] File final.m2v looks like an MPEG Video stream. INFO: [mplex] File final.mp2 looks like an MPEG Audio stream. INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options! INFO: [mplex] Found 1 audio streams and 1 video streams INFO: [mplex] Selecting dvdauthor DVD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (final.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 720 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : forbidden INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 24000000 bits/sec INFO: [mplex] Vbv buffer size : 851968 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: Audio stream c0 (final.mp2) INFO: [mplex] MPEG AUDIO STREAM: c0 INFO: [mplex] Audio version : 1.0 INFO: [mplex] Layer : 2 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 : 0 copy INFO: [mplex] Emphasis : 0 none INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 24627000 INFO: [mplex] target data-rate specified : 10080000 ++ WARN: [mplex] Target data rate lower than computed requirement! ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate ++ WARN: [mplex] streams is common and harmless provided no time-outs will occur INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 16619 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000 INFO: [mplex] Audio c0: buf= 4096 frame=000000 sector=00000000 ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=704219 required(DTS)=7042 19 ======================================================================== Trying with rate below 26000 seem to complain as above. But with #mplex -f 8 -r 26000 -o final.mpeg final.m2v final.mp2 what happens is below. INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000 INFO: [mplex] Audio c0: buf= 4096 frame=000000 sector=00000000 INFO: [mplex] Scanned to end AU 5447 INFO: [mplex] Running out... INFO: [mplex] Video e0: buf= 39712 frame=005447 sector=00207612 INFO: [mplex] Audio c0: buf= 1198 frame=008336 sector=00001725 **ERROR: [mplex] Need to split output but there appears to be no %d in the filename pattern final.mpeg When I tried with %d in command line filename, for a 27 min video it creates 8 mpegs which I tried with dvdauthor which complains that it can't find VOBUs and bails out. Any help would be gratefully accepted. I am considering installing win2k just for using roxio videowave or magix media edit pro. Yes. I am that desparate, but I just hope it can be done with out resorting to windows, especially since I wiped it more than a good few months ago and not keen to go back. Thanks sreekant __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users