[FFmpeg-user] Is this a video file?

Tom Horsley horsley1953 at gmail.com
Fri Feb 28 14:36:21 CET 2014

On Fri, 28 Feb 2014 14:24:48 +0100
Reindl Harald wrote:

> for that the file command may be more suiteable

It might be, but there are apparently just as many different
things I'd need to recognize in the "file" command output
as there are types of video files to recognize :-). For

zooty> file ThePowerOfThree.mpg
ThePowerOfThree.mpg: MPEG sequence, v2, program multiplex

It doesn't even say the word "video" anywhere for mpg files :-(.

zooty> file time-ThePowerOfThree.avi 
time-ThePowerOfThree.avi: RIFF (little-endian) data, AVI, 320 x 180, ~30 fps, video: H.264 X.264 or H.264, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

More information about the ffmpeg-user mailing list