The duration of the video file in linux

0 like 0 dislike
4 views
Friends, prompt please, what is optimal to obtain the length of the roller in ubuntu from the console.
ffmpeg to do this, pull not want to...
by | 4 views

5 Answers

0 like 0 dislike
mediainfo
by
0 like 0 dislike
for some time now, ffmpeg is a standalone program ffprobe specifically for this purpose.
by
0 like 0 dislike
# avinfo file.avi
by
0 like 0 dislike
ffmpeg -i file. Will give something like this:
\r
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Maria Holic — 01.mp4':
Metadata:
major_brand: isom
minor_version: 1
compatible_brands: isomavc1
Duration: 00:24:00.00, start: 0.000000, bitrate: 541 kb/s
Stream #0.0(und): Video: h264, yuv420p, 480x272 [PAR 1:1 DAR 30:17], 408 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 128 kb/s
by
0 like 0 dislike
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
29,061 users