On 19/01/2022 20:12, Shupert, Jim via ffmpeg-user wrote:
I have used mediainfo
mediainfo --Inform="Video;%Duration/String3%" $SrcDir/${f%.*}.* > $HOME/t.txt
trt=$(<$HOME/t.txt)
This is more accurate for bitrate as it doesn't read headers but does sample
reads of the file (some formats do not express bitrate in the headers). It
therefore takes a bit longer:
mediainfo --parsespeed=1 filename
_______________________________________________
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".