[FFmpeg-user] Get codec information of video file

Matthew Morgan lytithwyn at gmail.com
Tue Jan 31 00:02:32 CET 2012


On 01/30/2012 07:59 AM, Jalpesh Agja wrote:
>
>
>
> Hi, Is there any way to detect the CODEC of a video file or get the format of video file? We want to know whether the file is compatible with H.264 encoded or not. Thanks,Jalpesh 		 	   		
If your file is called mymovie.avi, running `ffmpeg -i mymovie.avi` will usually print out anything you want to know about an audo/video file.


More information about the ffmpeg-user mailing list