-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robin Gareus wrote: > Jonathan Gazeley wrote: >> On 02/09/2010 10:38 AM, Emiliano Grilli wrote: >>> Jonathan Gazeley<jonathan.gazeley@xxxxxxxxxxxxx> writes: >>> >>> >>>> Hi all, >>>> >>>> This is slightly OT for the group, but I hope someone can tell me. >>>> >>>> I have thousands of large AVI files and I want a quick way to determine >>>> from the command line whether their audio is stereo, 5.1, etc. >>>> >>>> I've read about ffmpeg and haven't seen anything jumping out at me, and >>>> it's hard to pick the right search keywords to find relevant pages on >>>> Google. >>>> >>>> Anyone know a trick to get this info? Currently I can do it by >>>> right-clicking on the file and viewing its properties, but there *has* >>>> to be a better way... >>>> >>> maybe "mplayer -frame 0 -identify myfile.avi" ? >>> >>> >>> >>>> Cheers, >>>> Jonathan >>>> >>> HTH >>> Ciao >>> >>> >> Thanks for your advice. Unfortunately this seems to require a graphical >> machine, but I'm trying to run this on a headless fileserver that has >> all my media. > >> [jonathan@zeus ~]$ mplayer -frame 0 -identify movie.avi >> Creating config file: /home/jonathan/.mplayer/config >> Unknown option on the command line: -frame >> Error parsing option on the command line: -frame >> MPlayer SVN-r29701-4.4.1 (C) 2000-2009 MPlayer Team > >> Any other ideas? > > There's 'xjinfo' which comes with http://xjadeo.sf.net/ > > It's a small commandline-tool to extract information from any media file > which ffmpeg can read. For some example output see: > http://rg42.org/oss/xjadeo/xjinfo > ...and there's also "ffprobe" that comes with recent versions of ffmpeg. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktxXh4ACgkQeVUk8U+VK0IFhACeIx2oNNfoT4zU2bHVNea3zV7p BiQAoJFuSe7Erp3nCPZrL0GW+3t4C3xv =v7z6 -----END PGP SIGNATURE----- _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user