Hello,

I have used the mjpegtools for months in order to create mostly SVCDs.
The only source I have are mpeg2 stream. Sometimes DVDs, but most of the
time mpegs that I stream from my digital satellite reciever directly to
my harddisk.

So far I didn't have many problems. (except for NTSC DVD's which I
categorized as "impossible" by now)
But recently after a new installation of my computer I encountered
problems I didn't have before.

I try to convert the satellite mpeg to SVCD I find no way to keep
synchronicity.
When I play the mpeg on computer with mplayer it is perfect.

Normally I use mplayer to create the yuv stream and to extract audio
like this:

mplayer -vop expand=480:576:16:75,scale=448:425 -vo yuv4mpeg -ao pcm
-noframedrop -noaspect -sws 9 -benchmark orig.mpg

I encode the yuv stream like this:
cat stream.yuv | nice mpeg2enc -f 4 -I 0 -V 230 -b 2500 -n p -F 3 -a 2
-q 9 -g 6 -G 18 -Q 0.0 -S 790 -B 252 -o svcd.m2v 
And audio:
cat audiodump.wav | nice mp2enc -V -o svcd_audio.m2a

After Mplexing the audio is never synchronized.
At the very beginning the result is already a fraction of a second
asynchron and it gets worse and worse.
I have no idea why I have the problem now but never had before.
I tried solving it with traditional bbdmux but bbdmux doesn't seem to
handle files >2GB. 
I tried extracting the audio stream with mplayer separately from video
but that didn't help either.
extract_ac3 is useless since it contains mp2 and not ac3.

Am I doing anything fundamentally wrong?
I can fix the beginning of the synchronize problem with the mplex offset
option, but for the rest would would have to find a way to "scale" the
audio encoding. Is there a way?

Thanks


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to