[FFmpeg-trac] #3751(avfilter:reopened): Identity Hald CLUT Introduces Color Shift
FFmpeg
trac at avcodec.org
Sat Jul 5 19:09:18 CEST 2014
#3751: Identity Hald CLUT Introduces Color Shift
-------------------------------------+------------------------------------
Reporter: aguo | Owner:
Type: defect | Status: reopened
Priority: normal | Component: avfilter
Version: unspecified | Resolution:
Keywords: haldclut | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Changes (by JohnL):
* status: closed => reopened
* resolution: needs_more_info =>
Comment:
Regardless of the problems with the quelsolaar.com identity clut, a
generated identity HALD CLUT also exhibits the color shift. The following
examples shows it is actually swapping the red and blue color channels.
{{{
ffmpeg -y -v verbose -i rgb.png -filter_complex
haldclutsrc=8[clut],[0][clut]haldclut=shortest=1 output%d.png
}}}
{{{
ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 3 2014 06:51:16 with Apple LLVM version 5.1
(clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.3 --enable-shared
--enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
--enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang
--host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-
libmp3lame --enable-libxvid
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libavresample 1. 2. 0 / 1. 2. 0
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, image2, from 'rgb.png':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgba, 271x271 [SAR 2834:2834 DAR 1:1], 25
tbr, 25 tbn, 25 tbc
[Parsed_haldclutsrc_0 @ 0x7ff05040c0e0] size:0x0 rate:25/1
duration:-1.000000 sar:1/1
[graph 0 input from stream 0:0 @ 0x7ff05040bba0] w:271 h:271 pixfmt:rgba
tb:1/25 fr:25/1 sar:2834/2834 sws_param:flags=2
[Parsed_haldclut_1 @ 0x7ff05040c380] [framesync @ 0x106682040] Selected
1/25 time base
[Parsed_haldclut_1 @ 0x7ff05040c380] [framesync @ 0x106682040] Sync level
2
Output #0, image2, to 'output%d.png':
Metadata:
encoder : Lavf55.33.100
Stream #0:0: Video: png, rgba, 271x271 [SAR 2834:2834 DAR 1:1],
q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0:0 (png) -> haldclut:main
haldclut -> Stream #0:0 (png)
Press [q] to stop, [?] for help
[Parsed_haldclut_1 @ 0x7ff05040c380] [framesync @ 0x106682040] Sync level
1
[Parsed_haldclut_1 @ 0x7ff05040c380] [framesync @ 0x106682040] Sync level
0
No more output streams to write to, finishing.
frame= 1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:6kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead
-100.338982%
}}}
rgb.png:
[[Image(http://www.kirupa.com/images/rgb_image.png)]]
output1.png:
[[Image(http://i58.tinypic.com/rsal4k.png)]]
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3751#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list