[FFmpeg-user] Color Shift -- dpx to prores

Hardik Kanakia hardik.kanakia at gmail.com
Tue Jun 9 14:08:21 CEST 2015


Hello All,

Tried using the below command, still the issue of color jump persists from
dpx (RGB) to prores422 (YUV)

/usr/local/sbin/ffmpeg263/ffmpeg -r 24.000000  -i "hahk_c300_400.%06d.dpx"
-s 1920x1080 -r 24.000000  -vcodec prores -profile:v 3  -vf
"scale=in_range=full:in_color_matrix=bt709:out_range=full:out_color_matrix=bt601"
test_in709_out601_qscale.mov
ffmpeg version 2.6.3 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
  configuration:
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
Input #0, image2, from 'hahk_c300_400.%06d.dpx':
  Duration: 00:00:04.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: dpx, gbrp10le, 1920x1080 [SAR 1:1 DAR 16:9], 25
tbr, 25 tbn, 25 tbc
File 'test_in709_out601_qscale.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'test_in709_out601_qscale.mov':
  Metadata:
    encoder         : Lavf56.25.101
    Stream #0:0: Video: prores (apch) (apch / 0x68637061), yuv422p10le,
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 24 fps, 12288 tbn, 24 tbc
    Metadata:
      encoder         : Lavc56.26.100 prores
Stream mapping:
  Stream #0:0 -> #0:0 (dpx (native) -> prores (native))
Press [q] to stop, [?] for help
frame=  100 fps=3.2 q=0.0 Lsize=  104354kB time=00:00:04.16
bitrate=205168.2kbits/s
video:104352kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.001424%



Regards,

Hardik Kanakia

On Mon, Jun 8, 2015 at 10:23 PM, Kevin Wheatley <kevin.j.wheatley at gmail.com>
wrote:

> You may want to also try -vf scale=out_color_matrix=bt709 instead of
> the colormatrix as that might give you better quality as ProRes is 10
> bit, in addition to the options Carl suggested to write the color
> atom.
>
> Kevin
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list