[Libav-user] Double frame rate after conversion

Alex Cohn alexcohn at netvision.net.il
Wed May 16 11:40:03 CEST 2012


On Wed, May 16, 2012 at 11:38 AM, <amir.rouhi at rmit.edu.au> wrote:

> Hi
> I convert a mpeg1 video mpeg4/ AVC by the below command but i dont know
> why the visual frame rate become double after conversion (fps in both are
> same but tbr will be twice as the original video)
>
> ffmpeg -i C:\Video\TrecVid-Video\2\1.mpg -r 25 -an -vcodec libx264
> -threads 0  -f h264 -r 25 -g 0 C:\Video\TrecVid-Video\2\11.264
>
> what is your advice?
>

It's fine for TBR to be higher than the nominal frame rate. See
libavformat/avformat.h for more explanation: TBR is the r_frame_rate field
of AVStream structure.

BR,

Alex Cohn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120516/5a569496/attachment.html>


More information about the Libav-user mailing list