Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some video files contain multiple audio tracks. Multiple languages for example. Is there a command line tool which gets information about these audio tracks? Names of the audio tracks would be sufficient.

It should support common formats (mkv, avi,...).

share|improve this question

migrated from serverfault.com May 11 '11 at 15:12

This question came from our site for system and network administrators.

    
How could this be done using avconv in the libav-tools Ubuntu package? Can such a thing be done to identify if audio has surround sound encoded? – user29020 Sep 14 '14 at 16:14
up vote 4 down vote accepted

From the top of my head:

ffmpeg -i <file> 2>&1 | grep 'Audio:'
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .