Jetson Jetpack 5.0 R35 Camera encode using v4l2 and Multimedia API issue

My device information is as follows:
Model: Jetson AGX Orin
L4T:35.1.0
Jetpack: 5.0.2 GA
ubuntu 20.04
aarch64

i’m working on a special application on Jetson AGX orin which have the following data flow :

[camera]-----UYVY------>[VIC]----YUV420----->[NVENC]----H264---->[file]
I have referred to the following link:

1、https://docs.nvidia.com/jetson/l4t-multimedia/l4t_mm_01_video_encode.html

2、

3、https://forums.developer.nvidia.com/t/encode-frames-using-nvenc-v4l2/183424/12

And I have modified some code so that it can be compiled and passed on my machine

But no files were generated, and coredump occurred during “qBuffer”,
This is my code:
camera_v4l2_cuda.h (3.3 KB)
camera_v4l2_cuda.cpp (32.8 KB)

Can someone help me solve this problem? It has been bothering me for a long time

I will re upload the code I am currently using, removing the debugging information
camera_v4l2_cuda.cpp (30.5 KB)
camera_v4l2_cuda.h (3.3 KB)

can someone help me? thanks

Looks like you posted in the wrong category.
This was moved to the Jetson forums so the engineers have visibility.

https://forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/70

Hi,
This is duplicate and let’s continue in
How to use v4l2 to capture videos in Jetson Orin r35 Jetpack 5.0 and encode them using a hardware encoding chip - #3 by DaneLLL

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