[Libav-user] Double frame rate after conversion

amir.rouhi at rmit.edu.au amir.rouhi at rmit.edu.au
Wed May 16 12:44:40 CEST 2012

Knowing that what is tbr exactly, can not solve the problem.  the frame
rate are same technically, when you compare the information by ffmpeg. The
fact is that the transformed video, after using vcodec libx264, is twice
faster as the original video. when i compare the information of bot video i
noticed tbr of the transformed video is twice as the original one.
can you help me to have a similar video after transformation?

On 16 May 2012 19:40, Alex Cohn <alexcohn at netvision.net.il> wrote:

> 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
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

Amir H. Rouhi
PhD Student/ CSIT RMIT University
Room: 14-09-04
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120516/89efddc5/attachment.html>

More information about the Libav-user mailing list