x264 Transcoder Latency

About encoding, codec settings, muxers and filter usage
ZackAngelo
New Cone
New Cone
Posts: 4
Joined: 04 Aug 2010 16:51

x264 Transcoder Latency

Postby ZackAngelo » 04 Aug 2010 17:11

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.

raulhcordeiro
New Cone
New Cone
Posts: 8
Joined: 23 Jul 2010 18:43

Re: x264 Transcoder Latency

Postby raulhcordeiro » 01 Sep 2010 05:42

try keyint=1


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests