[FFmpeg-trac] #7163(avcodec:new): 12-bit ProRes not supported

FFmpeg trac at avcodec.org
Wed Apr 25 06:37:37 EEST 2018


#7163: 12-bit ProRes not supported
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:
  spookybathtub                      |  enhancement
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:
             Keywords:               |  unspecified
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 Summary of the bug:
 Apple Prores 444 and 444 XQ can be either 10-bit or 12-bit, but I believe
 ffmpeg always decodes as 10-bit.  For example, this console output shows
 the image as yuv444p10le.  Arri claims that this file is 12-bit.  Sample
 files such as this can be downloaded here:
 http://www.arri.com/camera/alexa/learn/alexa_sample_footage

 In source code '''proresdsp.h''', I see this line:
 `#define PRORES_BITS_PER_SAMPLE 10 ///< output precision of prores
 decoder`

 https://images.apple.com/support/finalcutpro/docs/Apple-ProRes-White-
 Paper-July-2009.pdf

 {{{
 $ ffmpeg -i /Scratch/sample\ footage/Alexa\ LogC/M001C007_161207_R00H.mov
 ffmpeg version 3.4.git Copyright (c) 2000-2018 the FFmpeg developers
   built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
   configuration: --prefix=/opt/local --enable-swscale --enable-avfilter
 --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-
 libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-
 libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-
 libass --enable-libbluray --enable-lzma --enable-gnutls --enable-
 fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack
 --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-
 indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox
 --enable-videotoolbox --enable-sdl2 --mandir=/opt/local/share/man
 --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64
 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-
 libx264 --enable-libxvid --enable-nonfree --enable-libfdk-aac
   libavutil      56. 12.100 / 56. 12.100
   libavcodec     58. 15.100 / 58. 15.100
   libavformat    58. 10.100 / 58. 10.100
   libavdevice    58.  2.100 / 58.  2.100
   libavfilter     7. 13.100 /  7. 13.100
   libavresample   4.  0.  0 /  4.  0.  0
   libswscale      5.  0.102 /  5.  0.102
   libswresample   3.  0.101 /  3.  0.101
   libpostproc    55.  0.100 / 55.  0.100
 Guessed Channel Layout for Input Stream #0.1 : 5.0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Scratch/sample footage/Alexa
 LogC/M001C007_161207_R00H.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt  ARRI
     creation_time   : 2016-12-07T15:18:41.000000Z
     com.apple.finalcutstudio.media.uuid: 4AC6826A-0538-4BCC-
 A0B0-11F520AC11C9
     com.arri.camera.CameraId: R00H
     com.arri.camera.CameraIndex: M
     com.arri.camera.CameraModel: ARRI ALEXA Mini
     com.arri.camera.CameraSerialNumber: 20017
     com.arri.camera.ColorGammaSxS: LOG-C
     com.arri.camera.ExposureIndexAsa: 800
     com.arri.camera.LookFileBurnedIn: No
     com.arri.camera.ProductionInfoOperator: GHI
     com.arri.camera.NdFilterDensity: 1200
     com.arri.camera.NdFilterType: 1
     com.arri.camera.ProductionInfoCinematographer: DEF
     com.arri.camera.ProductionInfoDirector: ABC
     com.arri.camera.ProductionInfoLocation: BOTMUC
     com.arri.camera.ProductionInfoProduction: ARRI
     com.arri.camera.ProductionInfoUser1:
     com.arri.camera.ProductionInfoUser2:
     com.arri.camera.ProjectFps: 24000
     com.arri.camera.ReelName: M001R00H
     com.arri.camera.SensorFps: 24000
     com.arri.camera.ShutterAngle: 1728
     com.arri.camera.SoundReel:
     com.arri.camera.SupVersion: 4.02.05
     com.arri.camera.SxsSerialNumber: 141101300018
     com.arri.camera.UserDate: 20161207
     com.arri.camera.UserTime: 15h18m41
     com.arri.camera.WhiteBalanceKelvin: 5600
     com.arri.camera.WhiteBalanceTintCc: 0
     com.arri.camera.CameraClipName: M001C007_161207_R00H.mov
     com.arri.camera.Product: 2
     com.arri.camera.SubProduct: 1
     com.arri.camera.look.name: ARRI 709.AML
     com.arri.camera.look.user_lut: 0
     com.apple.proapps.color.asc-cdl:
     com.arri.camera.look.lut3d:
     com.arri.camera.look.lut3d_with_cdl:
     com.arri.camera.look.video_param_with_target_colorspace:
     com.arri.camera.ProductionInfoCompany: ARRITEST
     com.arri.camera.SceneName:
     com.arri.camera.TakeName:
     com.arri.camera.audio.Configuration:
     com.arri.camera.LensSerialNumber: 0
     com.arri.camera.LensType:
     com.arri.camera.UnitPreference: Metric
     com.arri.camera.WbTracking: 0
     com.arri.camera.ImageOrientation: 0
     com.arri.camera.ImageSharpness: 0
     com.arri.camera.ImageDetail: 0
     com.arri.camera.ImageDenoising: 0
     com.arri.camera.DynamicMetadataVersion: 65536
     com.arri.camera.audio.BluetoothEnabled: 0
     com.arri.camera.sensor.PhotoSites: 2560x2145
     com.arri.camera.PixelAspectRatio: 0.000000
     com.arri.camera.FramelineFileName1: ARRI 6by5 1.78 Scope 2x
     com.arri.camera.FramelineRect1A.Name: 1.78:1anamorphic2x_scaling100%
     com.arri.camera.FramelineRect1A.Left: 261
     com.arri.camera.FramelineRect1A.Top: 0
     com.arri.camera.FramelineRect1A.Width: 1525
     com.arri.camera.FramelineRect1A.Height: 858
     com.arri.camera.FramelineRect1A.Type: 1
     timecode        : 01:55:44:01
   Duration: 00:00:10.13, start: 0.000000, bitrate: 283348 kb/s
     Stream #0:0(eng): Video: prores (ap4x / 0x78347061),
 yuv444p10le(bt709, progressive), 2048x858, 271534 kb/s, SAR 1:1 DAR
 1024:429, 24 fps, 24 tbr, 24 tbn, 24 tbc (default)
     Metadata:
       creation_time   : 2016-12-07T15:18:41.000000Z
       handler_name    : ?Apple Alias Data Handler
       encoder         : Apple ProRes 4444 (XQ)
     Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 5.0,
 s32 (24 bit), 5760 kb/s (default)
     Metadata:
       creation_time   : 2016-12-07T15:18:41.000000Z
       handler_name    : ?Apple Alias Data Handler
     Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
     Metadata:
       creation_time   : 2016-12-07T15:18:41.000000Z
       handler_name    : ?Apple Alias Data Handler
       reel_name       : M001R00H
       timecode        : 01:55:44:01
 At least one output file must be specified
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7163>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list