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

Reindl Harald h.reindl at thelounge.net
Thu Jan 20 03:04:23 EET 2022



Am 19.01.22 um 19:17 schrieb Bo Berglund:
> On Wed, 19 Jan 2022 18:12:08 +0000, "Shupert, Jim via ffmpeg-user"
> <ffmpeg-user at ffmpeg.org> wrote:
> 
>>
>> I have used mediainfo
>>
>> mediainfo --Inform="Video;%Duration/String3%" $SrcDir/${f%.*}.*  > $HOME/t.txt
>> trt=$(<$HOME/t.txt)
> 
> mediainfo is not existing on my Ubuntu Server 20.04.3...

wipe up your ass and install it - nobody will do it for you and the 
distribution will hardly install everything you ever may need by default 
- luckily you guys don't need to hunt your food these days


More information about the ffmpeg-user mailing list