On Sat, 11 Jul 2009, Chema top-posted:-
You can get video info from avi file by
$ mplayer -identify <video file> -ao null -vo null -frames 0 2>/dev/null | grep VIDEO
Or you could use FFmpeg: ffmpeg -i <video file> which will give you lots of details about all the formats it supports. Or, if it's just for an AVI, you could use "file" instead: davjam@donnas:~> file /videos/tmp/fennel*.avi /videos/tmp/fennel-01.avi: RIFF (little-endian) data, AVI, 640 x 480, 25.00 fps, video: DivX 5, audio: MPEG-1 Layer 3 (stereo, 22050 Hz) /videos/tmp/fennel-02.avi: RIFF (little-endian) data, AVI, 640 x 480, 25.00 fps, video: DivX 5, audio: MPEG-1 Layer 3 (stereo, 22050 Hz) /videos/tmp/fennel-03.avi: RIFF (little-endian) data, AVI, 640 x 480, 25.00 fps, video: DivX 5, audio: MPEG-1 Layer 3 (stereo, 22050 Hz) /videos/tmp/fennel-04.avi: RIFF (little-endian) data, AVI, 640 x 480, 25.00 fps, video: DivX 5, audio: MPEG-1 Layer 3 (stereo, 22050 Hz) Regards, David Bolt -- Team Acorn: http://www.distributed.net/ OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s openSUSE 10.3 32b | openSUSE 11.0 32b | | openSUSE 10.3 64b | openSUSE 11.0 64b | openSUSE 11.1 64b | RISC OS 3.6 | RISC OS 3.11 | openSUSE 11.1 PPC | TOS 4.02 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org