[MPlayer-users] different audio/video length using mencoder
Thorben Kröger
thorbenk at gmx.net
Sun Jan 30 20:43:34 CET 2005
On Sunday 30 January 2005 13:23, Thorben Kröger wrote:
> The length of audio and video seem not to match:
> Video stream: 1445.817 kbit/s (180727 bps) size: 6325450 bytes 35.000
> secs 875 frames
> Audio stream: 218.760 kbit/s (27345 bps) size: 969984 bytes 35.472 secs
> This wouldn't be much of a problem (video plays fine) but when putting the
> segments in cinelerra the audio track is of course slightly longer and when
> you append another segment there might be gaps in the video or something
> similar.
> Is there a workaround?
I was able to get an improvement in the difference of audio/video, but it is
not gone entirely:
mencoder dvd://1 -mc 0 -noskip -sb 1310000000 -endpos 36 -ovc lavc -lavcopts
vcodec=mpeg4:mbd=1:vbitrate=1800 -oac mp3lame -lameopts br=192 -vf scale
-zoom -xy 720 -o test.avi
#test.avi
Video stream: 1684.654 kbit/s (210581 bps) size: 7580944 bytes 36.000 secs
900 frames
Audio stream: 221.474 kbit/s (27684 bps) size: 1009920 bytes 36.480 secs
using -audio-preload 0.0 (see
http://www.linuxquestions.org/questions/showthread.php?s=&forumid=62&threadid=278124)
in addition seems to improve the length-difference, but as you can see it not
entirely gone...
#test2.avi
Video stream: 1684.654 kbit/s (210581 bps) size: 7580944 bytes 36.000 secs
900 frames
Audio stream: 221.758 kbit/s (27719 bps) size: 997248 bytes 35.976 secs
Thorben
More information about the MPlayer-users
mailing list