Opened 11 years ago

Last modified 6 years ago

#3527 open enhancement

jpegls: support cmyk

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

Description

C:\>ffmpeg -i cmyk.jls out.bmp
ffmpeg version N-61570-gaa86ccc Copyright (c) 2000-2014 the FFmpeg developers
  built on Mar 17 2014 22:01:34 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
-zlib
  libavutil      52. 67.100 / 52. 67.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 34.101 / 55. 34.101
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from 'cmyk.jls':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: jpegls, rgb24, 1024x768, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf55.34.101
    Stream #0:0: Video: bmp, bgr24, 1024x768, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (jpegls -> 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:2304kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead -100
.000931%

Attachments (1)

cmyk.jls (1.4 MB ) - added by ami_stuff 11 years ago.

Download all attachments as: .zip

Change History (5)

by ami_stuff, 11 years ago

Attachment: cmyk.jls added

comment:1 by Carl Eugen Hoyos, 11 years ago

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

comment:2 by ami_stuff, 9 years ago

here are some more cmyk and some "weird" samples (imagemagick seems to support decoding of them):

http://www.datafilehost.com/d/d929c0c2

Version 0, edited 9 years ago by ami_stuff (next)

comment:3 by Carl Eugen Hoyos, 9 years ago

Priority: normalwish
Type: defectenhancement
$ ffmpeg -i cmyk.jls
ffmpeg version N-73250-gf6ab967 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 45.101 / 56. 45.101
  libavformat    56. 39.100 / 56. 39.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 19.100 /  5. 19.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
[jpegls @ 0x37b32c0] Unsupported number of components 4
Input #0, jpegls_pipe, from 'cmyk.jls':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: jpegls, abgr(bt470bg/unknown/unknown), 1024x768, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

comment:4 by Carl Eugen Hoyos, 6 years ago

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