Hardware Video Encoder -- Output Format: H.264/H.265, Input Formats??

Hello All,

In Jetson Tx2, in Video encoder, the output format is: H.264 / H.265.
What are the input formats it accepts?
Whether the video encoder can take the input format of YUV422?
Please confirm.

In L4T, in Jetson TX2 Series Software Features, Video Encoders section,
the details are as: (The below details are in table format)

Video Encode | Input Formats | Sampling Frequency and Bit rate/Frame rate

H.264 | I420, NV12, NVMM:I420, NVMM:NV12 | 3840 x 2160 at 30 fps
Up to 120 Mbps

H.265 | I420, NVMM:I420, NVMM:NV12, | 3840 x 2160 at 30 fps
NVMM:I420_10LE Up to 100 Mbps

In Tegra Multimedia API document, in V4L2 Video Encoder,
(The below details are in table format)

Supported Pixelformats

OUTPUT PLANE | CAPTURE PLANE
V4L2_PIX_FMT_YUV420M V4L2_PIX_FMT_H264

  •                V4L2_PIX_FMT_H265 
    

Here, they did not give the YUV422 format.
Whether Video encoder does support the YUV422 input format?

To support the YUV422 input format, what we need to do? Any ideas?

-Thanks.

Hi,
YUV422 is not supported.
In gstreamer, it supports YUV420 8-bit and YUV420 10-bit.
In tegra_multiemdia_api, it supports YUV420 8-bit.