[FFmpeg-user] RETRIEVE FRAME RATE WITH DECIMAL VALUE
Hervé ANSELME
hervea95 at hotmail.com
Thu Nov 7 22:16:40 EET 2024
Hi,
using ffprobe release 6.1, I can retrieve the frame rate of a film with the following command :
ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1 "the video.mkv"
which for example, retrieves the frame rate value in fractional form :
24000/1001
I wonder if there is a way to retrieve the value, in decimal form, rather than fractional form ; for example :
23,976215
If anybody knows a solution, I'd appreciate.
Thanks in advance for your answers and advices.
Regards,
HA
[https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Sans virus.www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
More information about the ffmpeg-user
mailing list