Push RTMP stream to RTMP server: No filename given

I’m trying to push a RTMP stream to a RTMP server. This is the pipeline:

gst-launch-1.0 -e rtmpsrc location="rtmp://localhost/test_sink live=true" ! \
flvmux streamable=true ! queue ! rtmpsink sync=true async=true location='rtmp://192.168.100.55/app live=true'

But I keep getting the error:

Setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GstRTMPSrc:rtmpsrc0: Could not open resource for reading.
Additional debug info:
../ext/rtmp/gstrtmpsrc.c(635): gst_rtmp_src_start (): /GstPipeline:pipeline0/GstRTMPSrc:rtmpsrc0:
No filename given
ERROR: pipeline doesn't want to preroll.
ERROR: from element /GstPipeline:pipeline0/GstRTMPSrc:rtmpsrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3557): gst_base_src_start (): /GstPipeline:pipeline0/GstRTMPSrc:rtmpsrc0:
Failed to start
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...

It seems to expect a filename for rtmpsrc. Does anyone know what might be wrong?

Read more here: Source link