On Tue, Mar 09, 2021 at 10:41:41AM +0100, Nicolas George wrote: > Peter White (12021-03-09): > > If anybody on this list knows a better one, step up, please. > > ffprobe, of course.
Unless it happens to be one of those special cases that don't have that info in their metadata, like matroska: https://stackoverflow.com/a/28376817 Other than being a little ugly, my way seems to yield the correct result with any video. I like universal solutions, so I stuck with it, and recommended it. Peter _______________________________________________ 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".