how to recognize video codec of a file with ffmpeg
Posted
by GerryMulligan
on Stack Overflow
See other posts from Stack Overflow
or by GerryMulligan
Published on 2010-05-19T20:48:37Z
Indexed on
2010/05/19
20:50 UTC
Read the original article
Hit count: 150
ffmpeg
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
© Stack Overflow or respective owner