
On Fri, Oct 19, 2012 at 11:32:13PM +1100, Russell Coker wrote:
Is there any good way to get the resolution of a video file?
i've used mediainfo in the past. Package: mediainfo Version: 0.7.60-1 Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libmediainfo0 (>= 0.7.52), libstdc++6 (>= 4.4.0), libzen0 (>= 0.4.23) Description-en: command-line utility for reading information from audio/video files MediaInfo is a utility used for retrieving technical information and other metadata about audio or video files. . A non-exhaustive list of the information MediaInfo can retrieve from media files include: - General: title, author, director, album, track number, date, duration... - Video: codec, aspect, fps, bitrate... - Audio: codec, sample rate, channels, language, bitrate... - Text: language of subtitle - Chapters: number of chapters, list of chapters . MediaInfo supports the following formats: - Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2, MPEG-4, DVD (VOB)... - Video Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...) - Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF... - Subtitles: SRT, SSA, ASS, SAMI... MediaInfo supplies technical and tag information about a video or audio file . This package includes the command line interface. Homepage: http://mediainfo.sourceforge.net craig -- craig sanders <cas@taz.net.au> BOFH excuse #71: The file system is full of it