Page 1 of 1

x264 Transcoder Latency

Posted: 04 Aug 2010 17:11
by ZackAngelo
I'm trying to pinpoint the source of latency in a transcoded live HTTP stream. The transcoded stream is 60 seconds behind the source, seems like a lot. Here's the command I'm using:

Code: Select all

vlc -vvv --logfile=gmfcam1.log --logmode=text --log-verbose=2 --mms-caching 0 rtsp://xxx.xxx.xxx.xxx/axis-media/media.amp --sout=#transcode{threads=2,vcodec=h264,vb=256,fps=15,scale=1,venc=x264{aud,profile=baseline,level=30,keyint=15,bframes=0,ref=1,nocabac},acodec=none}:duplicate{dst=std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=C:\iphone\gmfcam1\playlist.m3u8,index-url=http://xxx.xxx.xxx.xxx/iphone/gmfcam1/########.ts},mux=ts{use-key-frames},dst=C:\iphone\gmfcam1\########.ts}}
I know that the latency isn't coming from the source because when I stream it in the player, it works fine. Any help would be greatly appreciated.

Re: x264 Transcoder Latency

Posted: 01 Sep 2010 05:42
by raulhcordeiro
try keyint=1