I want to output a rstp stream and i attation to this config :
[sink1]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=mp4 2=mkv
container=2
#1=h264 2=h265 3=mpeg4
## only mpeg4 is supported right now.
codec=1
sync=0
bitrate=1000
# set below properties in case of RTSPStreaming
rtsp-port=8554
udp-port=5400
source-id=0
[sink2]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=3
#1=mp4 2=mkv
container=2
#1=h264 2=h265 3=mpeg4
## only mpeg4 is supported right now.
codec=3
sync=0
bitrate=1000
output-file=out_1.mp4
source-id=0
I get the right output file . and i try to telnet 127.0.0.1 8554 ,Itâs ok!
But I get error when I used vlc client mediaâ>open network streamâ> networkâ>rtsp://127.0.0.1:8554
The error like this:
VLC can not open MRL ârtsp://127.0.0.1:8554âăplease check log in detail.
so ,how can i get my rstp output stream ?
bcao
July 12, 2019, 2:49am
2
Could you provide your DS version and platform you used?
My ds version is ver 3.0 ,and ubuntu 16.04 used.Anything is correct except rstp sink. so,itâs right for vlc url?
ensure you have installed gstreamer
and you can try this:
https://devtalk.nvidia.com/default/topic/1047633/yolo-for-deepstream-app/?offset=26
sudo apt-get install libgstrtspserver-1.0
Hope can help =]
CJR
July 18, 2019, 6:07am
5
I want to output a rstp stream and i attation to this config :
[sink1]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=mp4 2=mkv
container=2
#1=h264 2=h265 3=mpeg4
## only mpeg4 is supported right now.
codec=1
sync=0
bitrate=1000
# set below properties in case of RTSPStreaming
rtsp-port=8554
udp-port=5400
source-id=0
[sink2]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=3
#1=mp4 2=mkv
container=2
#1=h264 2=h265 3=mpeg4
## only mpeg4 is supported right now.
codec=3
sync=0
bitrate=1000
output-file=out_1.mp4
source-id=0
I get the right output file . and i try to telnet 127.0.0.1 8554 ,Itâs ok!
But I get error when I used vlc client mediaâ>open network streamâ> networkâ>rtsp://127.0.0.1:8554
The error like this:
VLC can not open MRL ârtsp://127.0.0.1:8554âăplease check log in detail.
so ,how can i get my rstp output stream ?
The URL you are using to stream the video is not correct, the full URL where the stream is available is printed in application log on the console. Please check the logs for the correct URL.
yes,I check the log and get the current url.
but,I notice the url with some string same like âdstestâ,how can I change the url suffix?
CJR
July 22, 2019, 4:55pm
7
Have a look at âstart_rtsp_streamingâ function in deepstream_sink_bin.c file.
Hi, I want to get rtsp streaming sinkâs output, too.
But I met this error when I forwarded the rtsp streaming
[tcp @ 0x556e812d92e0] Connection to tcp://<server-IP>:554?timeout=0 failed: Connection refused
rtsp://<server-IP>:554/ds-test: Connection refused
how can I solve itïŒ
Thanks!
2 Likes