[FFmpeg-user] Unknown type video file

Moritz Barsnick barsnick at gmx.net
Thu Oct 22 16:36:48 CEST 2015


On Wed, Oct 21, 2015 at 20:36:21 +0200, Reindl Harald wrote:
> [harry at srv-rhsoft:/downloads]$ ffmpeg -i test

Or explicitly:

$ ffprobe -hide_banner -show_format -show_streams inputfile | grep -E "(format|codec)_(|long_)name"

At the end of the output (which has the details formatted as Harald's
approach presented them), you would get a summary like this:

codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime / MOV

Moritz


More information about the ffmpeg-user mailing list