Hi all,
I want to do decoding multi-stream RTSP using h264 hardware decoder of jetson nano, but When I use nvv4l2decoder for decoding, Doesn’t work, but omxh264dec is work correctly.
I want to use drop-frame-interval options of nvv4l2decoder, but this option isn’t exist in omxh264dec, my jetson nano system : cuda 10.0 jetpack 4.2.2 opencv 3.4.6 and cuda support and gstreamer support (build from source)
The below code is work correctly, but when I put nvv4l2decoder instead of omxh264dec, the decoder doesn’t work.
I run your code and it doesn’t show me any things, and stuck in this state:
I set my location = rtsp://IP:PORT/1920x1080.264, and I stream the 1920x1080.264 file with live555 from other system and I want to decode with jetson nano.
this rtsp is work correctly with omxh264dec.
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one. Thanks
Here is my pipe:
std::string pipe = "rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! video/x-raw, format=(string)BGRx ! videoconvert ! video/x-raw,format=BGR ! appsink ";
All I get is “Opening in BLOCKING MODE”
nothing else… until Cntl-C to exit.
It works with omxh264dec.
Still trying to get 264 hardware acceleration on VideoCapture.
Running Xavier NX.
dk@XavierNX:~$ gst-inspect-1.0 nvv4l2decoder
Factory Details:
Rank primary + 11 (267)
Long-name NVIDIA v4l2 video decoder
Klass Codec/Decoder/Video
Description Decode video streams via V4L2 API
Author Nicolas Dufresne nicolas.dufresne@collabora.com, Viranjan Pagar vpagar@nvidia.com
Plugin Details:
Name nvvideo4linux2
Description Nvidia elements for Video 4 Linux
Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideo4linux2.so
Version 1.14.0
License LGPL
Source module nvvideo4linux2
Binary package nvvideo4linux2
Origin URL http://nvidia.com/