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.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".