VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. I want to convert to 10-bit but I don't know what pixel format is 10-bit? Do I have to download a ffmpeg.exe that has 10-bit in it because I heard that ffmpeg.exe doesn't natively support 10-bit?
    Quote Quote  
  2. Originally Posted by Hiacios View Post
    I want to convert to 10-bit but I don't know what pixel format is 10-bit? Do I have to download a ffmpeg.exe that has 10-bit in it because I heard that ffmpeg.exe doesn't natively support 10-bit?
    Wrong, 10 bit is supported by ffmpeg - bellow list for (most of them) the high bitdepth (more than 8 bit per component) pixel formats supported by ffmpeg:

    Code:
    Pixel formats:
    I.... = Supported Input  format for conversion
    .O... = Supported Output format for conversion
    ..H.. = Hardware accelerated format
    ...P. = Paletted format
    ....B = Bitstream format
    FLAGS NAME            NB_COMPONENTS BITS_PER_PIXEL
    -----
    IO... gray16be               1            16
    IO... gray16le               1            16
    IO... rgb48be                3            48
    IO... rgb48le                3            48
    IO... yuv420p16le            3            24
    IO... yuv420p16be            3            24
    IO... yuv422p16le            3            32
    IO... yuv422p16be            3            32
    IO... yuv444p16le            3            48
    IO... yuv444p16be            3            48
    IO... bgr48be                3            48
    IO... bgr48le                3            48
    IO... yuv420p9be             3            13
    IO... yuv420p9le             3            13
    IO... yuv420p10be            3            15
    IO... yuv420p10le            3            15
    IO... yuv422p10be            3            20
    IO... yuv422p10le            3            20
    IO... yuv444p9be             3            27
    IO... yuv444p9le             3            27
    IO... yuv444p10be            3            30
    IO... yuv444p10le            3            30
    IO... yuv422p9be             3            18
    IO... yuv422p9le             3            18
    IO... gbrp9be                3            27
    IO... gbrp9le                3            27
    IO... gbrp10be               3            30
    IO... gbrp10le               3            30
    I.... gbrp16be               3            48
    I.... gbrp16le               3            48
    IO... yuva420p9be            4            22
    IO... yuva420p9le            4            22
    IO... yuva422p9be            4            27
    IO... yuva422p9le            4            27
    IO... yuva444p9be            4            36
    IO... yuva444p9le            4            36
    IO... yuva420p10be           4            25
    IO... yuva420p10le           4            25
    IO... yuva422p10be           4            30
    IO... yuva422p10le           4            30
    IO... yuva444p10be           4            40
    IO... yuva444p10le           4            40
    IO... yuva420p16be           4            40
    IO... yuva420p16le           4            40
    IO... yuva422p16be           4            48
    IO... yuva422p16le           4            48
    IO... yuva444p16be           4            64
    IO... yuva444p16le           4            64
    IO... xyz12le                3            36
    IO... xyz12be                3            36
    ..... nv16                   3            16
    ..... nv20le                 3            20
    ..... nv20be                 3            20
    IO... rgba64be               4            64
    IO... rgba64le               4            64
    IO... bgra64be               4            64
    IO... bgra64le               4            64
    IO... yvyu422                3            16
    I.... ya16be                 2            32
    I.... ya16le                 2            32
    I.... gbrap16be              4            64
    I.... gbrap16le              4            64
    IO... yuv420p12be            3            18
    IO... yuv420p12le            3            18
    IO... yuv420p14be            3            21
    IO... yuv420p14le            3            21
    IO... yuv422p12be            3            24
    IO... yuv422p12le            3            24
    IO... yuv422p14be            3            28
    IO... yuv422p14le            3            28
    IO... yuv444p12be            3            36
    IO... yuv444p12le            3            36
    IO... yuv444p14be            3            42
    IO... yuv444p14le            3            42
    IO... gbrp12be               3            36
    IO... gbrp12le               3            36
    IO... gbrp14be               3            42
    IO... gbrp14le               3            42
    I.... bayer_bggr16le         3            16
    I.... bayer_bggr16be         3            16
    I.... bayer_rggb16le         3            16
    I.... bayer_rggb16be         3            16
    I.... bayer_gbrg16le         3            16
    I.... bayer_gbrg16be         3            16
    I.... bayer_grbg16le         3            16
    I.... bayer_grbg16be         3            16
    IO... yuv440p10le            3            20
    IO... yuv440p10be            3            20
    IO... yuv440p12le            3            24
    IO... yuv440p12be            3            24
    IO... ayuv64le               4            64
    ..... ayuv64be               4            64
    I.... gbrap12be              4            48
    I.... gbrap12le              4            48
    Quote Quote  
  3. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    If you do not yet know what it means, then it is doubtful that you have an original video source with more than 8 bit depth per color component...

    Still, you may encode to AVC or HEVC with 10 bit depth of codec internal compression parameters. They are not really related to the attributes of the video source, though. It is possible to compress e.g. 8 bit YUV as raw video source to 10 bit AVC; that may be useful for e.g. cartoons.

    Unfortunately I am not sure how to select matching encoder routines in ffmpeg; x264 has separate encoder binaries for either 8 or 10 bit internal bitdepth, x265 supports several additional libraries to be selected with a special parameter '-D' (but I don't know if ffmpeg will support it in x265opts).
    Last edited by LigH.de; 8th Jun 2016 at 07:41.
    Quote Quote  
  4. Originally Posted by pandy View Post
    Originally Posted by Hiacios View Post
    I want to convert to 10-bit but I don't know what pixel format is 10-bit? Do I have to download a ffmpeg.exe that has 10-bit in it because I heard that ffmpeg.exe doesn't natively support 10-bit?
    Wrong, 10 bit is supported by ffmpeg - bellow list for (most of them) the high bitdepth (more than 8 bit per component) pixel formats supported by ffmpeg:

    Code:
    Pixel formats:
    I.... = Supported Input  format for conversion
    .O... = Supported Output format for conversion
    ..H.. = Hardware accelerated format
    ...P. = Paletted format
    ....B = Bitstream format
    FLAGS NAME            NB_COMPONENTS BITS_PER_PIXEL
    -----
    IO... gray16be               1            16
    IO... gray16le               1            16
    IO... rgb48be                3            48
    IO... rgb48le                3            48
    IO... yuv420p16le            3            24
    IO... yuv420p16be            3            24
    IO... yuv422p16le            3            32
    IO... yuv422p16be            3            32
    IO... yuv444p16le            3            48
    IO... yuv444p16be            3            48
    IO... bgr48be                3            48
    IO... bgr48le                3            48
    IO... yuv420p9be             3            13
    IO... yuv420p9le             3            13
    IO... yuv420p10be            3            15
    IO... yuv420p10le            3            15
    IO... yuv422p10be            3            20
    IO... yuv422p10le            3            20
    IO... yuv444p9be             3            27
    IO... yuv444p9le             3            27
    IO... yuv444p10be            3            30
    IO... yuv444p10le            3            30
    IO... yuv422p9be             3            18
    IO... yuv422p9le             3            18
    IO... gbrp9be                3            27
    IO... gbrp9le                3            27
    IO... gbrp10be               3            30
    IO... gbrp10le               3            30
    I.... gbrp16be               3            48
    I.... gbrp16le               3            48
    IO... yuva420p9be            4            22
    IO... yuva420p9le            4            22
    IO... yuva422p9be            4            27
    IO... yuva422p9le            4            27
    IO... yuva444p9be            4            36
    IO... yuva444p9le            4            36
    IO... yuva420p10be           4            25
    IO... yuva420p10le           4            25
    IO... yuva422p10be           4            30
    IO... yuva422p10le           4            30
    IO... yuva444p10be           4            40
    IO... yuva444p10le           4            40
    IO... yuva420p16be           4            40
    IO... yuva420p16le           4            40
    IO... yuva422p16be           4            48
    IO... yuva422p16le           4            48
    IO... yuva444p16be           4            64
    IO... yuva444p16le           4            64
    IO... xyz12le                3            36
    IO... xyz12be                3            36
    ..... nv16                   3            16
    ..... nv20le                 3            20
    ..... nv20be                 3            20
    IO... rgba64be               4            64
    IO... rgba64le               4            64
    IO... bgra64be               4            64
    IO... bgra64le               4            64
    IO... yvyu422                3            16
    I.... ya16be                 2            32
    I.... ya16le                 2            32
    I.... gbrap16be              4            64
    I.... gbrap16le              4            64
    IO... yuv420p12be            3            18
    IO... yuv420p12le            3            18
    IO... yuv420p14be            3            21
    IO... yuv420p14le            3            21
    IO... yuv422p12be            3            24
    IO... yuv422p12le            3            24
    IO... yuv422p14be            3            28
    IO... yuv422p14le            3            28
    IO... yuv444p12be            3            36
    IO... yuv444p12le            3            36
    IO... yuv444p14be            3            42
    IO... yuv444p14le            3            42
    IO... gbrp12be               3            36
    IO... gbrp12le               3            36
    IO... gbrp14be               3            42
    IO... gbrp14le               3            42
    I.... bayer_bggr16le         3            16
    I.... bayer_bggr16be         3            16
    I.... bayer_rggb16le         3            16
    I.... bayer_rggb16be         3            16
    I.... bayer_gbrg16le         3            16
    I.... bayer_gbrg16be         3            16
    I.... bayer_grbg16le         3            16
    I.... bayer_grbg16be         3            16
    IO... yuv440p10le            3            20
    IO... yuv440p10be            3            20
    IO... yuv440p12le            3            24
    IO... yuv440p12be            3            24
    IO... ayuv64le               4            64
    ..... ayuv64be               4            64
    I.... gbrap12be              4            48
    I.... gbrap12le              4            48
    What pixel format is 10-bit? because I have tested some of those in Myffmpeg but I have not gotten a 10-bit video out of any of the ones I've tried.
    Quote Quote  
  5. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    That's because 10-bit depth for compressed data after a transformation to the frequency domain in x264 or x265 is not related to pixel formats.
    Quote Quote  
  6. Originally Posted by Hiacios View Post
    What pixel format is 10-bit? because I have tested some of those in Myffmpeg but I have not gotten a 10-bit video out of any of the ones I've tried.
    How do you know such things? How do you know if your video is 10 bit or not?
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!