Others have included it in their responses, but the quick way with ffmpeg is just: ffmpeg -i name.avi Since there's no output file, ffmpeg prints info about the audio and video streams and returns an error. If you prefer to do it as a batch, it might not be convenient, but I use it all the time. I also use ffmpeg to extract that audio, but that takes a bit more of a command. -Chuckk On Tue, Feb 9, 2010 at 12:08 PM, Jonathan Gazeley <jonathan.gazeley@xxxxxxxxxxxxx> wrote: > 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... > > Cheers, > Jonathan > > ---------------------------- > Jonathan Gazeley > Systems Support Specialist > ResNet | Wireless& VPN Team > Information Services > University of Bristol > ---------------------------- > > _______________________________________________ > Linux-audio-user mailing list > Linux-audio-user@xxxxxxxxxxxxxxxxxxxx > http://lists.linuxaudio.org/listinfo/linux-audio-user > -- http://www.badmuthahubbard.com _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user