[FFmpeg-user] Get the codec used

Stefano Sabatini stefasab at gmail.com
Thu May 24 13:19:35 CEST 2012

On date Thursday 2012-05-24 04:01:40 -0300, Rossana Guerra encoded:
> Hello, I'd like to get te codec being used by an avi file.
> I thought it was with the -i option, but it wasn't i used this option with
> twi .AVI that have different codec and I don't see the difference.

You can use ffprobe -show_streams for getting the codec name used in
the streams (along with more information), in a parser-friendly way
(check also the -print_format option).
ffmpeg-user random tip #17
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

More information about the ffmpeg-user mailing list