Opened 5 years ago

Closed 5 years ago

Last modified 4 months ago

#3516 closed defect (fixed)

mjpeg: wrong colors (CMYK with subsampling)

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: mjpeg cmyk
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

attached file decodes with wrong colors

C:\>ffmpeg3 -i YCbCrK.jpg out.bmp
ffmpeg version 2.2.git-0f714ab Copyright (c) 2000-2014 the FFmpeg developers
  built on Mar 31 2014 22:26:54 with gcc 4.6.2 (GCC)
  configuration: --disable-ffprobe --disable-pthreads --enable-gpl
  libavutil      52. 70.100 / 52. 70.100
  libavcodec     55. 55.106 / 55. 55.106
  libavformat    55. 36.100 / 55. 36.100
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[mjpeg @ 01d76580] Warning: not compiled with thread support, using thread emula
tion
Input #0, image2, from 'YCbCrK.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuva420p(pc), 1024x768, 25 tbr, 25 tbn, 25 tbc
[bmp @ 01d78c00] Warning: not compiled with thread support, using thread emulati
on
[mjpeg @ 01d76580] Warning: not compiled with thread support, using thread emula
tion
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf55.36.100
    Stream #0:0: Video: bmp, bgra, 1024x768, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:3072kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 586396112781312.000000%

Attachments (1)

YCbCrK.jpg (321.4 KB) - added by ami_stuff 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by ami_stuff

comment:1 Changed 5 years ago by michael

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 5 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords mjpeg added
  • Version changed from unspecified to git-master

comment:3 Changed 4 months ago by cehoyos

  • Keywords cmyk added
Note: See TracTickets for help on using tickets.