Encoding 3840×2160 4:2:0 8-bit (NV12) YUV file to H.265.
gst-launch-1.0 filesrc location="input-file.yuv" ! rawvideoparse format=nv12 width=3840 height=2160 framerate=30/1 ! omxh265enc ! filesink location="output.h265"
Encoding 3840×2160 4:2:2 8-bit (NV16) YUV file to H.265.
gst-launch-1.0 filesrc location="input-file.yuv" ! rawvideoparse format=nv16 width=3840 height=2160 framerate=30/1 ! omxh265enc ! filesink location="output.h265"
Encoding 3840×2160 4:2:0 10-bit (NV12_10LE32) YUV file to H.265.
gst-launch-1.0 filesrc location="input-file.yuv" ! rawvideoparse format=nv12-10le32 width=3840 height=2160 framerate=30/1 ! omxh265enc ! filesink location="output.h265"
Encoding 3840×2160 4:2:2-10-bit (NV16_10LE32) YUV file to H.265.
gst-launch-1.0 filesrc location="input-file.yuv" ! rawvideoparse format=nv16-10le32 width=3840 height=2160 framerate=30/1 ! omxh265enc ! filesink location="output.h265"
Note: The command lines above assume the file
input-file.yuv is in the format specified.