ffmpeg - ffprobe reports different format depending on file extension -
i using ffprobe on windows identify files. command/parameters use are:
ffprobe -show_entries format=format_name -v quiet filename
i noticed image files ffprobe reports different format if file name has (or not have) , extension. example, bmp image file named xxx
ffprobe -show_entries format=format_name -v quiet xxx
reports
[format] format_name=mp3 [/format]
but, if rename file xxx.bmp , rerun command
ffprobe -show_entries format=format_name -v quiet xxx.bmp
reports
[format] format_name=image2 [/format]
is behavior expected? has else encountered issue? using recent version of ffmpeg.
Comments
Post a Comment