Opened 10 years ago
Closed 10 years ago
#5805 closed defect (fixed)
Erroreous rendering of certain JPEG files
| Reported by: | rr- | Owned by: | Carl Eugen Hoyos |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | git-master | Keywords: | mjpeg |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
Summary of the bug:
FFmpeg doesn't draw the image correctly, whereas Firefox displays the image as expected.
How to reproduce:
ffplay 20242.jpg
ffplay version 3.1.3 Copyright (c) 2003-2016 the FFmpeg developers
built with gcc 6.1.1 (GCC) 20160802
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[mjpeg @ 0x7ff1f0002440] mjpeg: error, decode_app parser read over the end
Input #0, image2, from '20242.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 21662 kb/s
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 807x538 [SAR 72:72 DAR 3:2], 25 tbr, 25 tbn, 25 tbc
[mjpeg @ 0x7ff1f0002ac0] mjpeg: error, decode_app parser read over the end
[swscaler @ 0x7ff1e80caf20] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7ff1e80e2c80] deprecated pixel format used, make sure you did set range correctly
0.61 M-V: -0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
Attachments (1)
Change History (5)
by , 10 years ago
comment:2 by , 10 years ago
Out of 42963 images downloaded from the Internet, 24 of them exhibit the problem, making up for ~0.06% of test population. Please let me know if more attachments are needed. All of them are correctly decoded by both Firefox and ImageMagick.
comment:3 by , 10 years ago
| Component: | avformat → avcodec |
|---|---|
| Keywords: | mjpeg added |
| Owner: | set to |
| Priority: | important → normal |
| Reproduced by developer: | set |
| Status: | new → open |
| Version: | unspecified → git-master |
Please do not attach output files unless asked to do so, they often lead to confusion.
comment:4 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | open → closed |
Fixed in e82b181f8096d20a163b054b8117838437d6b694
Thank you for the sample!
Note:
See TracTickets
for help on using tickets.



Input file