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

FFmpeg trac at avcodec.org
Mon May 12 13:39:57 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:6 cehoyos]:
 Sorry, I originally didn't understand what was your command good for. Now
 I got it.
 I can reproduce the error by running
 {{{
 ffmpeg -f lavfi -i testsrc -t 10 -f mjpeg d:\temp\xxxyyy.avi
 }}}
 and then running
 {{{
 ffplay d:\Temp\xxxyyy.avi
 }}}
 or
 {{{
 ffprobe d:\Temp\xxxyyy.avi
 }}}

 both give me error, though a little bit different then on my file
 {{{
 D:\Users\zarubaj>ffplay d:\Temp\xxxyyy.avi
 ffplay version N-62283-ged96241 Copyright (c) 2003-2014 the FFmpeg
 developers
   built on Apr  8 2014 22:09:06 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libcaca --enable-libfreetype --enable
 -libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
 libsoxr --enable-libspeex --enable-libtheo
 ra --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-
 libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
 --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
 --enable-zlib
   libavutil      52. 75.100 / 52. 75.100
   libavcodec     55. 58.103 / 55. 58.103
   libavformat    55. 36.102 / 55. 36.102
   libavdevice    55. 11.100 / 55. 11.100
   libavfilter     4.  3.100 /  4.  3.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 d:\Temp\xxxyyy.avi: Invalid data found when processing inputf=0/0
     nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

 D:\Users\zarubaj>ffprobe d:\Temp\xxxyyy.avi
 ffprobe version N-62283-ged96241 Copyright (c) 2007-2014 the FFmpeg
 developers
   built on Apr  8 2014 22:09:06 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libcaca --enable-libfreetype --enable
 -libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
 libsoxr --enable-libspeex --enable-libtheo
 ra --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-
 libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
 --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
 --enable-zlib
   libavutil      52. 75.100 / 52. 75.100
   libavcodec     55. 58.103 / 55. 58.103
   libavformat    55. 36.102 / 55. 36.102
   libavdevice    55. 11.100 / 55. 11.100
   libavfilter     4.  3.100 /  4.  3.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 d:\Temp\xxxyyy.avi: Invalid data found when processing input
 }}}
 If I rename xxxyyy.avi to xxxyyy.mjpeg both - ffprobe and ffplay work

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


More information about the FFmpeg-trac mailing list