[FFmpeg-user] [EXTERNAL] Re: How to get video duration in a script using ffmpeg?

Shupert, Jim jim.shupert at hearst.com
Wed Jan 19 20:12:08 EET 2022


I have used mediainfo

mediainfo --Inform="Video;%Duration/String3%" $SrcDir/${f%.*}.*  > $HOME/t.txt
trt=$(<$HOME/t.txt)


More information about the ffmpeg-user mailing list