I have been in DevOps related jobs for past 6 years dealing mainly with Kubernetes in AWS and on-premise as well. I spent quite a lot …
:date_long | 1 min Read
Determine the length of mp4 file
for i in file1.mp4 file2.mp4 file3.mp4 ; do
t=$(ffmpeg -i $i 2>&1 | grep Duration | awk '{print $2}' | tr -d ,);
echo " $t: $i";
done