[linux-dvb] Keep bitrates below 10Mbps...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 29, 2005 at 12:42:36AM +0200, Josef Wolf wrote:

> I'm trying to transport live streams over a 10BaseT[1] network.  With
> most channels, there is no problem.  But on some programs (most notably
> the german ARD) the bitrate is changing pretty much.  After a lot of
> investigations, i've got some assumptions:

I have now greatly improved playback by increasing the buffer size.  This
helps for bitrate raises which last about 3..5 seconds.  Since such long
raises are pretty rare, it would probably be acceptable.

Unfortunately, there is still one hurdle:

When all the buffers (that is: my receive buffer plus the kernel buffer)
get empty, playback gets choppy.  When it gets choppy once, it never
recovers again :-(.  Thus, I would like to restart when this happens.
The question is: how do I know that the kernl buffer was underrun?
The DMX_GET_EVENT don't seem to provide this information?  How do I
know that the kernel buffer was underrun?

BTW: A long time ago someone wrote to this list that DMX_SET_BUFFER_SIZE
is not really supported.  Has this changed or is this still the case?

-- 
No software patents in Europe -- http://nosoftwarepatents.com
-- Josef Wolf -- jw@xxxxxxxxxxxxx --


[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux