Lenovo-Ideapad-320-15ISK-14ISK-Laptop-Hackintosh icon indicating copy to clipboard operation
Lenovo-Ideapad-320-15ISK-14ISK-Laptop-Hackintosh copied to clipboard

"AAPL,slot-name" property breaks hardware HEVC encoder on Big Sur

Open bs3vcenk opened this issue 3 years ago • 7 comments

Describe the bug After trying (and failing) to encode several projects using the HEVC codec in Compressor and Final Cut Pro, I saw that the apps didn't even recognize the hardware HEVC encoder. Once I verified that VTEncoderInfo also fails to find the HW HEVC encoder, I found this post which said removing the "AAPL,slot-name" property in the config.plist fixes the issue. Sure enough, removing the key makes the encoder work again (the apps launch a lot faster too :).

This is the key in question: Bildschirmfoto 2020-12-04 um 20 37 58 Software Info macOS Version: 11.0.1 OpenCore version: 0.6.3 List of kexts:

Bildschirmfoto 2020-12-04 um 20 34 24

Hardware Info Your laptop model: Lenovo Ideapad 320-15ISK Processor: Intel Core i3-6006U

bs3vcenk avatar Dec 04 '20 19:12 bs3vcenk

Hello, @btx3 Thanks for your report. I have removed properties according to the post. Screenshot 2020-12-05 at 11 06 32 PM

Here is the VideoToolboxTest output before I removed the property:

tejas@MacBook-Pro ~ % /Users/tejas/Desktop/VideoToolboxTest 
 Encoder: 24-bit RGB
    Codec Type: 8-bit RGB
    Encoder ID: com.apple.videotoolbox.videoencoder.24rgb
    Codec Name: 24-bit RGB
    Encoder Name: Apple 24-bit RGB
    Supported Properties:
        ContentLightLevelInfo
        PixelBufferPoolIsShared
        PoolPixelBufferAttributesSeed
        RealTime
        EncoderID
        VideoEncoderPixelBufferAttributes
        AuxiliaryTypeInfo
        ClientPID
        FigThreadPriority
        ChromaLocationTopField
        ComponentRange
        CleanAperture
        YCbCrMatrix
        GammaLevel
        NumberOfPendingFrames
        ColorPrimaries
        PixelTransferProperties
        FieldDetail
        PixelAspectRatio
        FieldCount
        MultiPassStorage
        MasteringDisplayColorVolume
        MaximizePowerEfficiency
        PoolPixelBufferAttributes
        TransferFunction
        ICCProfile
        AllowPixelTransfer
        UsingMetalRegistryID
        ChromaLocationBottomField
        HDRMetadataInsertionMode
        PreserveDynamicHDRMetadata
        AmbientViewingEnvironment

 Encoder: 32-bit ARGB
    Codec Type: 8-bit ARGB
    Encoder ID: com.apple.videotoolbox.videoencoder.32argb
    Codec Name: 32-bit ARGB
    Encoder Name: Apple 32-bit ARGB
    Supported Properties:
        ContentLightLevelInfo
        PixelBufferPoolIsShared
        PoolPixelBufferAttributesSeed
        RealTime
        EncoderID
        VideoEncoderPixelBufferAttributes
        AuxiliaryTypeInfo
        ClientPID
        FigThreadPriority
        ChromaLocationTopField
        ComponentRange
        CleanAperture
        YCbCrMatrix
        GammaLevel
        NumberOfPendingFrames
        ColorPrimaries
        PixelTransferProperties
        FieldDetail
        PixelAspectRatio
        FieldCount
        MultiPassStorage
        MasteringDisplayColorVolume
        MaximizePowerEfficiency
        PoolPixelBufferAttributes
        TransferFunction
        ICCProfile
        AllowPixelTransfer
        UsingMetalRegistryID
        ChromaLocationBottomField
        HDRMetadataInsertionMode
        PreserveDynamicHDRMetadata
        AmbientViewingEnvironment

 Encoder: Apple ProRes 422
    Codec Type: ProRes 422
    Encoder ID: com.apple.videotoolbox.videoencoder.prores-422
    Codec Name: Apple ProRes 422
    Encoder Name: Apple ProRes 422
    Supported Properties:
        FigThreadPriority
        kVTProCodecPropertyKey_AverageBytesPerFrame
        kVTCodecPropertyKey_CustomTransferFunction
        HDRMetadataInsertionMode
        PreserveDynamicHDRMetadata
        TransferFunction
        PixelAspectRatio
        PoolPixelBufferAttributesSeed
        SourceFrameCount
        ContentLightLevelInfo
        MasteringDisplayColorVolume
        AuxiliaryTypeInfo
        ICCProfile
        ComponentRange
        PoolPixelBufferAttributes
        PixelBufferPoolIsShared
        YCbCrMatrix
            ITU_R_709_2
            ITU_R_601_4
            ITU_R_2020
        RealTime
        VideoEncoderPixelBufferAttributes
        FieldCount
        MaximizePowerEfficiency
        kVTCodecPropertyKey_CustomYCbCrMatrix
        ChromaLocationTopField
        MultiPassStorage
        ClientPID
        ColorPrimaries
        EncoderID
        NumberOfPendingFrames
        FieldDetail
        kVTCodecPropertyKey_CustomColorPrimaries
        ChromaLocationBottomField
        AmbientViewingEnvironment
        UsingMetalRegistryID
        CleanAperture
        PixelTransferProperties
        AllowPixelTransfer
        GammaLevel

 Encoder: Apple ProRes 422 HQ
    Codec Type: ProRes 422 HQ
    Encoder ID: com.apple.videotoolbox.videoencoder.prores-422hq
    Codec Name: Apple ProRes 422 HQ
    Encoder Name: Apple ProRes 422 HQ
    Supported Properties:
        FigThreadPriority
        kVTProCodecPropertyKey_AverageBytesPerFrame
        kVTCodecPropertyKey_CustomTransferFunction
        HDRMetadataInsertionMode
        PreserveDynamicHDRMetadata
        TransferFunction
        PixelAspectRatio
        PoolPixelBufferAttributesSeed
        SourceFrameCount
        ContentLightLevelInfo
        MasteringDisplayColorVolume
        AuxiliaryTypeInfo
        ICCProfile
        ComponentRange
        PoolPixelBufferAttributes
        PixelBufferPoolIsShared
        YCbCrMatrix
            ITU_R_709_2
            ITU_R_601_4
            ITU_R_2020
        RealTime
        VideoEncoderPixelBufferAttributes
        FieldCount
        MaximizePowerEfficiency
        kVTCodecPropertyKey_CustomYCbCrMatrix
        ChromaLocationTopField
        MultiPassStorage
        ClientPID
        ColorPrimaries
        EncoderID
        NumberOfPendingFrames
        FieldDetail
        kVTCodecPropertyKey_CustomColorPrimaries
        ChromaLocationBottomField
        AmbientViewingEnvironment
        UsingMetalRegistryID
        CleanAperture
        PixelTransferProperties
        AllowPixelTransfer
        GammaLevel

 Encoder: Apple ProRes 422 LT
    Codec Type: ProRes 422 LT
    Encoder ID: com.apple.videotoolbox.videoencoder.prores-422lt
    Codec Name: Apple ProRes 422 LT
    Encoder Name: Apple ProRes 422 LT
    Supported Properties:
        FigThreadPriority
        kVTProCodecPropertyKey_AverageBytesPerFrame
        kVTCodecPropertyKey_CustomTransferFunction
        HDRMetadataInsertionMode
        PreserveDynamicHDRMetadata
        TransferFunction
        PixelAspectRatio
        PoolPixelBufferAttributesSeed
        SourceFrameCount
        ContentLightLevelInfo
        MasteringDisplayColorVolume
        AuxiliaryTypeInfo
        ICCProfile
        ComponentRange
        PoolPixelBufferAttributes
        PixelBufferPoolIsShared
        YCbCrMatrix
            ITU_R_709_2
            ITU_R_601_4
            ITU_R_2020
        RealTime
        VideoEncoderPixelBufferAttributes
        FieldCount
        MaximizePowerEfficiency
        kVTCodecPropertyKey_CustomYCbCrMatrix
        ChromaLocationTopField
        MultiPassStorage
        ClientPID
        ColorPrimaries
        EncoderID
        NumberOfPendingFrames
        FieldDetail
        kVTCodecPropertyKey_CustomColorPrimaries
        ChromaLocationBottomField
        AmbientViewingEnvironment
        UsingMetalRegistryID
        CleanAperture
        PixelTransferProperties
        AllowPixelTransfer
        GammaLevel

 Encoder: Apple ProRes 422 Proxy
    Codec Type: ProRes 422 Proxy
    Encoder ID: com.apple.videotoolbox.videoencoder.prores-422proxy
    Codec Name: Apple ProRes 422 Proxy
    Encoder Name: Apple ProRes 422 Proxy
    Supported Properties:
        FigThreadPriority
        kVTProCodecPropertyKey_AverageBytesPerFrame
        kVTCodecPropertyKey_CustomTransferFunction
        HDRMetadataInsertionMode
        PreserveDynamicHDRMetadata
        TransferFunction
        PixelAspectRatio
        PoolPixelBufferAttributesSeed
        SourceFrameCount
        ContentLightLevelInfo
        MasteringDisplayColorVolume
        AuxiliaryTypeInfo
        ICCProfile
        ComponentRange
        PoolPixelBufferAttributes
        PixelBufferPoolIsShared
        YCbCrMatrix
            ITU_R_709_2
            ITU_R_601_4
            ITU_R_2020
        RealTime
        VideoEncoderPixelBufferAttributes
        FieldCount
        MaximizePowerEfficiency
        kVTCodecPropertyKey_CustomYCbCrMatrix
        ChromaLocationTopField
        MultiPassStorage
        ClientPID
        ColorPrimaries
        EncoderID
        NumberOfPendingFrames
        FieldDetail
        kVTCodecPropertyKey_CustomColorPrimaries
        ChromaLocationBottomField
        AmbientViewingEnvironment
        UsingMetalRegistryID
        CleanAperture
        PixelTransferProperties
        AllowPixelTransfer
        GammaLevel

 Encoder: Apple ProRes 4444
    Codec Type: ProRes 4444
    Encoder ID: com.apple.videotoolbox.videoencoder.prores-4444
    Codec Name: Apple ProRes 4444
    Encoder Name: Apple ProRes 4444
    Supported Properties:
        AllowPixelTransfer
        FigThreadPriority
        kVTProCodecPropertyKey_AverageBytesPerFrame
        kVTCodecPropertyKey_CustomTransferFunction
        HDRMetadataInsertionMode
        PreserveDynamicHDRMetadata
        TransferFunction
        PixelAspectRatio
        PoolPixelBufferAttributesSeed
        SourceFrameCount
        ContentLightLevelInfo
        MasteringDisplayColorVolume
        AuxiliaryTypeInfo
        ICCProfile
        ComponentRange
        PoolPixelBufferAttributes
        PixelBufferPoolIsShared
        YCbCrMatrix
            ITU_R_709_2
            ITU_R_601_4
            ITU_R_2020
        RealTime
        VideoEncoderPixelBufferAttributes
        FieldCount
        MaximizePowerEfficiency
        kVTCodecPropertyKey_CustomYCbCrMatrix
        ChromaLocationTopField
        MultiPassStorage
        ClientPID
        ColorPrimaries
        kVTCodecPropertyKey_AlphaMode
        EncoderID
        NumberOfPendingFrames
        FieldDetail
        kVTCodecPropertyKey_CustomColorPrimaries
        ChromaLocationBottomField
        AmbientViewingEnvironment
        UsingMetalRegistryID
        CleanAperture
        kVTCodecPropertyKey_PreserveAlphaChannel
        PixelTransferProperties
        GammaLevel

 Encoder: Apple ProRes 4444 XQ
    Codec Type: ProRes 4444 XQ
    Encoder ID: com.apple.videotoolbox.videoencoder.prores-4444xq
    Codec Name: Apple ProRes 4444 XQ
    Encoder Name: Apple ProRes 4444 XQ
    Supported Properties:
        AllowPixelTransfer
        FigThreadPriority
        kVTProCodecPropertyKey_AverageBytesPerFrame
        kVTCodecPropertyKey_CustomTransferFunction
        HDRMetadataInsertionMode
        PreserveDynamicHDRMetadata
        TransferFunction
        PixelAspectRatio
        PoolPixelBufferAttributesSeed
        SourceFrameCount
        ContentLightLevelInfo
        MasteringDisplayColorVolume
        AuxiliaryTypeInfo
        ICCProfile
        ComponentRange
        PoolPixelBufferAttributes
        PixelBufferPoolIsShared
        YCbCrMatrix
            ITU_R_709_2
            ITU_R_601_4
            ITU_R_2020
        RealTime
        VideoEncoderPixelBufferAttributes
        FieldCount
        MaximizePowerEfficiency
        kVTCodecPropertyKey_CustomYCbCrMatrix
        ChromaLocationTopField
        MultiPassStorage
        ClientPID
        ColorPrimaries
        kVTCodecPropertyKey_AlphaMode
        EncoderID
        NumberOfPendingFrames
        FieldDetail
        kVTCodecPropertyKey_CustomColorPrimaries
        ChromaLocationBottomField
        AmbientViewingEnvironment
        UsingMetalRegistryID
        CleanAperture
        kVTCodecPropertyKey_PreserveAlphaChannel
        PixelTransferProperties
        GammaLevel

 Encoder: H.263
    Codec Type: H.263
    Encoder ID: com.apple.videotoolbox.videoencoder.h263
    Codec Name: H.263
    Encoder Name: Apple H.263 (SW)
    Supported Properties:
        FigThreadPriority
        AverageDataRate
            Value is read-write.
        AllowTemporalCompression
            Value is read-write.
        ExpectedDuration
            Value is read-write.
        HDRMetadataInsertionMode
        PreserveDynamicHDRMetadata
        MaxKeyFrameInterval
            Value is read-write.
        TransferFunction
        PixelAspectRatio
        PoolPixelBufferAttributesSeed
        SourceFrameCount
            Value is read-write.
        ContentLightLevelInfo
        ExpectedFrameRate
            Value is read-write.
        MasteringDisplayColorVolume
        AuxiliaryTypeInfo
        ICCProfile
        ComponentRange
        PoolPixelBufferAttributes
        PixelBufferPoolIsShared
        RealTime
        VideoEncoderPixelBufferAttributes
        YCbCrMatrix
        FieldCount
        MaximizePowerEfficiency
        ChromaLocationTopField
        MultiPassStorage
        ClientPID
        EncoderID
        AverageBitRate
            Value is read-write.
        ColorPrimaries
        NumberOfPendingFrames
        FieldDetail
        ChromaLocationBottomField
        ProfileLevel
            Value is read-write.
            H263_Profile0_Level45
            H263_Profile3_Level45
        AmbientViewingEnvironment
        UsingMetalRegistryID
        CleanAperture
        PixelTransferProperties
        AllowPixelTransfer
        GammaLevel

 Encoder: Apple H.264 (HW)
    Codec Type: AVC/H.264
    Encoder ID: com.apple.videotoolbox.videoencoder.h264.gva.100000468
    Codec Name: H.264
    Encoder Name: Apple H.264 (HW)
    Supported Properties:
        AverageDataRate
        CleanAperture
        ICCProfile
        NumberOfSlices
        VideoEncoderPixelBufferAttributes
        FieldCount
        ChromaLocationBottomField
        NumberOfPendingFrames
        ThrottleForBackground
        YCbCrMatrix
        RealTime
        AllowPixelTransfer
        NegotiationDetails
        ExpectedFrameRate
        SourceFrameCount
        ProfileLevel
        H264EntropyMode
        PixelBufferPoolIsShared
        MaxKeyFrameIntervalDuration
        UsingHardwareAcceleratedVideoEncoder
        MasteringDisplayColorVolume
        TransferFunction
        ChromaLocationTopField
        ClientPID
        AllowFrameReordering
        FieldDetail
        Priority
        Depth
        InputQueueMaxCount
        PoolPixelBufferAttributesSeed
        AuxiliaryTypeInfo
        MaxKeyFrameInterval
        AllowTemporalCompression
        ColorPrimaries
        ExpectedDuration
        NumberOfSubFrameSections
        MaximizePowerEfficiency
        PreserveDynamicHDRMetadata
        HDRMetadataInsertionMode
        ConvergenceDurationForAverageDataRate
        EncoderID
        ComponentRange
        GammaLevel
        ContentLightLevelInfo
        PoolPixelBufferAttributes
        DataRateLimits
        MaxFrameDelayCount
        ConnectionID
        FigThreadPriority
        PixelTransferProperties
        MetalRegistryID
        MultiPassStorage
        UsingMetalRegistryID
        AverageBitRate
        EncoderUsage
        PixelAspectRatio
        ExpectedInputBufferDimensions
        AmbientViewingEnvironment

 Encoder: Apple H.264 (HW)
    Codec Type: AVC/H.264
    Encoder ID: com.apple.videotoolbox.videoencoder.h264.gva
    Codec Name: H.264
    Encoder Name: Apple H.264 (HW)
    Supported Properties:
        AverageDataRate
        CleanAperture
        ICCProfile
        NumberOfSlices
        VideoEncoderPixelBufferAttributes
        FieldCount
        ChromaLocationBottomField
        NumberOfPendingFrames
        ThrottleForBackground
        YCbCrMatrix
        RealTime
        AllowPixelTransfer
        NegotiationDetails
        ExpectedFrameRate
        SourceFrameCount
        ProfileLevel
        H264EntropyMode
        PixelBufferPoolIsShared
        MaxKeyFrameIntervalDuration
        UsingHardwareAcceleratedVideoEncoder
        MasteringDisplayColorVolume
        TransferFunction
        ChromaLocationTopField
        ClientPID
        AllowFrameReordering
        FieldDetail
        Priority
        Depth
        InputQueueMaxCount
        PoolPixelBufferAttributesSeed
        AuxiliaryTypeInfo
        MaxKeyFrameInterval
        AllowTemporalCompression
        ColorPrimaries
        ExpectedDuration
        NumberOfSubFrameSections
        MaximizePowerEfficiency
        PreserveDynamicHDRMetadata
        HDRMetadataInsertionMode
        ConvergenceDurationForAverageDataRate
        EncoderID
        ComponentRange
        GammaLevel
        ContentLightLevelInfo
        PoolPixelBufferAttributes
        DataRateLimits
        MaxFrameDelayCount
        ConnectionID
        FigThreadPriority
        PixelTransferProperties
        MetalRegistryID
        MultiPassStorage
        UsingMetalRegistryID
        AverageBitRate
        EncoderUsage
        PixelAspectRatio
        ExpectedInputBufferDimensions
        AmbientViewingEnvironment

 Encoder: Apple H.264 (SW)
    Codec Type: AVC/H.264
    Encoder ID: com.apple.videotoolbox.videoencoder.h264
    Codec Name: H.264
    Encoder Name: Apple H.264 (SW)
    Supported Properties:
        AverageDataRate
        CleanAperture
        NumberOfSlices
        VideoEncoderPixelBufferAttributes
        FieldCount
        ChromaLocationBottomField
        NumberOfPendingFrames
        YCbCrMatrix
        RealTime
        AllowPixelTransfer
        NegotiationDetails
        ExpectedFrameRate
        SourceFrameCount
        ProfileLevel
            H264_Baseline_AutoLevel
            H264_Baseline_1_3
            H264_Baseline_3_0
            H264_Baseline_3_1
            H264_Baseline_3_2
            H264_Baseline_4_0
            H264_Baseline_4_1
            H264_Baseline_4_2
            H264_Baseline_5_0
            H264_Baseline_5_1
            H264_Baseline_5_2
            H264_Main_AutoLevel
            H264_Main_3_0
            H264_Main_3_1
            H264_Main_3_2
            H264_Main_4_0
            H264_Main_4_1
            H264_Main_4_2
            H264_Main_5_0
            H264_Main_5_1
            H264_Main_5_2
            H264_High_AutoLevel
            H264_High_3_0
            H264_High_3_1
            H264_High_3_2
            H264_High_4_0
            H264_High_4_1
            H264_High_4_2
            H264_High_5_0
            H264_High_5_1
            H264_High_5_2
        H264EntropyMode
        PixelBufferPoolIsShared
        MaxKeyFrameIntervalDuration
        TotalByteBudget
        MasteringDisplayColorVolume
        TransferFunction
        ChromaLocationTopField
        ClientPID
        AllowFrameReordering
        FieldDetail
        PoolPixelBufferAttributesSeed
        AuxiliaryTypeInfo
        MaxKeyFrameInterval
        AllowTemporalCompression
        ColorPrimaries
        MaximizePowerEfficiency
        NumberOfParallelCores
        MoreFramesBeforeStart
        PreserveDynamicHDRMetadata
        HDRMetadataInsertionMode
        EncoderID
        ComponentRange
        GammaLevel
        ContentLightLevelInfo
        PoolPixelBufferAttributes
        DataRateLimits
        FigThreadPriority
        PixelTransferProperties
        MoreFramesAfterEnd
        UsingMetalRegistryID
        MultiPassStorage
        AverageBitRate
        EncoderUsage
        PixelAspectRatio
        ICCProfile
        AmbientViewingEnvironment

 Encoder: Apple HEVC (HW)
    Codec Type: HEVC/H.265
    Encoder ID: com.apple.videotoolbox.videoencoder.hevc.gva.100000468
    Codec Name: HEVC
    Encoder Name: Apple HEVC (HW)
Failed to get supported properties for encoder: -12903

 Encoder: Apple HEVC (HW)
    Codec Type: HEVC/H.265
    Encoder ID: com.apple.videotoolbox.videoencoder.hevc.gva
    Codec Name: HEVC
    Encoder Name: Apple HEVC (HW)
Failed to get supported properties for encoder: -12903

 Encoder: Apple HEVC (SW)
    Codec Type: HEVC/H.265
    Encoder ID: com.apple.videotoolbox.videoencoder.hevc.vcp
    Codec Name: HEVC
    Encoder Name: Apple HEVC (SW)
    Supported Properties:
        EncoderUsage
        RequireDeterministicDependencyAndReordering
        AmbientViewingEnvironment
        Quality
        CleanAperture
        VideoEncoderPixelBufferAttributes
        ICCProfile
        DroppablePFramesOnly
        FieldCount
        ChromaLocationBottomField
        NumberOfPendingFrames
        YCbCrMatrix
        RealTime
        AllowPixelTransfer
        NegotiationDetails
        ExpectedFrameRate
        PrivateKey000
        UsingCellular
        PrivateKey002
        SourceFrameCount
        PrivateKey004
        QuantizationScalingMatrixPreset
        ProfileLevel
            HEVC_Main10_AutoLevel
            HEVC_Main_AutoLevel
            HEVC_MainStill_AutoLevel
            HEVC_Monochrome_AutoLevel
            HEVC_Monochrome10_AutoLevel
        PixelBufferPoolIsShared
        MaxKeyFrameIntervalDuration
        PrivateKey024
        MasteringDisplayColorVolume
        PrivateKey035
        TransferFunction
        ThermalLevel
        PrivateKey044
        PrivateKey046
        ClientPID
        AllowFrameReordering
        ChromaLocationTopField
        FieldDetail
        EncodesAlpha
        RequiredHEVCVideoParameterSetAlphaLayerID
        PoolPixelBufferAttributesSeed
        AuxiliaryTypeInfo
        MaxKeyFrameInterval
        AllowTemporalCompression
        ColorPrimaries
        MaximizePowerEfficiency
        NumberOfParallelCores
        InsertTrailingBytes
        PreserveDynamicHDRMetadata
        HDRMetadataInsertionMode
        PrivateKey001
        EncoderID
        PrivateKey003
        ComponentRange
        GammaLevel
        PrivateKey005
        ContentLightLevelInfo
        PoolPixelBufferAttributes
        QuantizationScalingLists
        PrivateKey023
        FigThreadPriority
        PixelTransferProperties
        PrivateKey041
        PrivateKey034
        UsingMetalRegistryID
        MultiPassStorage
        InitialQP
        PrivateKey045
        AverageBitRate
        RequiredHEVCPictureParameterSetID
        PixelAspectRatio
        InitialQPI
        RequiredHEVCSequenceParameterSetID

 Encoder: JPEG
    Codec Type: JPEG
    Encoder ID: com.apple.videotoolbox.videoencoder.jpeg
    Codec Name: JPEG
    Encoder Name: Apple JPEG
    Supported Properties:
        FigThreadPriority
        Quality
            Value is read-write.
        HDRMetadataInsertionMode
        PreserveDynamicHDRMetadata
        TransferFunction
        PixelAspectRatio
        PoolPixelBufferAttributesSeed
        ContentLightLevelInfo
        MasteringDisplayColorVolume
        AuxiliaryTypeInfo
        ICCProfile
        ComponentRange
        PoolPixelBufferAttributes
        PixelBufferPoolIsShared
        RealTime
        VideoEncoderPixelBufferAttributes
        YCbCrMatrix
        FieldCount
        MaximizePowerEfficiency
        ChromaLocationTopField
        MultiPassStorage
        ClientPID
        EncoderID
        ColorPrimaries
        NumberOfPendingFrames
        FieldDetail
        ChromaLocationBottomField
        AmbientViewingEnvironment
        UsingMetalRegistryID
        CleanAperture
        PixelTransferProperties
        AllowPixelTransfer
        GammaLevel

 Encoder: Apple Muxed Alpha
    Codec Type: <UNKNOWN>
    Encoder ID: com.apple.videotoolbox.videoencoder.hevc-with-alpha:com.apple.videotoolbox.videoencoder.hevc.vcp
    Codec Name: Muxed Alpha
    Encoder Name: Apple Muxed Alpha
    Supported Properties:
        AverageBitRate
        InitialQPI
        TransferFunction
        PoolPixelBufferAttributesSeed
        FigThreadPriority
        MaxKeyFrameIntervalDuration
        PrivateKey041
        ChromaLocationTopField
        RequireDeterministicDependencyAndReordering
        FieldDetail
        UsingCellular
        ProfileLevel
            HEVC_Main10_AutoLevel
            HEVC_Main_AutoLevel
            HEVC_MainStill_AutoLevel
            HEVC_Monochrome_AutoLevel
            HEVC_Monochrome10_AutoLevel
        PixelBufferPoolIsShared
        YCbCrMatrix
        ComponentRange
        ColorPrimaries
        AllowTemporalCompression
        AlphaChannelMode
        GammaLevel
        ICCProfile
        PrivateKey005
        InsertTrailingBytes
        PoolPixelBufferAttributes
        HDRMetadataInsertionMode
        RealTime
        RequiredHEVCPictureParameterSetID
        NegotiationDetails
        RequiredHEVCSequenceParameterSetID
        TargetQualityForAlpha
        CleanAperture
        PrivateKey004
        DroppablePFramesOnly
        ExpectedFrameRate
        NumberOfPendingFrames
        QuantizationScalingLists
        PrivateKey003
        AmbientViewingEnvironment
        PixelAspectRatio
        PrivateKey046
        PreserveDynamicHDRMetadata
        PrivateKey035
        AuxiliaryTypeInfo
        PrivateKey024
        EncodesAlpha
        Quality
        PrivateKey002
        SublayerEncoderSpecification
        MultiPassStorage
        NumberOfParallelCores
        PrivateKey045
        PrivateKey034
        UsingMetalRegistryID
        PixelTransferProperties
        PrivateKey023
        EncoderUsage
        ChromaLocationBottomField
        FieldCount
        AllowFrameReordering
        RequiredHEVCVideoParameterSetAlphaLayerID
        PrivateKey001
        EncoderID
        AllowPixelTransfer
        PrivateKey044
        VideoEncoderPixelBufferAttributes
        ContentLightLevelInfo
        InitialQP
        MaxKeyFrameInterval
        MaximizePowerEfficiency
        PrivateKey000
        MasteringDisplayColorVolume
        QuantizationScalingMatrixPreset
        ClientPID
        SourceFrameCount
        ThermalLevel

 Encoder: Apple Muxed Alpha
    Codec Type: <UNKNOWN>
    Encoder ID: com.apple.videotoolbox.videoencoder.hevc-with-alpha:com.apple.videotoolbox.videoencoder.hevc.gva
    Codec Name: Muxed Alpha
    Encoder Name: Apple Muxed Alpha
Failed to get supported properties for encoder: -12903

Here is after I removed the property

``` tejas@MacBook-Pro ~ % /Users/tejas/Desktop/VideoToolboxTest Encoder: 24-bit RGB Codec Type: 8-bit RGB Encoder ID: com.apple.videotoolbox.videoencoder.24rgb Codec Name: 24-bit RGB Encoder Name: Apple 24-bit RGB Supported Properties: ContentLightLevelInfo PixelBufferPoolIsShared PoolPixelBufferAttributesSeed RealTime EncoderID VideoEncoderPixelBufferAttributes AuxiliaryTypeInfo ClientPID FigThreadPriority ChromaLocationTopField ComponentRange CleanAperture YCbCrMatrix GammaLevel NumberOfPendingFrames ColorPrimaries PixelTransferProperties FieldDetail PixelAspectRatio FieldCount MultiPassStorage MasteringDisplayColorVolume MaximizePowerEfficiency PoolPixelBufferAttributes TransferFunction ICCProfile AllowPixelTransfer UsingMetalRegistryID ChromaLocationBottomField HDRMetadataInsertionMode PreserveDynamicHDRMetadata AmbientViewingEnvironment

Encoder: 32-bit ARGB Codec Type: 8-bit ARGB Encoder ID: com.apple.videotoolbox.videoencoder.32argb Codec Name: 32-bit ARGB Encoder Name: Apple 32-bit ARGB Supported Properties: ContentLightLevelInfo PixelBufferPoolIsShared PoolPixelBufferAttributesSeed RealTime EncoderID VideoEncoderPixelBufferAttributes AuxiliaryTypeInfo ClientPID FigThreadPriority ChromaLocationTopField ComponentRange CleanAperture YCbCrMatrix GammaLevel NumberOfPendingFrames ColorPrimaries PixelTransferProperties FieldDetail PixelAspectRatio FieldCount MultiPassStorage MasteringDisplayColorVolume MaximizePowerEfficiency PoolPixelBufferAttributes TransferFunction ICCProfile AllowPixelTransfer UsingMetalRegistryID ChromaLocationBottomField HDRMetadataInsertionMode PreserveDynamicHDRMetadata AmbientViewingEnvironment

Encoder: Apple ProRes 422 Codec Type: ProRes 422 Encoder ID: com.apple.videotoolbox.videoencoder.prores-422 Codec Name: Apple ProRes 422 Encoder Name: Apple ProRes 422 Supported Properties: FigThreadPriority kVTProCodecPropertyKey_AverageBytesPerFrame kVTCodecPropertyKey_CustomTransferFunction HDRMetadataInsertionMode PreserveDynamicHDRMetadata TransferFunction PixelAspectRatio PoolPixelBufferAttributesSeed SourceFrameCount ContentLightLevelInfo MasteringDisplayColorVolume AuxiliaryTypeInfo ICCProfile ComponentRange PoolPixelBufferAttributes PixelBufferPoolIsShared YCbCrMatrix ITU_R_709_2 ITU_R_601_4 ITU_R_2020 RealTime VideoEncoderPixelBufferAttributes FieldCount MaximizePowerEfficiency kVTCodecPropertyKey_CustomYCbCrMatrix ChromaLocationTopField MultiPassStorage ClientPID ColorPrimaries EncoderID NumberOfPendingFrames FieldDetail kVTCodecPropertyKey_CustomColorPrimaries ChromaLocationBottomField AmbientViewingEnvironment UsingMetalRegistryID CleanAperture PixelTransferProperties AllowPixelTransfer GammaLevel

Encoder: Apple ProRes 422 HQ Codec Type: ProRes 422 HQ Encoder ID: com.apple.videotoolbox.videoencoder.prores-422hq Codec Name: Apple ProRes 422 HQ Encoder Name: Apple ProRes 422 HQ Supported Properties: FigThreadPriority kVTProCodecPropertyKey_AverageBytesPerFrame kVTCodecPropertyKey_CustomTransferFunction HDRMetadataInsertionMode PreserveDynamicHDRMetadata TransferFunction PixelAspectRatio PoolPixelBufferAttributesSeed SourceFrameCount ContentLightLevelInfo MasteringDisplayColorVolume AuxiliaryTypeInfo ICCProfile ComponentRange PoolPixelBufferAttributes PixelBufferPoolIsShared YCbCrMatrix ITU_R_709_2 ITU_R_601_4 ITU_R_2020 RealTime VideoEncoderPixelBufferAttributes FieldCount MaximizePowerEfficiency kVTCodecPropertyKey_CustomYCbCrMatrix ChromaLocationTopField MultiPassStorage ClientPID ColorPrimaries EncoderID NumberOfPendingFrames FieldDetail kVTCodecPropertyKey_CustomColorPrimaries ChromaLocationBottomField AmbientViewingEnvironment UsingMetalRegistryID CleanAperture PixelTransferProperties AllowPixelTransfer GammaLevel

Encoder: Apple ProRes 422 LT Codec Type: ProRes 422 LT Encoder ID: com.apple.videotoolbox.videoencoder.prores-422lt Codec Name: Apple ProRes 422 LT Encoder Name: Apple ProRes 422 LT Supported Properties: FigThreadPriority kVTProCodecPropertyKey_AverageBytesPerFrame kVTCodecPropertyKey_CustomTransferFunction HDRMetadataInsertionMode PreserveDynamicHDRMetadata TransferFunction PixelAspectRatio PoolPixelBufferAttributesSeed SourceFrameCount ContentLightLevelInfo MasteringDisplayColorVolume AuxiliaryTypeInfo ICCProfile ComponentRange PoolPixelBufferAttributes PixelBufferPoolIsShared YCbCrMatrix ITU_R_709_2 ITU_R_601_4 ITU_R_2020 RealTime VideoEncoderPixelBufferAttributes FieldCount MaximizePowerEfficiency kVTCodecPropertyKey_CustomYCbCrMatrix ChromaLocationTopField MultiPassStorage ClientPID ColorPrimaries EncoderID NumberOfPendingFrames FieldDetail kVTCodecPropertyKey_CustomColorPrimaries ChromaLocationBottomField AmbientViewingEnvironment UsingMetalRegistryID CleanAperture PixelTransferProperties AllowPixelTransfer GammaLevel

Encoder: Apple ProRes 422 Proxy Codec Type: ProRes 422 Proxy Encoder ID: com.apple.videotoolbox.videoencoder.prores-422proxy Codec Name: Apple ProRes 422 Proxy Encoder Name: Apple ProRes 422 Proxy Supported Properties: FigThreadPriority kVTProCodecPropertyKey_AverageBytesPerFrame kVTCodecPropertyKey_CustomTransferFunction HDRMetadataInsertionMode PreserveDynamicHDRMetadata TransferFunction PixelAspectRatio PoolPixelBufferAttributesSeed SourceFrameCount ContentLightLevelInfo MasteringDisplayColorVolume AuxiliaryTypeInfo ICCProfile ComponentRange PoolPixelBufferAttributes PixelBufferPoolIsShared YCbCrMatrix ITU_R_709_2 ITU_R_601_4 ITU_R_2020 RealTime VideoEncoderPixelBufferAttributes FieldCount MaximizePowerEfficiency kVTCodecPropertyKey_CustomYCbCrMatrix ChromaLocationTopField MultiPassStorage ClientPID ColorPrimaries EncoderID NumberOfPendingFrames FieldDetail kVTCodecPropertyKey_CustomColorPrimaries ChromaLocationBottomField AmbientViewingEnvironment UsingMetalRegistryID CleanAperture PixelTransferProperties AllowPixelTransfer GammaLevel

Encoder: Apple ProRes 4444 Codec Type: ProRes 4444 Encoder ID: com.apple.videotoolbox.videoencoder.prores-4444 Codec Name: Apple ProRes 4444 Encoder Name: Apple ProRes 4444 Supported Properties: AllowPixelTransfer FigThreadPriority kVTProCodecPropertyKey_AverageBytesPerFrame kVTCodecPropertyKey_CustomTransferFunction HDRMetadataInsertionMode PreserveDynamicHDRMetadata TransferFunction PixelAspectRatio PoolPixelBufferAttributesSeed SourceFrameCount ContentLightLevelInfo MasteringDisplayColorVolume AuxiliaryTypeInfo ICCProfile ComponentRange PoolPixelBufferAttributes PixelBufferPoolIsShared YCbCrMatrix ITU_R_709_2 ITU_R_601_4 ITU_R_2020 RealTime VideoEncoderPixelBufferAttributes FieldCount MaximizePowerEfficiency kVTCodecPropertyKey_CustomYCbCrMatrix ChromaLocationTopField MultiPassStorage ClientPID ColorPrimaries kVTCodecPropertyKey_AlphaMode EncoderID NumberOfPendingFrames FieldDetail kVTCodecPropertyKey_CustomColorPrimaries ChromaLocationBottomField AmbientViewingEnvironment UsingMetalRegistryID CleanAperture kVTCodecPropertyKey_PreserveAlphaChannel PixelTransferProperties GammaLevel

Encoder: Apple ProRes 4444 XQ Codec Type: ProRes 4444 XQ Encoder ID: com.apple.videotoolbox.videoencoder.prores-4444xq Codec Name: Apple ProRes 4444 XQ Encoder Name: Apple ProRes 4444 XQ Supported Properties: AllowPixelTransfer FigThreadPriority kVTProCodecPropertyKey_AverageBytesPerFrame kVTCodecPropertyKey_CustomTransferFunction HDRMetadataInsertionMode PreserveDynamicHDRMetadata TransferFunction PixelAspectRatio PoolPixelBufferAttributesSeed SourceFrameCount ContentLightLevelInfo MasteringDisplayColorVolume AuxiliaryTypeInfo ICCProfile ComponentRange PoolPixelBufferAttributes PixelBufferPoolIsShared YCbCrMatrix ITU_R_709_2 ITU_R_601_4 ITU_R_2020 RealTime VideoEncoderPixelBufferAttributes FieldCount MaximizePowerEfficiency kVTCodecPropertyKey_CustomYCbCrMatrix ChromaLocationTopField MultiPassStorage ClientPID ColorPrimaries kVTCodecPropertyKey_AlphaMode EncoderID NumberOfPendingFrames FieldDetail kVTCodecPropertyKey_CustomColorPrimaries ChromaLocationBottomField AmbientViewingEnvironment UsingMetalRegistryID CleanAperture kVTCodecPropertyKey_PreserveAlphaChannel PixelTransferProperties GammaLevel

Encoder: H.263 Codec Type: H.263 Encoder ID: com.apple.videotoolbox.videoencoder.h263 Codec Name: H.263 Encoder Name: Apple H.263 (SW) Supported Properties: FigThreadPriority AverageDataRate Value is read-write. AllowTemporalCompression Value is read-write. ExpectedDuration Value is read-write. HDRMetadataInsertionMode PreserveDynamicHDRMetadata MaxKeyFrameInterval Value is read-write. TransferFunction PixelAspectRatio PoolPixelBufferAttributesSeed SourceFrameCount Value is read-write. ContentLightLevelInfo ExpectedFrameRate Value is read-write. MasteringDisplayColorVolume AuxiliaryTypeInfo ICCProfile ComponentRange PoolPixelBufferAttributes PixelBufferPoolIsShared RealTime VideoEncoderPixelBufferAttributes YCbCrMatrix FieldCount MaximizePowerEfficiency ChromaLocationTopField MultiPassStorage ClientPID EncoderID AverageBitRate Value is read-write. ColorPrimaries NumberOfPendingFrames FieldDetail ChromaLocationBottomField ProfileLevel Value is read-write. H263_Profile0_Level45 H263_Profile3_Level45 AmbientViewingEnvironment UsingMetalRegistryID CleanAperture PixelTransferProperties AllowPixelTransfer GammaLevel

Encoder: Apple H.264 (HW) Codec Type: AVC/H.264 Encoder ID: com.apple.videotoolbox.videoencoder.h264.gva Codec Name: H.264 Encoder Name: Apple H.264 (HW) Supported Properties: AverageDataRate CleanAperture ICCProfile NumberOfSlices VideoEncoderPixelBufferAttributes FieldCount ChromaLocationBottomField NumberOfPendingFrames ThrottleForBackground YCbCrMatrix RealTime AllowPixelTransfer NegotiationDetails ExpectedFrameRate SourceFrameCount ProfileLevel H264EntropyMode PixelBufferPoolIsShared MaxKeyFrameIntervalDuration UsingHardwareAcceleratedVideoEncoder MasteringDisplayColorVolume TransferFunction ChromaLocationTopField ClientPID AllowFrameReordering FieldDetail Priority Depth InputQueueMaxCount PoolPixelBufferAttributesSeed AuxiliaryTypeInfo MaxKeyFrameInterval AllowTemporalCompression ColorPrimaries ExpectedDuration NumberOfSubFrameSections MaximizePowerEfficiency PreserveDynamicHDRMetadata HDRMetadataInsertionMode ConvergenceDurationForAverageDataRate EncoderID ComponentRange GammaLevel ContentLightLevelInfo PoolPixelBufferAttributes DataRateLimits MaxFrameDelayCount ConnectionID FigThreadPriority PixelTransferProperties MetalRegistryID MultiPassStorage UsingMetalRegistryID AverageBitRate EncoderUsage PixelAspectRatio ExpectedInputBufferDimensions AmbientViewingEnvironment

Encoder: Apple H.264 (SW) Codec Type: AVC/H.264 Encoder ID: com.apple.videotoolbox.videoencoder.h264 Codec Name: H.264 Encoder Name: Apple H.264 (SW) Supported Properties: AverageDataRate CleanAperture NumberOfSlices VideoEncoderPixelBufferAttributes FieldCount ChromaLocationBottomField NumberOfPendingFrames YCbCrMatrix RealTime AllowPixelTransfer NegotiationDetails ExpectedFrameRate SourceFrameCount ProfileLevel H264_Baseline_AutoLevel H264_Baseline_1_3 H264_Baseline_3_0 H264_Baseline_3_1 H264_Baseline_3_2 H264_Baseline_4_0 H264_Baseline_4_1 H264_Baseline_4_2 H264_Baseline_5_0 H264_Baseline_5_1 H264_Baseline_5_2 H264_Main_AutoLevel H264_Main_3_0 H264_Main_3_1 H264_Main_3_2 H264_Main_4_0 H264_Main_4_1 H264_Main_4_2 H264_Main_5_0 H264_Main_5_1 H264_Main_5_2 H264_High_AutoLevel H264_High_3_0 H264_High_3_1 H264_High_3_2 H264_High_4_0 H264_High_4_1 H264_High_4_2 H264_High_5_0 H264_High_5_1 H264_High_5_2 H264EntropyMode PixelBufferPoolIsShared MaxKeyFrameIntervalDuration TotalByteBudget MasteringDisplayColorVolume TransferFunction ChromaLocationTopField ClientPID AllowFrameReordering FieldDetail PoolPixelBufferAttributesSeed AuxiliaryTypeInfo MaxKeyFrameInterval AllowTemporalCompression ColorPrimaries MaximizePowerEfficiency NumberOfParallelCores MoreFramesBeforeStart PreserveDynamicHDRMetadata HDRMetadataInsertionMode EncoderID ComponentRange GammaLevel ContentLightLevelInfo PoolPixelBufferAttributes DataRateLimits FigThreadPriority PixelTransferProperties MoreFramesAfterEnd UsingMetalRegistryID MultiPassStorage AverageBitRate EncoderUsage PixelAspectRatio ICCProfile AmbientViewingEnvironment

Encoder: Apple HEVC (HW) Codec Type: HEVC/H.265 Encoder ID: com.apple.videotoolbox.videoencoder.hevc.gva Codec Name: HEVC Encoder Name: Apple HEVC (HW) Supported Properties: RequiredHEVCSequenceParameterSetID RequireDeterministicDependencyAndReordering CleanAperture Quality ICCProfile VideoEncoderPixelBufferAttributes FieldCount ChromaLocationBottomField NumberOfPendingFrames YCbCrMatrix RealTime AllowPixelTransfer NegotiationDetails ExpectedFrameRate ProfileLevel HEVC_Main_AutoLevel PixelBufferPoolIsShared UsingHardwareAcceleratedVideoEncoder MasteringDisplayColorVolume TransferFunction ChromaLocationTopField ClientPID AllowFrameReordering FieldDetail Priority EncodesAlpha RequiredHEVCVideoParameterSetAlphaLayerID PoolPixelBufferAttributesSeed AuxiliaryTypeInfo MaxKeyFrameInterval AllowTemporalCompression ColorPrimaries MaximizePowerEfficiency InsertTrailingBytes PreserveDynamicHDRMetadata HDRMetadataInsertionMode EncoderID ComponentRange GammaLevel ContentLightLevelInfo PoolPixelBufferAttributes DataRateLimits ConnectionID FigThreadPriority PixelTransferProperties MetalRegistryID MultiPassStorage UsingMetalRegistryID AverageBitRate RequiredHEVCPictureParameterSetID PixelAspectRatio EncoderUsage AmbientViewingEnvironment

Encoder: Apple HEVC (SW) Codec Type: HEVC/H.265 Encoder ID: com.apple.videotoolbox.videoencoder.hevc.vcp Codec Name: HEVC Encoder Name: Apple HEVC (SW) Supported Properties: EncoderUsage RequireDeterministicDependencyAndReordering AmbientViewingEnvironment Quality CleanAperture VideoEncoderPixelBufferAttributes ICCProfile DroppablePFramesOnly FieldCount ChromaLocationBottomField NumberOfPendingFrames YCbCrMatrix RealTime AllowPixelTransfer NegotiationDetails ExpectedFrameRate PrivateKey000 UsingCellular PrivateKey002 SourceFrameCount PrivateKey004 QuantizationScalingMatrixPreset ProfileLevel HEVC_Main10_AutoLevel HEVC_Main_AutoLevel HEVC_MainStill_AutoLevel HEVC_Monochrome_AutoLevel HEVC_Monochrome10_AutoLevel PixelBufferPoolIsShared MaxKeyFrameIntervalDuration PrivateKey024 MasteringDisplayColorVolume PrivateKey035 TransferFunction ThermalLevel PrivateKey044 PrivateKey046 ClientPID AllowFrameReordering ChromaLocationTopField FieldDetail EncodesAlpha RequiredHEVCVideoParameterSetAlphaLayerID PoolPixelBufferAttributesSeed AuxiliaryTypeInfo MaxKeyFrameInterval AllowTemporalCompression ColorPrimaries MaximizePowerEfficiency NumberOfParallelCores InsertTrailingBytes PreserveDynamicHDRMetadata HDRMetadataInsertionMode PrivateKey001 EncoderID PrivateKey003 ComponentRange GammaLevel PrivateKey005 ContentLightLevelInfo PoolPixelBufferAttributes QuantizationScalingLists PrivateKey023 FigThreadPriority PixelTransferProperties PrivateKey041 PrivateKey034 UsingMetalRegistryID MultiPassStorage InitialQP PrivateKey045 AverageBitRate RequiredHEVCPictureParameterSetID PixelAspectRatio InitialQPI RequiredHEVCSequenceParameterSetID

Encoder: JPEG Codec Type: JPEG Encoder ID: com.apple.videotoolbox.videoencoder.jpeg Codec Name: JPEG Encoder Name: Apple JPEG Supported Properties: FigThreadPriority Quality Value is read-write. HDRMetadataInsertionMode PreserveDynamicHDRMetadata TransferFunction PixelAspectRatio PoolPixelBufferAttributesSeed ContentLightLevelInfo MasteringDisplayColorVolume AuxiliaryTypeInfo ICCProfile ComponentRange PoolPixelBufferAttributes PixelBufferPoolIsShared RealTime VideoEncoderPixelBufferAttributes YCbCrMatrix FieldCount MaximizePowerEfficiency ChromaLocationTopField MultiPassStorage ClientPID EncoderID ColorPrimaries NumberOfPendingFrames FieldDetail ChromaLocationBottomField AmbientViewingEnvironment UsingMetalRegistryID CleanAperture PixelTransferProperties AllowPixelTransfer GammaLevel

Encoder: Apple Muxed Alpha Codec Type: <UNKNOWN> Encoder ID: com.apple.videotoolbox.videoencoder.hevc-with-alpha:com.apple.videotoolbox.videoencoder.hevc.vcp Codec Name: Muxed Alpha Encoder Name: Apple Muxed Alpha Supported Properties: AverageBitRate InitialQPI TransferFunction PoolPixelBufferAttributesSeed FigThreadPriority MaxKeyFrameIntervalDuration PrivateKey041 ChromaLocationTopField RequireDeterministicDependencyAndReordering FieldDetail UsingCellular ProfileLevel HEVC_Main10_AutoLevel HEVC_Main_AutoLevel HEVC_MainStill_AutoLevel HEVC_Monochrome_AutoLevel HEVC_Monochrome10_AutoLevel PixelBufferPoolIsShared YCbCrMatrix ComponentRange ColorPrimaries AllowTemporalCompression AlphaChannelMode GammaLevel ICCProfile PrivateKey005 InsertTrailingBytes PoolPixelBufferAttributes HDRMetadataInsertionMode RealTime RequiredHEVCPictureParameterSetID NegotiationDetails RequiredHEVCSequenceParameterSetID TargetQualityForAlpha CleanAperture PrivateKey004 DroppablePFramesOnly ExpectedFrameRate NumberOfPendingFrames QuantizationScalingLists PrivateKey003 AmbientViewingEnvironment PixelAspectRatio PrivateKey046 PreserveDynamicHDRMetadata PrivateKey035 AuxiliaryTypeInfo PrivateKey024 EncodesAlpha Quality PrivateKey002 SublayerEncoderSpecification MultiPassStorage NumberOfParallelCores PrivateKey045 PrivateKey034 UsingMetalRegistryID PixelTransferProperties PrivateKey023 EncoderUsage ChromaLocationBottomField FieldCount AllowFrameReordering RequiredHEVCVideoParameterSetAlphaLayerID PrivateKey001 EncoderID AllowPixelTransfer PrivateKey044 VideoEncoderPixelBufferAttributes ContentLightLevelInfo InitialQP MaxKeyFrameInterval MaximizePowerEfficiency PrivateKey000 MasteringDisplayColorVolume QuantizationScalingMatrixPreset ClientPID SourceFrameCount ThermalLevel

Encoder: Apple Muxed Alpha Codec Type: <UNKNOWN> Encoder ID: com.apple.videotoolbox.videoencoder.hevc-with-alpha:com.apple.videotoolbox.videoencoder.hevc.gva Codec Name: Muxed Alpha Encoder Name: Apple Muxed Alpha Supported Properties: DataRateLimits AverageBitRate TransferFunction PoolPixelBufferAttributesSeed FigThreadPriority ChromaLocationTopField RequireDeterministicDependencyAndReordering FieldDetail ProfileLevel HEVC_Main_AutoLevel UsingHardwareAcceleratedVideoEncoder PixelBufferPoolIsShared YCbCrMatrix ComponentRange ColorPrimaries AllowTemporalCompression AlphaChannelMode GammaLevel ICCProfile InsertTrailingBytes PoolPixelBufferAttributes HDRMetadataInsertionMode RealTime RequiredHEVCPictureParameterSetID NegotiationDetails RequiredHEVCSequenceParameterSetID TargetQualityForAlpha CleanAperture ExpectedFrameRate NumberOfPendingFrames ConnectionID AmbientViewingEnvironment PixelAspectRatio Priority PreserveDynamicHDRMetadata AuxiliaryTypeInfo EncodesAlpha Quality SublayerEncoderSpecification MultiPassStorage UsingMetalRegistryID EncoderUsage PixelTransferProperties ChromaLocationBottomField FieldCount AllowFrameReordering RequiredHEVCVideoParameterSetAlphaLayerID EncoderID AllowPixelTransfer VideoEncoderPixelBufferAttributes ContentLightLevelInfo MaxKeyFrameInterval MaximizePowerEfficiency MasteringDisplayColorVolume MetalRegistryID ClientPID SourceFrameCount

</details>

After removing the above property still I am not getting `HEVC` support. Is it normal?
![Screenshot 2020-12-05 at 11 10 37 PM](https://user-images.githubusercontent.com/14052969/101259516-19385b80-374f-11eb-825d-7f3c069cd860.png)

gajjartejas avatar Dec 05 '20 17:12 gajjartejas

Does removing the shikigva boot arg fix it maybe? I removed it from my EFI as I didn't see any difference with it being there vs. without it (and the docs recommended against using it if it's not needed). If removing it doesn't break anything else, perhaps try that?

EDIT: Also adding my boot arguments:

btx3@MacBook-Pro Release % nvram boot-args
boot-args	dart=0 darkwake=1 -cdfon

My VideoProc screenshot:

Bildschirmfoto 2020-12-06 um 14 17 05

And the relevant part of VideoToolbox's output:

 Encoder: Apple HEVC (HW)
    Codec Type: HEVC/H.265
    Encoder ID: com.apple.videotoolbox.videoencoder.hevc.gva
    Codec Name: HEVC
    Encoder Name: Apple HEVC (HW)
    Supported Properties:
        RequiredHEVCSequenceParameterSetID
        RequireDeterministicDependencyAndReordering
        CleanAperture
        Quality
        ICCProfile
        VideoEncoderPixelBufferAttributes
        FieldCount
        ChromaLocationBottomField
        NumberOfPendingFrames
        YCbCrMatrix
        RealTime
        AllowPixelTransfer
        NegotiationDetails
        ExpectedFrameRate
        ProfileLevel
            HEVC_Main_AutoLevel
        PixelBufferPoolIsShared
        UsingHardwareAcceleratedVideoEncoder
        MasteringDisplayColorVolume
        TransferFunction
        ChromaLocationTopField
        ClientPID
        AllowFrameReordering
        FieldDetail
        Priority
        EncodesAlpha
        RequiredHEVCVideoParameterSetAlphaLayerID
        PoolPixelBufferAttributesSeed
        AuxiliaryTypeInfo
        MaxKeyFrameInterval
        AllowTemporalCompression
        ColorPrimaries
        MaximizePowerEfficiency
        InsertTrailingBytes
        PreserveDynamicHDRMetadata
        HDRMetadataInsertionMode
        EncoderID
        ComponentRange
        GammaLevel
        ContentLightLevelInfo
        PoolPixelBufferAttributes
        DataRateLimits
        ConnectionID
        FigThreadPriority
        PixelTransferProperties
        MetalRegistryID
        MultiPassStorage
        UsingMetalRegistryID
        AverageBitRate
        RequiredHEVCPictureParameterSetID
        PixelAspectRatio
        EncoderUsage
        AmbientViewingEnvironment

bs3vcenk avatar Dec 06 '20 13:12 bs3vcenk

Hello, @btx3 I have removed the shikigva boot args but still the same issue. This is strange!

I have also a dual boot system, so I have checked in windows 10. It shows that the HW Encoding not supported. The discrete graphics is already turned off in the bios.

Please check the below screenshots:

Capture1 Capture3

Also could you please verify your processor using

sysctl -a | grep machdep.cpu

Here is the output of the above command:

tejas@MacBook-Pro ~ % sysctl -a | grep machdep.cpu
machdep.cpu.max_basic: 22
machdep.cpu.max_ext: 2147483656
machdep.cpu.vendor: GenuineIntel
machdep.cpu.brand_string: Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz
machdep.cpu.family: 6
machdep.cpu.model: 78
machdep.cpu.extmodel: 4
machdep.cpu.extfamily: 0
machdep.cpu.stepping: 3
machdep.cpu.feature_bits: 9221959987971750911
machdep.cpu.leaf7_feature_bits: 43804591 0
machdep.cpu.leaf7_feature_bits_edx: 2617254912
machdep.cpu.extfeature_bits: 1241984796928
machdep.cpu.signature: 263907
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C
machdep.cpu.leaf7_features: RDWRFSGS TSC_THREAD_OFFSET SGX BMI1 AVX2 SMEP BMI2 ERMS INVPCID FPU_CSDS MPX RDSEED ADX SMAP CLFSOPT IPT MDCLEAR TSXFA IBRS STIBP L1DF SSBD
machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP TSCI
machdep.cpu.logical_per_package: 16
machdep.cpu.cores_per_package: 8
machdep.cpu.microcode_version: 212
machdep.cpu.processor_flag: 6
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 286531872
machdep.cpu.thermal.sensor: 1
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.invariant_APIC_timer: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 1
machdep.cpu.thermal.fine_grain_clock_mod: 1
machdep.cpu.thermal.package_thermal_intr: 1
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.energy_policy: 1
machdep.cpu.xsave.extended_state: 31 832 1088 0
machdep.cpu.xsave.extended_state1: 15 832 256 0
machdep.cpu.arch_perf.version: 4
machdep.cpu.arch_perf.number: 4
machdep.cpu.arch_perf.width: 48
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.fixed_width: 48
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 4
machdep.cpu.cache.size: 256
machdep.cpu.tlb.inst.large: 8
machdep.cpu.tlb.data.small: 64
machdep.cpu.tlb.data.small_level1: 64
machdep.cpu.address_bits.physical: 39
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 2
machdep.cpu.thread_count: 4
machdep.cpu.tsc_ccc.numerator: 166
machdep.cpu.tsc_ccc.denominator: 2

I have also attached config.plist.zip file. Could you please check it?

gajjartejas avatar Dec 06 '20 16:12 gajjartejas

Hello @btx3 Waiting for your response 👋

gajjartejas avatar Jan 06 '21 17:01 gajjartejas

Sorry, I think I missed the e-mail Github sent me. Here's the output of your command:

btx3@MacBook-Pro ~ % sysctl -a | grep machdep.cpu
machdep.cpu.max_basic: 22
machdep.cpu.max_ext: 2147483656
machdep.cpu.vendor: GenuineIntel
machdep.cpu.brand_string: Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz
machdep.cpu.family: 6
machdep.cpu.model: 78
machdep.cpu.extmodel: 4
machdep.cpu.extfamily: 0
machdep.cpu.stepping: 3
machdep.cpu.feature_bits: 9221959987971750911
machdep.cpu.leaf7_feature_bits: 43804591 0
machdep.cpu.leaf7_feature_bits_edx: 2617254912
machdep.cpu.extfeature_bits: 1241984796928
machdep.cpu.signature: 263907
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C
machdep.cpu.leaf7_features: RDWRFSGS TSC_THREAD_OFFSET SGX BMI1 AVX2 SMEP BMI2 ERMS INVPCID FPU_CSDS MPX RDSEED ADX SMAP CLFSOPT IPT MDCLEAR TSXFA IBRS STIBP L1DF SSBD
machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP TSCI
machdep.cpu.logical_per_package: 16
machdep.cpu.cores_per_package: 8
machdep.cpu.microcode_version: 212
machdep.cpu.processor_flag: 6
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 286531872
machdep.cpu.thermal.sensor: 1
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.invariant_APIC_timer: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 1
machdep.cpu.thermal.fine_grain_clock_mod: 1
machdep.cpu.thermal.package_thermal_intr: 1
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.energy_policy: 1
machdep.cpu.xsave.extended_state: 31 832 1088 0
machdep.cpu.xsave.extended_state1: 15 832 256 0
machdep.cpu.arch_perf.version: 4
machdep.cpu.arch_perf.number: 4
machdep.cpu.arch_perf.width: 48
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.fixed_width: 48
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 4
machdep.cpu.cache.size: 256
machdep.cpu.tlb.inst.large: 8
machdep.cpu.tlb.data.small: 64
machdep.cpu.tlb.data.small_level1: 64
machdep.cpu.address_bits.physical: 39
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 2
machdep.cpu.thread_count: 4
machdep.cpu.tsc_ccc.numerator: 166
machdep.cpu.tsc_ccc.denominator: 2

Seems to be the same. I also checked your config against mine and found no difference! The only difference between our laptops seems to be that you have a dedicated GPU (mine only has the integrated Intel graphics). I'm thinking there's probably something trying to pass HEVC encoding onto the dedicated GPU, and then failing to do so.

Also, I don't have a Windows install to double-check, but I'll try to get one working during the next couple of days and report back.

bs3vcenk avatar Jan 07 '21 12:01 bs3vcenk

Okay, thanks for the confirmation. @all-contributors please add @btx3 for testing and contribution.

gajjartejas avatar Jan 07 '21 16:01 gajjartejas

@gajjartejas

I've put up a pull request to add @btx3! :tada:

allcontributors[bot] avatar Jan 07 '21 16:01 allcontributors[bot]