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

Toy example based on the Toolbox Demo #289

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

Toy example based on the Toolbox Demo #289

hoonkai opened this issue Apr 12, 2022 · 0 comments

Comments

@hoonkai
Copy link

hoonkai commented Apr 12, 2022

Hi all

I'm playing with the Toolbox Demo https://developer.ridgerun.com/wiki/index.php?title=RidgeRun_Toolbox_Demo but I'm running into some trouble. My camera is already giving a H264 stream, so it shouldn't need encoding. Instead, I'm trying to forward the stream to RTMP and read it from another endpoint on the RTMP server. Here's my pipeline:

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

I'd expect pipe_3_sink to listen to src_ and forward to RTMP, but I'm not getting anything on ffplay when listening on the RTMP server's endpoint. Does anyone know what might be wrong?

Thank you

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