Opened 15 months ago

Last modified 4 weeks ago

#8054 open enhancement

prores_ks codec does not allow 12bit pix_fmt

Reported by: shaocaholica Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: prores
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug: Apple prores4444XQ which is supported by prores_ks allows for 12bit RGB/YUV channels but when a 12bit pix_fmt is used a warning is given:

Incompatible pixel format 'yuv444p12le' for codec 'prores_ks', auto-selecting format 'yuv444p10le'

How to reproduce:

% ffmpeg -f image2 -r 24.0 -i sample_16bit.%4d.tif -c:v prores_ks -profile:v 5 -pix_fmt yuv444p12le -vf colormatrix=bt601:bt709

ffmpeg version 4.1-static
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516

Attachments (1)

sample_16bit.tif (1.2 MB) - added by shaocaholica 15 months ago.
sample 16bit tif

Download all attachments as: .zip

Change History (3)

Changed 15 months ago by shaocaholica

sample 16bit tif

comment:1 Changed 15 months ago by cehoyos

  • Component changed from ffmpeg to avcodec
  • Keywords prores added; prores_ks removed
  • Priority changed from normal to wish
  • Status changed from new to open
  • Type changed from defect to enhancement
  • Version changed from 4.1 to git-master

comment:2 Changed 4 weeks ago by shijan

+1 for this. ProRes? 4444 and ProRes? 4444XQ should render to 12 bit.
If it helps here are 10 and 12 bit ProRes? Test Patterns and ramps generated in DaVinci? Resolve if it helps somehow to see difference:

Apply min/max input in Levels and easy see the difference in 10 vs 12 bit gradient like this:

Note: See TracTickets for help on using tickets.