how to recognize video codec of a file with ffmpeg
- by GerryMulligan
I have often problems reading AVI file with my TV dvd player if they are not divx or xvid (DX50,i.e., is not readable).
I'd like to make a fast script to recognize the video codec of these files before burn it on cdrom/dvd.
The command :
ffmpeg -i file.avi
give the "container" of the video stream (mpeg4,mpeg2,etc), not the codec.
Any hint?
Thanks