Code: Select all
raspivid -o - -t 0 -w 640 -h 480 -p 0,0,640,480 -b 0 -fps 5 | cvlc -vvv stream:///dev/stdin --noaudio --sout '#rtp{sdp=rtsp://:8554}' --sout-rtp-port=8555 --sout-rtp-port-video=8556 --sout-rtp-port-audio=0 --sout-rtp-rtcp-mux --rtcp-port=8557 --h264-fps=5.0 :demux=h264
I'm also having problems with video streams at 5 fps instead of 30 fps. I see 'ES_OUT_SET... is called too late', and 'ES_OUT_RESET_PCR_CALLED' messages. It's as if there are two slightly different time bases, one for video and one for clvc, that cause buffering problems. But why isn't clvc just wrapping the H264 video stream in RTP as the data is fed to cvlc from raspivid ?
What command string should I use to fix these problems ?
Thank you.