[FFmpeg-user] prores4444 to dpx: colourshift & translation

ArnoB ffmpeg at rgbaz.eu
Wed Feb 20 20:59:51 CET 2013


Hello!

I'm trying to convert a prores4444 quicktime with gamma 2.2 to
a dpx sequence with the following command:

% ffmpeg -i prores4444g2.2_v01.mov prores.%02d.dpx

In the resulting DPX sequence I have the following errors:
-the DPXs are tagged as being sRGB. manually switching my program's
reader to 2.2 makes them look ok;

-there is a colourshift of around 120°. My prores file contains a colourwheel
so it's easy to spot. green becomes blue, red becomes green and blue
becomes red;

-also there's a translation in the X axis of +277 pixels. the missing part
is wrapped around and visible on the other side:

prores:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prores4444g2.2_v01.jpg
Type: image/jpg
Size: 4809 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130220/caead23f/attachment.jpg>
-------------- next part --------------

dpx:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpx_v01.jpg
Type: image/jpg
Size: 4892 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130220/caead23f/attachment-0001.jpg>
-------------- next part --------------



full terminal output:

% ffmpeg -i prores4444g2.2_v01.mov prores.%02d.dpx
ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 20 2013 18:53:55 with gcc 4.2.1 (GCC) (Apple Inc. build 5666) (dot 3)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-runtime-cpudetect --enable-gray --enable-avresample --enable-x11grab --enable-vda --enable-vdpau --enable-bzlib --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openssl --enable-zlib
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'prores4444g2.2_v01.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2013-02-18 22:21:14
  Duration: 00:00:00.40, start: 0.000000, bitrate: 121378 kb/s
    Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuv444p10le, 1920x1080, 121360 kb/s, SAR 1000:1000 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 2013-02-18 22:21:14
      handler_name    : Apple Alias Data Handler
Output #0, image2, to 'prores.%02d.dpx':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    encoder         : Lavf54.59.106
    Stream #0:0(eng): Video: dpx, rgb48be, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Metadata:
      creation_time   : 2013-02-18 22:21:14
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (prores -> dpx)
Press [q] to stop, [?] for help
frame=   10 fps=2.5 q=0.0 Lsize=N/A time=00:00:00.40 bitrate=N/A    
video:121516kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000018%

Is this a known problem or am I missing some parts in the manual?

thanks in advance,

Arno


More information about the ffmpeg-user mailing list