[MPlayer-users] Convert to raw h.264 and increase frame rate

Lobster lobo at lobs.sytes.net
Fri Feb 17 22:54:27 CET 2012


On 18/02/2012 10:50 a.m., Marlon Smith wrote:
> On Fri, 2012-02-17 at 19:20 +0000, Carl Eugen Hoyos wrote:
>
>> Marlon Smith<marlon.smith10<at>  gmail.com>  writes:
>>
>>> mencoder input.avi -nosound -of rawvideo -ovc x264 -x264encopts
>>> bframes=0 -o output.264
>>>
>>> The video is playing back on a hardware device that always plays at
>>> 30fps.  Therefore, I need my raw h.264 file to actually contain 30 fps.
>> Did you try
>> ffmpeg -i input.avi -an -r 30 out.h264
>> ?
>>
>> Carl Eugen
>>
>> _______________________________________________
>> MPlayer-users mailing list
>> MPlayer-users at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
> It looks like mencoder is trying to add frames to the output file (I get
> lots of duplicate frame messages, which should be good), but it always
> plays back at the same speed (with mplayer and on my target device).
> The file size does change though; specifying a higher output framerate
> results in a larger file.
>
> Does anyone know what I could be doing wrong?
>

you MUST use the harddup video filter to make duplicated frames
get encoded.

Try adding -vf harddup to your command line.




More information about the MPlayer-users mailing list