
19 Oct
2012
19 Oct
'12
12:39 p.m.
On 19/10/2012, at 23:32, Russell Coker <russell@coker.com.au> wrote:
Is there any good way to get the resolution of a video file? For jpegs ImageMagick has the "identify" command which works really well, I'd like to have something similar for movies, particularly flv files. Currently I use the below shell script which is ugly but works, unfortunately it flashes up an X window and probably doesn't work if you aren't using X.
I use this script that comes in the Mplayer source: http://dl.dropbox.com/u/2643992/midentify.sh It pulls out most all of the media metadata and displays it in a way re-usable for shell input. It also doesn't actually play the media, so no pop-ups for 1 frame. hannah