How do I stop buffering on the transmit end when streaming?
Posted: 10 Nov 2017 20:53
I'm trying to encode a h.264 960x540 @ 10 fps stream into rtsp. It constantly buffers on both the transmit end and the receive end. The stream usually only stays up for less than a minute on VLC Media Player on a PC. I set caching on the PC to 15000 mS, but it does not seem to help. Both transmitter and receiver are on the same wired LAN. I'm encoding on a RaspberryPi B+, which is about 95% idle.
Here's the command I'm using:
What should I be using ?
Note: My source is 10 fps. Do I need to account for it ?
On a related note, is there a way to make VLC Media Player automatically reconnect when the stream drops out ?
Thank you.
Here's the command I'm using:
Code: Select all
cvlc </home/vout1 -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/}' :demux=h264
Note: My source is 10 fps. Do I need to account for it ?
On a related note, is there a way to make VLC Media Player automatically reconnect when the stream drops out ?
Thank you.