Reducing Latency?

About encoding, codec settings, muxers and filter usage
greyt
New Cone
New Cone
Posts: 1
Joined: 17 Aug 2013 18:52

Reducing Latency?

Postby greyt » 17 Aug 2013 19:00

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.....

gautham
New Cone
New Cone
Posts: 8
Joined: 22 Aug 2009 06:09

Re: Reducing Latency?

Postby gautham » 14 Apr 2014 13:57

Did you find an answer to this?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 2 guests