Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to forward stream from pipeline to another #124

Open
hoonkai opened this issue Apr 12, 2022 · 0 comments
Open

Unable to forward stream from pipeline to another #124

hoonkai opened this issue Apr 12, 2022 · 0 comments

Comments

@hoonkai
Copy link

hoonkai commented Apr 12, 2022

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.

Does anyone know why the stream can't be forwarded from one pipeline to another?

Any advice appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant