Opened 5 years ago

Closed 4 years ago

#2490 closed defect (fixed)

mjpeg-avi regression

Reported by: cehoyos Owned by:
Priority: important Component: avformat
Version: git-master Keywords: videolan avi regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

(videolan ticket 8413)
A vlc user uploaded a mjpeg-in-avi sample that is not decoded correctly by current FFmpeg, regression since cbfdfbe / d3f610c.

$ ffmpeg -i REC000.avi -qscale 2 out.avi
ffmpeg version N-52364-g4ac2da3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 22 2013 01:30:43 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 27.100 / 52. 27.100
  libavcodec     55.  5.100 / 55.  5.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 60.100 /  3. 60.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[avi @ 0x2988780] non-interleaved AVI
[mjpeg @ 0x2989180] only 8 bits/component accepted
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] overread 8
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, avi, from 'REC000.avi':
  Duration: 00:00:02.47, start: 0.000000, bitrate: 11477 kb/s
    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 640x480 [SAR 72:72 DAR 4:3], 30 tbr, 30 tbn, 30 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.3.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 30 tbn, 30 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 16000 Hz, mono, fltp, 96 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> mpeg4)
  Stream #0:1 -> #0:1 (pcm_s16le -> ac3)
Press [q] to stop, [?] for help
[mjpeg @ 0x2989180] only 8 bits/component accepted
Error while decoding stream #0:0: Operation not permitted
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] overread 8
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] mjpeg: unsupported coding type (cd)
[mjpeg @ 0x2989180] invalid id 254
Error while decoding stream #0:0: Operation not permitted
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] overread 8
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] overread 8
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] overread 8
    Last message repeated 1 times
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] overread 8
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] mjpeg: unsupported coding type (cd)
Error while decoding stream #0:0: Operation not permitted
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] overread 8
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] only 8 bits/component accepted
Error while decoding stream #0:0: Operation not permitted
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] overread 8
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
[mjpeg @ 0x2989180] overread 8
[mjpeg @ 0x2989180] Found EOI before any SOF, ignoring
Error while decoding stream #0:0: Operation not permitted
[mjpeg @ 0x2989180] mjpeg: unsupported coding type (c5)
[mjpeg @ 0x2989180] mjpeg: unsupported coding type (cb)
[mjpeg @ 0x2989180] mjpeg: unsupported coding type (ca)
frame=   23 fps=0.0 q=2.0 Lsize=     963kB time=00:00:01.72 bitrate=4565.8kbits/s
video:931kB audio:20kB subtitle:0 global headers:0kB muxing overhead 1.193021%

Change History (2)

comment:2 Changed 4 years ago by michael

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.