Error: gst-resource-error-quark: Could not write to resource. (10): gstrtmpsink.c(286): gst_rtmp_sink_render ():

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - Jetson Nano
• DeepStream Version - 6.0.1
• JetPack Version (valid for Jetson only) - 4.6.3
• TensorRT Version - 8.2
• NVIDIA GPU Driver Version (valid for GPU only) - 10.2
• Issue Type( questions, new requirements, bugs)
Error: gst-resource-error-quark: Could not write to resource. (10): gstrtmpsink.c(286): gst_rtmp_sink_render (): /GstPipeline:pipeline0/GstRTMPSink:rtmpsink-6: Failed to write data

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
pipeline,
pipeline.dot (289.3 KB)

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
how to solve this issue?

With SRS rtmp server and following command

gst-launch-1.0 uridecodebin uri=rtsp://xxxx ! nvv4l2h264enc ! h264parse ! flvmux !  rtmpsink location=rtmp://rtmpserverip/live/livestream

I can publish rtmp successfully?

Can you share log with GST_DEBUG=3 ?
I recommend you to use SRS, this rtmp server is great

I am using nginx rtmp server.
I can also able to publish successfully, but sometimes I got that error. I don’t know why this error comes.

I will share log file. But I don’t know when I will get this error, sometimes it will run for 2 days, sometimes the error comes after 8 hours or 4 hours. Literally I don’t know when will this error comes.

Is it caused by the disconnection of the input stream?

You can get the error message from the following function.

static gboolean bus_call (GstBus * bus, GstMessage * msg, gpointer data)

Doesn’t look like a problem with DeepStream.

Thanks

I not getting any error other than this
Error: gst-resource-error-quark: Could not write to resource. (10): gstrtmpsink.c(286): gst_rtmp_sink_render (): /GstPipeline:pipeline0/GstRTMPSink:rtmpsink-6: Failed to write data

I am getting stream from rtsp. If it is caused by the disconnection of the input stream, how to resolve this error, like using leaky in queue or any other.

Are you using deepstream-app or nvurisrcbin ?

You can try to configure the value of rtsp-reconnect-interval property.

gst-inspect-1.0 nvurisrcbin // got more information

Or try reconnect by yourself

I am using deepstream python

You can try replace rtspsrc element to nvurisrcbin and configure the property mentioned above.

Thanks

actually I am using uridecodebin.

My description is not accurate enough

I tried the following command

gst-launch-1.0 nvurisrcbin uri=rtsp://xxxx/media/video1 cudadec-memtype=0 ! nvvidconv ! nvv4l2h264enc ! h264parse ! flvmux  ! rtmpsink location=rtmp://xxxx/live/livestream

Maybe just replace uridecodebin to nvurisrcbin is enough.

There is no update from you for a period,
assuming this is not an issue anymore.
Hence we are closing this topic.
If need further support, please open a new one. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.