[FFmpeg-trac] #3616(avformat:closed): Mjpeg autodetection

FFmpeg trac at avcodec.org
Fri May 9 18:58:01 CEST 2014

#3616: Mjpeg autodetection
             Reporter:  Đonny        |                    Owner:
                 Type:  enhancement  |                   Status:  closed
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:  duplicate
             Keywords:  mjpeg        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by Đonny):

 Replying to [comment:2 cehoyos]:
 > This sounds as if the problem is not reproducible with:
 > {{{
 > $ ffmpeg -f lavfi -i testsrc -t 10 -f mjpeg out.avi
 > }}}

 The problem is not reproducible this way because you provide -f. But I
 cannot provide -f in my situation because I have no idea what the format
 of the input file is. I just have file with random extension but it can be
 anything from mp4 to ogv.

 If I run my commands with -f e.g.
 ffprobe -f mjpeg d:\temp\MJPEG.avi
 ffprobe -f mjpeg d:\temp\MJPEG
 (note: MJPEG.avi and MJPEG are the same files, just renamed, and they are
 actually MJPEG)
 everything works perfectly.
 The thing I'm complaining here about is that ffprobe/ffplay/ffmpeg does
 not detect MJPEG format correctly when file is without extension (or with
 random extension) and misdetects format as AVI when the extension is .avi.

 Regarding ticket #2541 - I'm not sure if this is duplicate. I don't
 understand completely what #2541 is about.

Ticket URL: <https://trac.ffmpeg.org/ticket/3616#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list