Open hoonkai opened 2 years ago
I'm trying to following the Example: https://developer.ridgerun.com/wiki/index.php?title=GstInterpipe_-_Example_1:_CCTV but with streams and without switching to keep things simple. Here's how the pipelines are setup:
echo -e "\n ====> Create the pipe_1_src \n" gstd-client pipeline_create pipe_1_src rtspsrc location=rtsp://192.168.100.60/stream1 latency=0 ! queue ! interpipesink name=src_1 gstd-client pipeline_create pipe_3_sink interpipesrc name=interpipesrc1 listen-to=src_1 \ rtph264depay ! h264parse ! flvmux name=mux streamable=true ! \ rtmpsink sync=false async=false location='rtmp://192.168.100.55/sink' echo -e "\n ====> Change to PLAYING STATE \n" gstd-client pipeline_play pipe_1_src gstd-client pipeline_play pipe_3_sink sleep 100 gstd-client pipeline_delete pipe_1_src gstd-client pipeline_delete pipe_3_sink
The Gstreamer pipeline gst-launch-1.0 rtspsrc location="rtsp://192.168.100.60/stream1" latency=0 ! rtph264depay ! h264parse ! flvmux name=mux streamable=true ! rtmpsink sync=false async=false location='rtmp://192.168.100.55/sink live=true' works perfectly fine on ffplay, however.
gst-launch-1.0 rtspsrc location="rtsp://192.168.100.60/stream1" latency=0 ! rtph264depay ! h264parse ! flvmux name=mux streamable=true ! rtmpsink sync=false async=false location='rtmp://192.168.100.55/sink live=true'
ffplay
Does anyone know why the stream can't be forwarded from one pipeline to another?
Any advice appreciated.
I'm trying to following the Example: https://developer.ridgerun.com/wiki/index.php?title=GstInterpipe_-_Example_1:_CCTV but with streams and without switching to keep things simple. Here's how the pipelines are setup:
The Gstreamer pipeline
gst-launch-1.0 rtspsrc location="rtsp://192.168.100.60/stream1" latency=0 ! rtph264depay ! h264parse ! flvmux name=mux streamable=true ! rtmpsink sync=false async=false location='rtmp://192.168.100.55/sink live=true'
works perfectly fine onffplay
, however.Does anyone know why the stream can't be forwarded from one pipeline to another?
Any advice appreciated.