Opened 8 years ago

Closed 8 years ago

#5819 closed defect (fixed)

Regression when decoding mjpeg

Reported by: Carl Eugen Hoyos Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: mjpeg regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http://ffmpeg.org/pipermail/ffmpeg-user/2016-September/033420.html
A user uploaded a jpg image that cannot be decoded with FFmpeg since 72eaf726236331e739952806a5fe47b40165ac76

$ ffmpeg -i 282394_16_18.jpg
ffmpeg version N-81520-ge4e4a9c Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.101 / 57. 54.101
  libavformat    57. 48.101 / 57. 48.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 59.100 /  6. 59.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[mjpeg @ 0x32edd20] Found EOI before any SOF, ignoring
[mjpeg @ 0x32edd20] No JPEG data found in image
[image2 @ 0x32ec280] decoding for stream 0 failed
[image2 @ 0x32ec280] Could not find codec parameters for stream 0 (Video: mjpeg, none(bt470bg/unknown/unknown)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, image2, from '282394_16_18.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 21096 kb/s
    Stream #0:0: Video: mjpeg, none(bt470bg/unknown/unknown), 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Attachments (1)

282394_16_18.jpg (103.0 KB ) - added by Carl Eugen Hoyos 8 years ago.

Download all attachments as: .zip

Change History (2)

by Carl Eugen Hoyos, 8 years ago

Attachment: 282394_16_18.jpg added

comment:1 by Carl Eugen Hoyos, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.