[FFmpeg-user] What is a good way to calculate the frame rate of a video file using ffmpeg?

Li codingpotatolinda at gmail.com
Sat Oct 5 19:51:01 CEST 2013


Oh, it does not work for one video file .mp4.
It should be 30 fps, but it returns 50 fmps.
But all Android Video players can play it correctly, which means the
correct information is in the file.


On Thu, Sep 26, 2013 at 4:55 PM, Li <codingpotatolinda at gmail.com> wrote:

> It works! Thanks.
> I missed this method.
>
>
> On Thu, Sep 26, 2013 at 8:24 AM, Carl Eugen Hoyos <cehoyos at ag.or.at>wrote:
>
>> Li <codingpotatolinda <at> gmail.com> writes:
>>
>> [...]
>>
>> Any reason you don't use av_guess_frame_rate() ?
>>
>> Carl Eugen
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>


More information about the ffmpeg-user mailing list