[FFmpeg-user] TIFF Color shift

Anshul anshul.ffmpeg at gmail.com
Wed May 7 06:10:42 CEST 2014


Elliott Balsley <elliottbalsley at gmail.com> wrote:
>Converting ProRes 422 to TIFF with the following command produces
>images with a color shift.  Any idea why?
>
>$ ffmpeg -i Resolve\ no\ lut\ PR00395117.mov -t 00:00:00.001 nolut.tiff
>ffmpeg version N-62963-g656fe7e Copyright (c) 2000-2014 the FFmpeg
>developers
>  built on May  4 2014 13:19:11 with Apple LLVM version 5.1
>(clang-503.0.40) (based on LLVM 3.4svn)
>  configuration: --enable-gpl --enable-version3 --enable-nonfree
>--enable-libass --enable-libbluray --enable-libfdk-aac
>--enable-libmp3lame --enable-libvpx --enable-libx264
>--enable-libfreetype --enable-libopenjpeg --enable-libvorbis
>--enable-libtheora
>  libavutil      52. 81.100 / 52. 81.100
>  libavcodec     55. 60.103 / 55. 60.103
>  libavformat    55. 37.102 / 55. 37.102
>  libavdevice    55. 13.101 / 55. 13.101
>  libavfilter     4.  5.100 /  4.  5.100
>  libswscale      2.  6.100 /  2.  6.100
>  libswresample   0. 18.100 /  0. 18.100
>  libpostproc    52.  3.100 / 52.  3.100
>Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Resolve no lut
>PR00395117.mov':
>  Metadata:
>    creation_time   : 2014-05-06 19:40:45
>  Duration: 00:00:10.18, start: 0.000000, bitrate: 128071 kb/s
>    Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le,
>2048x1152, 128064 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k
>tbn, 24k tbc (default)
>    Metadata:
>      creation_time   : 2014-05-06 19:40:45
>      handler_name    : Apple Alias Data Handler
>      encoder         : Apple ProRes 422
>      timecode        : 04:34:23:05
>    Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
>    Metadata:
>      creation_time   : 2014-05-06 19:40:49
>      handler_name    : Apple Alias Data Handler
>      timecode        : 04:34:23:05
>File 'nolut.tiff' already exists. Overwrite ? [y/N] y
>Output #0, image2, to 'nolut.tiff':
>  Metadata:
>    encoder         : Lavf55.37.102
>    Stream #0:0(eng): Video: tiff, rgb48le, 2048x1152 [SAR 1:1 DAR
>16:9], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc (default)
>    Metadata:
>      creation_time   : 2014-05-06 19:40:45
>      handler_name    : Apple Alias Data Handler
>      encoder         : Apple ProRes 422
>      timecode        : 04:34:23:05
>Stream mapping:
>  Stream #0:0 -> #0:0 (prores -> tiff)
>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:13726kB audio:0kB subtitle:0kB other streams:0kB global
>headers:0kB muxing overhead: 131245493190656.000000%
>macpro-mavericks:ffmpeg LUT test elliott$ ffmpeg -i Resolve\ no\ lut\
>PR00395117.mov -t 00:00:00.001 nolut.tiff
>ffmpeg version N-62963-g656fe7e Copyright (c) 2000-2014 the FFmpeg
>developers
>  built on May  4 2014 13:19:11 with Apple LLVM version 5.1
>(clang-503.0.40) (based on LLVM 3.4svn)
>  configuration: --enable-gpl --enable-version3 --enable-nonfree
>--enable-libass --enable-libbluray --enable-libfdk-aac
>--enable-libmp3lame --enable-libvpx --enable-libx264
>--enable-libfreetype --enable-libopenjpeg --enable-libvorbis
>--enable-libtheora
>  libavutil      52. 81.100 / 52. 81.100
>  libavcodec     55. 60.103 / 55. 60.103
>  libavformat    55. 37.102 / 55. 37.102
>  libavdevice    55. 13.101 / 55. 13.101
>  libavfilter     4.  5.100 /  4.  5.100
>  libswscale      2.  6.100 /  2.  6.100
>  libswresample   0. 18.100 /  0. 18.100
>  libpostproc    52.  3.100 / 52.  3.100
>Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Resolve no lut
>PR00395117.mov':
>  Metadata:
>    creation_time   : 2014-05-06 19:41:35
>  Duration: 00:00:10.18, start: 0.000000, bitrate: 126648 kb/s
>    Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le,
>2048x1152, 126642 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k
>tbn, 24k tbc (default)
>    Metadata:
>      creation_time   : 2014-05-06 19:41:35
>      handler_name    : Apple Alias Data Handler
>      encoder         : Apple ProRes 422
>      timecode        : 04:34:23:05
>    Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
>    Metadata:
>      creation_time   : 2014-05-06 19:41:39
>      handler_name    : Apple Alias Data Handler
>      timecode        : 04:34:23:05
>File 'nolut.tiff' already exists. Overwrite ? [y/N] y
>Output #0, image2, to 'nolut.tiff':
>  Metadata:
>    encoder         : Lavf55.37.102
>    Stream #0:0(eng): Video: tiff, rgb48le, 2048x1152 [SAR 1:1 DAR
>16:9], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc (default)
>    Metadata:
>      creation_time   : 2014-05-06 19:41:35
>      handler_name    : Apple Alias Data Handler
>      encoder         : Apple ProRes 422
>      timecode        : 04:34:23:05
>Stream mapping:
>  Stream #0:0 -> #0:0 (prores -> tiff)
>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:13942kB audio:0kB subtitle:0kB other streams:0kB global
>headers:0kB muxing overhead: 129206642016256.000000%
>_______________________________________________
>ffmpeg-user mailing list
>ffmpeg-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-user


It might be the weight problem while converting yuv422p10le  to rgb48le.

Can you dump frame of avi in yuv422p10le format and then convert it to rgb48le. It will narrow down ur problem.
Are there some major difference between both image color, or are they just noticable.

-Anshul

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the ffmpeg-user mailing list