Hallo

> cat q1.ppm  | ppmtoy4m -n50  -F25:1 -A59:54 -I p -r -S 420mpeg2 |
> mpeg2enc -n p -f8 -b7500 -a2 -I 0 -o q1.m2v
> cat q2.ppm  | ppmtoy4m -n50  -F25:1 -A59:54 -I p -r -S 420mpeg2 |
> mpeg2enc -n p -f8 -b7500 -a2 -I 0 -o q2.m2v
> 
> Then I build a audio file
> ffmpeg -ab 224 -ar 48000 -ac 1 -t 4 -i soung.mp3  menu_audio.ac3
> 
> Then I put together the different part of the movie (mpgjoin)
> mpgtx -j q1.m2v q2.m2v -o joined.m2v
I do not think that mpgtx cat's the files together in a way so they are
afterwards still DVD standart compliant. 

The better solution is to create a avi in the fist place instead of a
MPEG video file. And than encod the 2 avi parts to one video:
replace the mpeg2enc ... with:
yuv2lav -q 90 -f a -o q1.avi

And than encode both to mpeg:
lav2yuv q1.avi q2.avi | mpeg2enc -n p -f8 -b7500 -a2 -I 0 -o q2.m2v

>    INFO: [mplex] Bit rate       :    28672 bytes/sec (224 kbit/sec)
>    INFO: [mplex] Frequency      :     44100 Hz
BTW: You should use 48kHz audio sampling rate.

> I thing this problem is a consequence of the join operation, because the
> script works when the file is not catenated.
Very likely, I hope I have explained a workaround for you. 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to