H.264 Encoding - 2023.1 English

H.264/H.265 Video Codec Unit v1.2 Solutions LogiCORE IP Product Guide (PG252)

Document ID
PG252
Release Date
2023-05-16
Version
2023.1 English

Encode input 3840×2160 4:2:0 8-bit (NV12) YUV file to H.264.

gst-launch-1.0 filesrc location="input-file.yuv" ! rawvideoparse format=nv12 width=3840 height=2160 framerate=30/1 ! omxh264enc ! filesink location="output.h264"

Encoding 3840×2160 4:2:2 8-bit (NV16) YUV file to H.264.

gst-launch-1.0 filesrc location="input-file.yuv" ! rawvideoparse format=nv16 width=3840 height=2160 framerate=30/1 ! omxh264enc ! filesink location="output.h264"

Encoding 3840×2160 4:2:0 10-bit (NV12_10LE32) YUV file to H.264.

gst-launch-1.0 filesrc location="input-file.yuv" ! rawvideoparse format=nv12-10le32 width=3840 height=2160 framerate=30/1 ! omxh264enc ! filesink location="output.h264"

Encoding 3840×2160 4:2:2 10-bit (NV16_10LE32) YUV file to H.264.

gst-launch-1.0 filesrc location="input-file.yuv" ! rawvideoparse format=nv16-10le32 width=3840 height=2160 framerate=30/1 ! omxh264enc ! filesink location="output.h264"