Opened 7 years ago

Closed 7 years ago

#6055 closed defect (fixed)

Certain JPEG files are rendered with bad colors

Reported by: rr- Owned by:
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:

I stumbled upon a few files that are rendered with bad colors. It's kind of like they contained no luma channel and only chroma channel - everything is mostly gray and only some areas change their hue and saturation. The same files are rendered with "normal" colors in other viewers such as Mozilla Firefox.

ffmpeg version N-82927-gc6c888e996 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 6.2.1 (GCC) 20160830
configuration: 
libavutil      55. 43.100 / 55. 43.100
libavcodec     57. 70.100 / 57. 70.100
libavformat    57. 61.100 / 57. 61.100
libavdevice    57.  2.100 / 57.  2.100
libavfilter     6. 68.100 /  6. 68.100
libswscale      4.  3.101 /  4.  3.101
libswresample   2.  4.100 /  2.  4.100

Attachments (3)

1384285686430.jpg (18.8 KB ) - added by rr- 7 years ago.
1384206292439.jpg (177.7 KB ) - added by rr- 7 years ago.
1383926217187.jpg (107.3 KB ) - added by rr- 7 years ago.

Download all attachments as: .zip

Change History (5)

by rr-, 7 years ago

Attachment: 1384285686430.jpg added

by rr-, 7 years ago

Attachment: 1384206292439.jpg added

by rr-, 7 years ago

Attachment: 1383926217187.jpg added

comment:1 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavcodec
Keywords: mjpeg added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Patch sent.

comment:2 by Carl Eugen Hoyos, 7 years ago

Resolution: fixed
Status: openclosed

Fixed in 4acea512f36b96256535b45b1a7e723c61c89c31, thank you for the report!

Note: See TracTickets for help on using tickets.