Attention : il ne s'agit pas de ffmpeg mais de ffprobe, fourni à l'installation de ffmpeg. L'afichage peut se faire en mode décimal ou sexagecimal (hh:mm:ss;ms)

En mode décimal :

ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 1.mp4

En mode sexagecimal :

ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 -sexagesimal 1.mp4

 

Mon Github

slhuilli1's GitHub repositories