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,...).

  • 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

From the top of my head:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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