PRORES to H.265 Mov / VP9 WebM - Export with Alpha Channel

  • Hi!

    I have a big short video in PRORES 4:4:4 with Alpha Channel, and i want to compress it with Premiere Pro + Voukoder with x265/Mov (or M4V) and VP9/WebM compression... mantaining the alpha channel of original PRORES video.

    But If i try to export it with Voukoder, even in 4:4:4, the video is always without alpha channel in converted video.


    It's possible export the alpha channel with Voukoder with this compressed format videos? ;(

    Thanks a lot! :)

    ps. I use the latest version of Premiere Pro v.22 + Voukoder 10.1

    Einmal editiert, zuletzt von JakSpoon (13. November 2021 um 08:47)

    • Offizieller Beitrag

    Yes, the format might support this but the libx265 encoder does not accept input formats with alpha channels (yuva):

    Code
    Encoder libx265 [libx265 H.265 / HEVC]:
        General capabilities: delay threads
        Threading capabilities: other
        Supported pixel formats: yuv420p yuvj420p yuv422p yuvj422p yuv444p yuvj444p gbrp yuv420p10le yuv422p10le yuv444p10le gbrp10le yuv420p12le yuv422p12le yuv444p12le gbrp12le gray gray10le gray12le

    VP9 does:

    Code
    Encoder libvpx-vp9 [libvpx VP9]:
        General capabilities: delay threads
        Threading capabilities: other
        Supported pixel formats: yuv420p yuva420p yuv422p yuv440p yuv444p yuv420p10le yuv422p10le yuv440p10le yuv444p10le yuv420p12le yuv422p12le yuv440p12le yuv444p12le gbrp gbrp10le gbrp12le
  • Yes, the format might support this but the libx265 encoder does not accept input formats with alpha channels (yuva):

    Code
    Encoder libx265 [libx265 H.265 / HEVC]:
        General capabilities: delay threads
        Threading capabilities: other
        Supported pixel formats: yuv420p yuvj420p yuv422p yuvj422p yuv444p yuvj444p gbrp yuv420p10le yuv422p10le yuv444p10le gbrp10le yuv420p12le yuv422p12le yuv444p12le gbrp12le gray gray10le gray12le

    VP9 does:

    Code
    Encoder libvpx-vp9 [libvpx VP9]:
        General capabilities: delay threads
        Threading capabilities: other
        Supported pixel formats: yuv420p yuva420p yuv422p yuv440p yuv444p yuv420p10le yuv422p10le yuv440p10le yuv444p10le yuv420p12le yuv422p12le yuv440p12le yuv444p12le gbrp gbrp10le gbrp12le

    WTF... Apple HEVC "standard" can manage the Alpha Channel and the x265 does not?? Incredible!

    • Offizieller Beitrag

    Not in FFmpeg:

    Code
    Encoder hevc_nvenc [NVIDIA NVENC hevc encoder]:
        General capabilities: dr1 delay hardware
        Threading capabilities: none
        Supported hardware devices: cuda cuda d3d11va d3d11va
        Supported pixel formats: yuv420p nv12 p010le yuv444p p016le yuv444p16le bgr0 rgb0 cuda d3d11

    The thing is: It doesn't really make sense to have alpha in this kind of lossy codecs. You use h264/h265 as the final output format of your project.

    When creating i.e. an overlay in AfterEffects to import this in Premiere again you would use ProRes or other lossless(y) intermediate formats. Esp. with alpha information you dont want to have any encoding artifacts.

    What is your use case?

  • Not in FFmpeg:

    Code
    Encoder hevc_nvenc [NVIDIA NVENC hevc encoder]:
        General capabilities: dr1 delay hardware
        Threading capabilities: none
        Supported hardware devices: cuda cuda d3d11va d3d11va
        Supported pixel formats: yuv420p nv12 p010le yuv444p p016le yuv444p16le bgr0 rgb0 cuda d3d11

    The thing is: It doesn't really make sense to have alpha in this kind of lossy codecs. You use h264/h265 as the final output format of your project.

    When creating i.e. an overlay in AfterEffects to import this in Premiere again you would use ProRes or other lossless(y) intermediate formats. Esp. with alpha information you dont want to have any encoding artifacts.

    What is your use case?

    I work for a company specialized in web marketing:

    I need to compress this short 3D animated video, which will be used for an advertisement on a HTML5 website, so I need to keep the alpha channel but reducing A LOT the video file size.

    Einmal editiert, zuletzt von JakSpoon (22. November 2021 um 09:42)