#6259 closed defect (invalid)
mjpeg: Weird colorspace
| Reported by: | rr- | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | unspecified | Keywords: | mjpeg |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug:
The JPEG file is rendered, but has weird colors (only chroma and no luma), and has weird aspect ratio.
Firefox seems to decode the image correctly.
How to reproduce:
% ffmpeg 1383926217187.jpg
ffplay version 3.2.4 Copyright (c) 2003-2017 the FFmpeg developers
built with gcc 6.3.1 (GCC) 20170109
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. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
[mjpeg @ 0x7f21540023a0] mjpeg: error, decode_app parser read over the end
Input #0, image2, from '/home/rr-/clutter/bad images/bad-colorspace/1383926217187.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 21983 kb/s
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 106:255 DAR 1696:2295], 25 tbr, 25 tbn, 25 tbc
[mjpeg @ 0x7f2154002a20] mjpeg: error, decode_app parser read over the end
[swscaler @ 0x7f214817ec60] deprecated pixel format used, make sure you did set range correctly
Attachments (2)
Change History (7)
by , 9 years ago
| Attachment: | 1383926217187.jpg added |
|---|
comment:1 by , 9 years ago
| Summary: | Weird colorspace → mjpeg: Weird colorspace |
|---|
comment:2 by , 9 years ago
by , 9 years ago
| Attachment: | comparison.png added |
|---|
Top is produced by ffmpeg 3.2.4, bottom is produced by git master
comment:4 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:5 by , 9 years ago
| Resolution: | fixed → invalid |
|---|
This sample was already part of ticket #6055.
Note:
See TracTickets
for help on using tickets.



I can reproduce this in 3.2.4 but not git master. I think this bug has been fixed - try again from git master?