[FFmpeg-user] ProRes XQ 12-bit support

Elliott Balsley elliottbalsley at gmail.com
Tue Apr 17 22:13:19 EEST 2018


According to the white paper, ProRes files can contain 12-bit RGB video with an optional 16-bit alpha channel.  Is there some way to tell whether this alpha channel exists?  I believe this video clip is 12-bit RGB with a 16-bit alpha channel, but I am trying to verify that.
Ffprobe calls it yuv444p10le.  DaVinci Resolve identifies it as 16-bit, probably because it sees the alpha channel and only reports the highest bit depth of any channel.

Also — does ffmpeg support 12-bit RGB?  I do not see it listed in “ffmpeg -pix_fmts”.


ffprobe -show_streams B002_C037_06288E_prores444XQ_full12.mov
ffprobe version N-90742-g0b3c1854cb Copyright (c) 2007-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 15.100 / 56. 15.100
  libavcodec     58. 19.100 / 58. 19.100
  libavformat    58. 13.100 / 58. 13.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 17.100 /  7. 17.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'B002_C037_06288E_prores444XQ_full12.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2018-04-17T19:58:27.000000Z
  Duration: 00:00:01.33, start: 0.000000, bitrate: 1551673 kb/s
    Stream #0:0(eng): Video: prores (ap4x / 0x78347061), yuv444p10le(bt709, progressive), 3840x2160, 1551663 kb/s, SAR 1:1 DAR 16:9, 24 fps, 24 tbr, 24 tbn, 24 tbc (default)
    Metadata:
      creation_time   : 2018-04-17T19:58:27.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Apple ProRes 4444 XQ
      timecode        : 00:00:00:00
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2018-04-17T19:58:28.000000Z
      handler_name    : Apple Alias Data Handler
      reel_name       : B002_C037_06288E
      timecode        : 00:00:00:00
Unsupported codec with id 0 for input stream 1
[STREAM]
index=0
codec_name=prores
codec_long_name=Apple ProRes (iCodec Pro)
profile=unknown
codec_type=video
codec_time_base=1/24
codec_tag_string=ap4x
codec_tag=0x78347061
width=3840
height=2160
coded_width=3840
coded_height=2160
has_b_frames=0
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv444p10le
level=-99
color_range=unknown
color_space=bt709
color_transfer=bt709
color_primaries=bt709
chroma_location=unspecified
field_order=progressive
timecode=N/A
refs=1
id=N/A
r_frame_rate=24/1
avg_frame_rate=24/1
time_base=1/24
start_pts=0
start_time=0.000000
duration_ts=32
duration=1.333333
bit_rate=1551663072
max_bit_rate=N/A
bits_per_raw_sample=10
nb_frames=32
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:creation_time=2018-04-17T19:58:27.000000Z
TAG:language=eng
TAG:handler_name=Apple Alias Data Handler
TAG:encoder=Apple ProRes 4444 XQ
TAG:timecode=00:00:00:00
[/STREAM]
[STREAM]
index=1
codec_name=unknown
codec_long_name=unknown
profile=unknown
codec_type=data
codec_tag_string=tmcd
codec_tag=0x64636d74
id=N/A
r_frame_rate=0/0
avg_frame_rate=24/1
time_base=1/24
start_pts=0
start_time=0.000000
duration_ts=32
duration=1.333333
bit_rate=24
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=1
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:creation_time=2018-04-17T19:58:28.000000Z
TAG:language=eng
TAG:handler_name=Apple Alias Data Handler
TAG:reel_name=B002_C037_06288E
TAG:timecode=00:00:00:00
[/STREAM]



More information about the ffmpeg-user mailing list