Page 1 of 1
how do i reduce delay in live streaming?
Posted: 08 Apr 2009 07:11
by ass
hi,
We are trying to reduce the time delay of 5 seconds to a delay of atleast one second for streaming a live video.
We use fedora core-8 as our OS and HP loptop webcam. We are streaming to 2 clients with FC-8 as the OS again. Can anybody help? And yeah, We r using transcoding in our command line. Is that the cause of the 5 seconds delay? Does any1 know a command without the transcode statement?
Thanks in advance.
Re: how do i reduce delay in live streaming?
Posted: 08 Apr 2009 10:54
by rh
you should give us your transcoding line ...
btw in most cases you should use high efficient codecs like x264/faac, cache settings, low transmission rates and low video size like 400x224. do you have a low bandwidth lan ?
Re: how do i reduce delay in live streaming?
Posted: 08 Apr 2009 12:27
by ass
hi,
We use the following command line:
vlc -vvv --color v4l2:///dev/video:norm=secam:size=640x480 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000}:rtp{mux=ts,dst=239.255.12.13,port=5004}' --ttl 12
Yes we are using a low bandwidth LAN.
Thanks for your reply.
Re: how do i reduce delay in live streaming?
Posted: 08 Apr 2009 12:50
by ass
hi again,
Also, i wanted to know if i could reduce the buffer.
Re: how do i reduce delay in live streaming?
Posted: 08 Apr 2009 14:16
by Rémi Denis-Courmont
Take a lower value for --v4l2-caching, but zero is unlikely to work right.
Re: how do i reduce delay in live streaming?
Posted: 09 Apr 2009 09:38
by ass
Thanks, but we tried doing that.. It didn't work.. Is there another method to do it??
Re: how do i reduce delay in live streaming?
Posted: 09 Apr 2009 09:43
by Rémi Denis-Courmont
No.
Re: how do i reduce delay in live streaming?
Posted: 09 Apr 2009 20:27
by tinyang
Hi,
I was doing the same thing as you, streaming over a LAN, and I was able to reduce the lag time on my stream. I used mjpeg video codec with mp4 encapsulation (no audio mind you) and when I increased my FPS for mjpeg the lag was considerably less. My mjpeg frame rate was in the range of 3 to 12 FPS. Hope this helps.
Re: how do i reduce delay in live streaming?
Posted: 24 Apr 2009 06:23
by ass
thanks... it would be nice if you could send me the command that you are using..