[FFmpeg-user] Unknown type video file

Moritz Barsnick barsnick at gmx.net
Thu Oct 22 21:30:37 CEST 2015


On Thu, Oct 22, 2015 at 10:37:59 -0800, Lou wrote:
> > $ ffprobe -hide_banner -show_format -show_streams inputfile | grep -E "(format|codec)_(|long_)name"
> 
> No need for grep:
> ffprobe -v error -show_entries stream=codec_name,codec_long_name:format=format_name,format_long_name input

Touché. I was too lazy to look up the full syntax. It is very useful,
admittedly.

But ffmpeg doesn't take regular expressions! ;-) Patch welcome, I know.
;-) (Not really useful either.)

Moritz


More information about the ffmpeg-user mailing list