Encoder Max frame Size with xavier NX

Dear community,
the datasheet for NX, encode support 4K。
that means 3840 x 2160 ,frame support max width 3840,max height 2160?
my input is a square image ,ep :2500x2500, 2800 x 2800 ?
can you tell me what is the max frame size for encoding one stream using Xavier NX module ?

Br.

Hi,
We try 3840x3840 and it works fine:

$ gst-launch-1.0 videotestsrc num-buffers=1000 ! video/x-raw,width=1280,height=1280 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=3840,height=3840' ! nvv4l2h265enc maxperf-enable=1 ! h265parse ! matroskamux ! filesink location=a.mkv

Please give it a try.

In my program the src image colorFormat is RGBA on gpu ,Follow example 03_video_cuda_enc ,I use the function NvEGLImageFromFd() get the fd and then use NvBufferTransform() change the image colorFormat to NvBufferColorFormat_YUV420_ER, then encode the stream V4L2_PIX_FMT_H264 or V4L2_PIX_FMT_H265.
I try the src image size 2508x2508 ,2536x2536,3840x3840,the encode file is OK,
but 2616x2616,2642x2642 the encode result seems wrong,the file is very small and display all black。
Can you tell me what the problem is happen?
Is there a requirement for image input size for encode or NvBufferTransform?

Hi,
Please try 01_video_encode and check if you observe the issue. By default we have verified standard resolutions such as 1920x1080, 3840x2160. Certain arbitrary resolutions may not work properly. Please confirm you also observe the issue while running 01_video_encode.

01_video_encode is no problem with these image sizes,Some problems occurred form opencv gpumat RGBA nvbuffertransform to YUV420,The problem has been solved。
thanks for your help!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.