[FFmpeg-trac] #2541(avformat:open): Autodetect image file codecs

FFmpeg trac at avcodec.org
Fri May 9 19:04:50 CEST 2014


#2541: Autodetect image file codecs
--------------------------------------+------------------------------------
             Reporter:  cyril         |                    Owner:
                 Type:  enhancement   |                   Status:  open
             Priority:  wish          |                Component:  avformat
              Version:  git-master    |               Resolution:
             Keywords:  image2 mjpeg  |               Blocked By:
             Blocking:                |  Reproduced by developer:  1
Analyzed by developer:  0             |
--------------------------------------+------------------------------------

Comment (by Đonny):

 Ticket #3616 has been marked as duplicate to this one.
 I'm not sure if the nature of these two tickets is same. I realized that
 if I have file (see http://docs.voanews.eu/en-US-TEST-
 LTR/2014/05/06/f35d1270-fa55-4f82-aefc-e3db136aa395.avi). and run ffprobe
 on it (without any additional parameters)
 {{{
 ffprobe xxx.xxx
 }}}
 the results are different depending on extension of the file (at least on
 Windows)
 * When xxx.avi - the file is mistedtedted as avi
 {{{
 [avi @ 0000000002a44920] Format avi detected only with low score of 1,
 misdetection possible!
 MJPEG.avi: Invalid data found when processing input
 }}}
 * When xxx (w/o extension)
 {{{
 MJPEG.xxx: Invalid data found when processing input
 }}}
 * When xxx.mjpeg it works fine
 I guess it is caused by ffmpeg not being able to recognize that the file
 is MJPEG format.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/2541#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list