Nvenc encoder has no output

My platfrom is AGX Xaiver(16G), I try to encode the yuv frame into H.264 with nvenc encoder. The application doesn’t work after a period of time, I can get buffer from capture_plane, but the size is always is 0. How to deal this ? where can I get more usefull information?

Hi,
Please share which release version you are using. And do you run this sample:

/usr/src/jetson_multimedia_api/samples/01_video_encode

HI DaneLLL
The version info is as below:

  • Jetson-AGX
    • Jetpack UNKNOWN [L4T 35.1.0]
    • NV Power Mode: MAXN - Type: 0
    • jetson_stats.service: active
  • Libraries:
    • CUDA: 11.4.239
    • cuDNN: 8.4.1.50
    • TensorRT: 8.4.1.5
    • OpenCV: 4.5.4 compiled CUDA: NO
    • VPI: 2.1.6
    • Vulkan: 1.3.203

I have already tried the sample, it works. Please tell me where can I get more nvenc logs, thanks.

Hi,
We would suggest upgrade to Jetpack 5.1(r35.2.1) and give it a try. Or if Kernel 4.9 is good for you, you may try Jetpack 4.6.3(r32.7.3)

Hi,
Any way to get more detail? or where can I get nvenc driver log?

Hi,
You can add --dbg-level 3 to get more log prints:

01_video_encode$ ./video_encode 1080.yuv 1920 1080 H264 a.264 --dbg-level 3

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