Streaming RTSP over LTE

About encoding, codec settings, muxers and filter usage
JirkaRCK
New Cone
New Cone
Posts: 2
Joined: 27 Jun 2018 10:38

Streaming RTSP over LTE

Postby JirkaRCK » 27 Jun 2018 10:47

Good morning,
I would like to ask the question about how to improve performance while streaming over LTE (or WiFi or another packet loosing interface) with RTSP. Upload of LTE is fast enought. I have tried streaming rtsp from commercial CCTV IP cameras with build-in rtsp server with good result. I have tried also streaming from VLC. Client can connect to stream, but there are a lot of artefacts in the picture. It nearly does not work. Everything is ok over metalic LAN. Is there a way how to improve that and stream over wireless network which looses packets? Is there also any way how to set up connection live timeout to bridge signal failure with artefacts/black screen but without disconnection?
Many thanks in advance! :-)

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Streaming RTSP over LTE

Postby Rémi Denis-Courmont » 27 Jun 2018 18:37

Either you use RTSP but it's lossy, or you use HTTP but it's slow.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

JirkaRCK
New Cone
New Cone
Posts: 2
Joined: 27 Jun 2018 10:38

Re: Streaming RTSP over LTE

Postby JirkaRCK » 03 Jul 2018 18:31

Thank You for reply. I have tried both http and rtsp protocol. I have also tried setting "RTSP over RTP (TCP)" to force TCP packets in VLC preferences on client side on my desktop but without any improvement. Everything works ok over metalic LAN.

This is my command for http:

Code: Select all

cvlc -vvv v4l2:///dev/video0:input=1:standard=PAL:width=512:height=320 --sout "#transcode{threads=4,vcodec=mp4v,vb=2000}:standard{access=http,mux=oggr,dst=:8080}" -Vdummy
This is my command for rtsp:

Code: Select all

cvlc -vvv v4l2:///dev/video0:input=1:standard=PAL:width=320:height=240 --sout "#transcode{threads=4,vcodec=mp4v,vb=2000}:rtp{port=8080,sdp=rtsp://:8080/stream0}" -Vdummy


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 38 guests