[streaming] Re: Control flow rate

Jean-Paul Saman saman at natlab.research.philips.com
Tue May 20 09:58:46 CEST 2003


manel.jesus.mendoza at estudiant.upc.es wrote:
> I need to develop a simple video streaming and I need to control the
> rate of the server. But I don't Know how ca I implement the signals
> because the presision of that is about 100 microseconds.I prove the
> fuctions alarm, setitimer and other timers but any are presicion for
> control the packets for send. 

Explain further, because I do not get what exactly you want to control.

If you are looking howto minimize jitter in streaming, then I suggest 
you use a Linux kernel (www.kernel.org) with the preemption patch 
(kpreempt.sourceforge.net).

Or are you trying to do RTP/RTCP in vls or vlc?

 >>>
 >>>I'm programming a video server and I've a problem because I can't
 >>>control the transmision rate. My video is about 8 mbits and I have tried
 >>>with the usleep function but It didn't work well. I know that Windows
 >>>has the timesetevent function to associate an event, but I don't know
 >>>how I can do this in linux. I'm programming in c.
 >>>

 >>
 >>Which vls version are you using? And what exactly is the problem?
 >>
 >>Because a 8 Mbits per second video must be transmitted with exactly 8
 >>Mbits per second. Slower transmission results in stuttering images and
 >>ugly sound, faster transmission might overflow buffers in the decoder.
 >

Which vls version are you using?

-- 
Kind greetings,

Jean-Paul Saman


-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the streaming mailing list