KenC
KenC

Reputation: 127

Video Format Analyzer

I have a video file I don't know what format it is.

Is there a software can analyze what kind of video container / compression format it uses?

I tried Gspot, but it doesn't work (Show "Unknown format")

I am sure the file is using some kind of public standard codec because I can use a media converter convert it to avi or mpg4 file.

Thanks in advance.

Here is the picture of Gspot, but it doesn't show anything: alt text http://img19.imageshack.us/img19/2675/gspota.png

When I press 1, it says DShow reports error.

Upvotes: 2

Views: 8074

Answers (4)

user195454
user195454

Reputation: 1

Try mediainfo. It is a great tool and gives you much more detailed information than ffmpeg or gspot.

Upvotes: 0

Shay Erlichmen
Shay Erlichmen

Reputation: 31928

You can use ffpmeg (Windows builds here) with the -i switch:

ffmpeg -i myfile.avi

FFmpeg version SVN-r19159-Sherpya, Copyright (c) 2000-2009 Fabrice Bellard, et al.
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.30. 2 / 52.30. 2
libavformat 52.34. 0 / 52.34. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 0. 5. 0 / 0. 5. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Jun 12 2009 04:25:02, gcc: 4.5.0 20090517 (experimental)
Input #0, avi, from 'myfile.avi':
Duration: 00:00:00.41, start: 0.000000, bitrate: 363 kb/s
Stream #0.0: Video: rawvideo, pal8, 60x49, 12 tbr, 12 tbn, 12 tbc
At least one output file must be specified

Upvotes: 2

unwind
unwind

Reputation: 400129

If you're reasonably close to a modern Linux system, try the file command. It's pretty well-educated:

~> file foo.mov
foo.mov: ISO Media, Apple QuickTime movie
~> mv foo.mov whatever
~> file whatever
whatever: ISO Media, Apple QuickTime movie

As you can see, it checks the contents of the file, it doesn't just test the filename. Not implying that the tool you tried was reliant on the filename, just trying to illustrate that it can be a powerful tool.

Upvotes: 1

Quamis
Quamis

Reputation: 11087

Try mplayer in console mode. It prints file info if it detects it. This question should be posted in superuser i guess...

Upvotes: 1

Related Questions