[FFmpeg-user] ISSUE ABOUT RETRIEVING FRAMERATE WITH FFPROBE

Hervé ANSELME hervea95 at hotmail.com
Fri Mar 8 14:45:29 EET 2024


Hello all,


I have an issue about retrieving the framerate from a video.


For one of my videos, when I look at infos displayed by VLC Media Player :


[cid:61644d77-dbc7-48ed-9826-98476a1f96ae]


and when I execute the following command :


ffprobe -v error -select_streams v:0 -show_entries stream=width,height,avg_frame_rate -of default=noprint_wrappers=1 "D:\temp\my movie.mkv"


it gives the following result :


[cid:586730b9-d2f7-4a33-bc71-39bf41043a29]


which shows that «  avg_frame_rate » argument, returns a wrong value : 24/1 = the integer value 24 ; which is different from the (effective) decimal value 24.000384.


I’ve searched (by google) in parameters ; so far I haven’t found yet which parameter (if it exists) can retrieve the exact decimal value ; and not an integer-rounded value, for the framerate.


Do anybody have any idea to do so ? Either with the appropriate ffprobe parameters (if it exists) ; or with another software.


Thanks for your advices.


Regards,

HA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 38186 bytes
Desc: image.png
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20240308/1f7e9c5b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 8332 bytes
Desc: image.png
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20240308/1f7e9c5b/attachment-0001.png>


More information about the ffmpeg-user mailing list