decode h264 with NVCUVID

Andressio www.andreabertolaso at gmail.com
Thu May 23 15:04:23 UTC 2019


Hello all,I am trying to decode a H264 rtsp stream expoiting NVCUVID via
GStreamer.My GPU card is NVIDA RTX 2080.I ultimately need to decode frames
and have access to raw rgb data form CPUfor further image processing.I built
Gstreamer 1.16 with Cerbero since the nvdec plugin is notavailable on my
stock distro (Ubuntu 18.04 LTS). The best pipeline that I managed to put
toghether is:     gst-launch-1.0 rtspsrc
location="rtsp://root:root@192.168.0.91:554/axis-   
media/media.amp?videocodec=h264&resolution=3840x2160&fps=25"   
protocols=GST_RTSP_LOWER_TRANS_TCP latency=0 ! rtph264depay ! h264parse !   
nvdec ! gldownload ! fpsdisplaysink sync=falseThe problem: this pipeline
shows only completely green frames but the fps counter increases,
theframerate is consistent with the camera fps and nvidia-smi shows that
theprocess is using some gpu memory.Anyone has an idea about how to fix it?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190523/d3e9d7d5/attachment.html>


More information about the gstreamer-devel mailing list