Opened 15 years ago
Closed 13 years ago
#893 closed defect (fixed)
jpegls: support color transforms
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | git-master | Keywords: | jpegls |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
Color Transform 1: R-=G, B-=G
Color Transform 2: B-=(R+G)/2
Color Transform 3: JPEG 2K lossless
Color Transform 4: YCbCr (not supported by IrfanView)
Created with Photoshop + lsjpeg plug-in, decodes correctly with IrfanView
There is also "Color Transform 5: YCbCr 211", but I'm unable to create the file (error message).
C:\>ffmpeg -i color_transform_1.jls
ffmpeg version N-36492-g7f83db3, Copyright (c) 2000-2012 the FFmpeg developers
built on Jan 5 2012 01:57:12 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 34.100 / 51. 34.100
libavcodec 53. 53.100 / 53. 53.100
libavformat 53. 29.100 / 53. 29.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 57.101 / 2. 57.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 5.100 / 0. 5.100
libpostproc 51. 2.100 / 51. 2.100
Input #0, image2, from 'color_transform_1.jls':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: jpegls, rgb24, 1023x767, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
Attachments (4)
Change History (8)
by , 15 years ago
| Attachment: | color_transform_1.jls added |
|---|
by , 15 years ago
| Attachment: | color_transform_2.jls added |
|---|
by , 15 years ago
| Attachment: | color_transform_3.jls added |
|---|
by , 15 years ago
| Attachment: | color_transform_4.jls added |
|---|
comment:1 by , 15 years ago
| Component: | undetermined → avcodec |
|---|---|
| Keywords: | jpegls added |
| Reproduced by developer: | set |
| Status: | new → open |
| Version: | unspecified → git-master |
comment:2 by , 14 years ago
comment:4 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | open → closed |
Sample 4 fixed by Michael in 8aea97a.
Note:
See TracTickets
for help on using tickets.



this may be useful:
http://charls.codeplex.com/releases/view/55406
enum JPEGLS_ColorXForm { // default (RGB) COLORXFORM_NONE = 0, // Color transforms as defined by HP COLORXFORM_HP1, COLORXFORM_HP2, COLORXFORM_HP3, // Defined by HP but not supported by CharLS COLORXFORM_RGB_AS_YUV_LOSSY, COLORXFORM_MATRIX };