4 Jul
2025
4 Jul
'25
7:15 p.m.
How do I get the exact duration of a video file? Best would be of course if every frame is marked with its correct timestamp.
Why not use ffprobe? |ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 |./recordedVideo.webm webm containers also store the duration of the streams in the stream metadata so you can also just query the duration tag.