Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 professional 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 yesterday

1 Answer 1

up vote 4 down vote accepted

From the top of my head:

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.