I have a IP camera that I want to stream to an Ipad using HLS. I am currently using the command
vlc -vvv rtsp://admin:9999@10.1.1.252/PSIA/Streaming/channels/h264 --sout=#transcode{vcodec=h264,vb=2000,venc=x264{keyint=30}}:duplicate{dst=std{access=livehttp{seglen=2,splitanywhere=true,delsegs=true,numsegs=3,index=e:\html\cam1.m3u8,index-url=http://10.1.1.41:90/cam1-########.ts},m ... lect=video}
Everything is working pretty well apart from there being approximately a 9 second lag from the real camera image compared to when it is shown on the Ipad. I appreciate there are a number of reasons why some delay is inevitable, but does anyone have any suggestions on any settings that may improve this? I am assuming if I can reduce the initial buffer that vls uses that this may help?
when I first launch the above command there is a 7 second delay until the first HLS file is written.
In case anyone is wondering why I am converting H264 to H264.... The video camera doesn't output a h264 stream that can be straight converted to HLS hence I am forced to transcode.....