[MPlayer-users] Convert to raw h.264 and increase frame rate
Marlon Smith
marlon.smith10 at gmail.com
Fri Feb 17 23:02:18 CET 2012
On Sat, 2012-02-18 at 10:54 +1300, Lobster wrote:
> 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.
>
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Thanks Lobster! That solved the problem!
Cheers
Marlon
More information about the MPlayer-users
mailing list