Code: Select all
vlc ".$chan[0]." -I dummy --sout='#transcode{width=480,height=320,fps=25,vcodec=h264,vb=256,venc=x264{aud,profile=baseline,level=30,keyint=30,ref=1},acodec=mp3,ab=96}:std{access=livehttp{seglen=5,delsegs=true,numsegs=5,index=/var/tmp/tv/tv.m3u8,index-url=http://tv.********/mystream-########.ts},mux=ts{use-key-frames},dst=/var/tmp/tv/mystream-########.ts}'
What I've noticed is that playlist is updated after a whole segment is done (so no item for segment2 until segment3 begins to process). So I should always be one segment ahead. I think I have something incorrectly configured, but was not able to figure out what it is.
Did i miss some parameter?