[MPlayer-users] mencoder coverts x264 video stream longer than audio stream

T o n g mlist4suntong at yahoo.com
Sun Dec 13 16:01:32 CET 2009


On Sat, 12 Dec 2009 17:38:42 +0000, T o n g wrote:

> I am using mencoder to covert my video to x264/mp3 format, but just
> noticed that the converted avi file's audio stream is about 10% shorter
> than the video stream:
> 
>  Video stream:  712.690 kbit/s  (89086 B/s)  size: 1532284 bytes  17.200
> secs  261 frames
>  Audio stream:   46.772 kbit/s  (5846 B/s)  size: 85032 bytes  14.544
>  secs
> 
> The command that I used is:
> 
>  mencoder -of avi -oac mp3lame -lameopts abr:br=48:vol=2.2 -ovc x264 -vf
> harddup -srate 8000 -o imgp2163-.avi imgp2163.avi

Actually, the subject should better be named as "mencoder coverts x264 
video stream longer than audio stream". I.e., if I use "-oac copy", I can 
see that the video stream is longer:

$ mencoder -of avi -oac copy -ovc x264 -vf harddup -srate 8000 -o 
imgp2163-.avi imgp2163.avi
Video stream:  679.675 kbit/s  (84959 B/s)  size: 1614228 bytes  19.000 
secs  261 frames
Audio stream:   64.000 kbit/s  (8000 B/s)  size: 136000 bytes  17.000 secs

FYI, I've upload the imgp2163.avi file to ftp mplayerhq.hu /MPlayer/
incoming/, as "mencoder_coverts_audio_stream_shorter.avi"

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/



More information about the MPlayer-users mailing list