Lossless H264/HEVC

Hi,
For lossless encoding, we support it in h264 with YUV444 input frames. On Xavier NX, it cannot achieve 2464x2056p60:

01_video_encode$ gst-launch-1.0 videotestsrc num-buffers=300 !  'video/x-raw, width=(int)2464, height=(int)2056, format=(string)Y444'  ! filesink location=~/origin.yuv
01_video_encode$ ./video_encode ~/origin.yuv 2464 2056 H264 ~/out.264 --elossless -p high444 --max-perf --stats
Creating Encoder in blocking mode
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
875967048
875711833
H264: Profile = 244, Level = 51
NVMEDIA_ENC: bBlitMode is set to TRUE
Could not read complete frame from input file
File read complete.
Got 0 size buffer in capture
----------- Element = enc0 -----------
Total Profiling time = 10.0828
Average FPS = 29.8528
Total units processed = 302
Average latency(usec) = 320624
Minimum latency(usec) = 44855
Maximum latency(usec) = 338952
-------------------------------------
App run was successful

So you may look for other hardware platforms. Or may consider to encode YUV420.