PDA

View Full Version : mplayer/encoder speed up video



daviddoria
20th April 2008, 07:25 PM
I made a file test.avi from a bunch of pictures:

mencoder "mf://*.png" -mf type=png -ovc lavc -lavcopts vcodec=huffyuv:format=422p -oac copy -o test.avi

Then I converted it to a different format with:

mplayer huffyuv.avi -vo yuv4mpeg
mpeg2enc -f2 -b 10000 -n n -q 4 -H -o output.mpg stream.yuv

The result played about twice as slow as I would have liked. So I tried this:

mplayer -speed 2 huffyuv.avi -vo yuv4mpeg
mpeg2enc -f2 -b 10000 -n n -q 4 -H -o output2.mpg stream.yuv

but when I:

mplayer output.mpg
and
mplayer output2.mpg

they play at the same speed!

What gives?

Thanks,

Dave

stevea
20th April 2008, 07:28 PM
You'd have much better success posting this to a Linux vid group or the mplayer discussion list.