Multiple RTSP streaming using nvcodec fails
Hi There,
When I try to stream 3 RTSP stream using gst-rtsp-server/examples/test-launch.c, I get the following error, from the third streaming instance. First two instance of the same pipeline works fine, only from the thrid instance, I face the following error.
./test-launch --port=8561 "rtspsrc location=rtsp://192.168.x.x/ ! rtph264depay ! h264parse ! nvh264dec ! videoconvert ! videoscale ! video/x-raw,width=640,height=480 ! nvh264enc ! h264parse ! rtph264pay name=pay0 pt=96"
0:00:14.199917995 13 0x55aaeea80540 ERROR GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "nvh264enc"
0:00:14.199937286 13 0x55aaeea80540 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no sink [source=@0x7f15cc0de8d0]
0:00:14.199955866 13 0x55aaeea80540 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no source [sink=@0x7f15cc5a56c0]
0:00:18.501516789 13 0x7f1588004d90 ERROR nvdec gstnvdec.c:1092:gst_nvdec_decide_allocation:<nvh264dec0> failed to create OpenGL context
0:00:34.218310984 13 0x55aaeea80540 ERROR rtspclient rtsp-client.c:1079:find_media: client 0x55aaeec25710: can't prepare media
0:00:34.235106546 13 0x55aaeea80540 ERROR rtspclient rtsp-client.c:3165:handle_describe_request: client 0x55aaeec25710: no media
Any pointers will be really helpful.
Thanks,
Naresh Ganesan