[LAU] Retrieving audio info from a video file

Emiliano Grilli emiliano.grilli at gmail.com
Tue Feb 9 05:38:49 EST 2010


Jonathan Gazeley <jonathan.gazeley at bristol.ac.uk> 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

-- 
Emiliano Grilli
Linux user #209089 
http://www.emillo.net


More information about the Linux-audio-user mailing list