I want to use gstreamer to debug camera modules and test encoding functions such as h264/jpg, but when executing cmd:
“gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1’ ! nvv4l2h264enc ! bitrate=8000000 ! h264parse ! qtmux ! filesink location=/home/nvidia/code/debug/test_h264.mp4 -e”
error:警告: 错误管道: 无组件“nvv4l2h264enc”
I installed jetpack 5.1.3 using sdkmanager and searched for jetpack information:
jetson_release
Software part of jetson-stats 4.2.9 - (c) 2024, Raffaello Bonghi
Model: NVIDIA Orin Nano Developer Kit - Jetpack 5.1.3 [L4T 35.5.0]
NV Power Mode[0]: 10W
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:
- P-Number: p3767-0004
- Module: NVIDIA Jetson Orin Nano (4GB ram)
Platform: - Distribution: Ubuntu 20.04 focal
- Release: 5.10.192-tegra
jtop: - Version: 4.2.9
- Service: Active
Libraries: - CUDA: 11.4.315
- cuDNN: 8.6.0.166
- TensorRT: 8.5.2.2
- VPI: 2.4.8
- Vulkan: 1.3.204
- OpenCV: 4.5.4 - with CUDA: YES
and gstreamer info:
gst-inspect-1.0 --version
gst-inspect-1.0 version 1.16.3
GStreamer 1.16.3
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0