pipeless-ai / pipeless

An open-source computer vision framework to build and deploy apps in minutes
https://pipeless.ai
Apache License 2.0
706 stars 32 forks source link

Error: Your Gstreamer installation is missing a plug-in #153

Open kyuhoJeong11 opened 1 month ago

kyuhoJeong11 commented 1 month ago

I downloaded GStreamer by following the "Get Started" page of the Pipeless documentation. After installing Pipeless, I uploaded a custom model to create a Pipeless stage server. However, when I proceed with inference using an RTSP input, the loop terminates with the following error:

[2024-08-08T02:01:09Z INFO  warp::server] Server::run; addr=0.0.0.0:3030
[2024-08-08T02:01:09Z INFO  warp::server] listening on http://0.0.0.0:3030
[2024-08-08T02:01:11Z WARN  pipeless_ai::config::adapters::rest] Restart policy not specified for stream, defaulting to 'never'
[2024-08-08T02:01:11Z INFO  pipeless_ai::dispatcher] New stream entry detected, creating pipeline
0:00:05.417153896 4175359 0x756764021330 WARN                GST_RUST element_factory.rs:290:gstreamer::element_factory::ElementBuilder::build::{{closure}}: element factory 'nvvidconv' not found
0:00:05.537205366 4175359 0x7566dc0013a0 FIXME                default gstutils.c:4025:gst_pad_create_stream_id_internal:<fakesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:05.537757260 4175359 0x7566dc0017c0 FIXME                default gstutils.c:4025:gst_pad_create_stream_id_internal:<fakesrc1:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:05.598270018 4175359 0x7566dc002c60 WARN                 default descriptions.c:1233:gst_pb_utils_get_codec_description: No description available for media type: application/x-rtp
0:00:05.598375972 4175359 0x7566dc002c60 WARN                parsebin gstparsebin.c:3470:gst_parse_bin_expose:<parsebin0> error: no suitable plugins found:
Missing parser: application/x-rtp (application/x-rtp, media=(string)application, payload=(int)107, clock-rate=(int)90000, encoding-name=(string)VND.ONVIF.METADATA, a-recvonly=(string)"", clock-base=(uint)2946597005, seqnum-base=(uint)55083, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1, onvif-mode=(boolean)false, ssrc=(uint)2591129181)

[2024-08-08T02:01:12Z ERROR pipeless_ai::input::pipeline] Error in input gst pipeline from element parsebin0.
                    Pipeline id: 834d201c-e83f-4832-8e59-d785fb6cccc7. Error: Your GStreamer installation is missing a plug-in.
[2024-08-08T02:01:12Z ERROR pipeless_ai::pipeline] Stopping stream for pipeline: 834d201c-e83f-4832-8e59-d785fb6cccc7 due to input stream error: Your GStreamer installation is missing a plug-in.
[2024-08-08T02:01:12Z INFO  pipeless_ai::dispatcher] Stream config entry removed. Stopping associated pipeline
[2024-08-08T02:01:12Z INFO  pipeless_ai::events] Stream loop stopped
0:00:05.599630871 4175359 0x7566dc000b70 WARN                 rtspsrc gstrtspsrc.c:6526:gst_rtsp_src_receive_response:<rtspsrc0> receive interrupted
0:00:05.599704296 4175359 0x7566dc000b70 WARN                 rtspsrc gstrtspsrc.c:6624:gst_rtspsrc_try_send:<rtspsrc0> receive interrupted
0:00:05.599718783 4175359 0x7566dc000b70 WARN                 rtspsrc gstrtspsrc.c:9037:gst_rtspsrc_pause:<rtspsrc0> PAUSE interrupted

my rtsp stream input example example) rtsp://user:password@domain:port/endpoints

I have tried various methods, but I have not been able to resolve the issue yet. Do you have any solutions for this problem?

miguelaeh commented 1 month ago

Hi @kyuhoJeong11 ,

Gstreamer has a plugin system to support different protocols. Ensure you have the rtsp one installed. You can use the gst-inspect tool for it