[streaming] Re: Big data blocks to network from videoinput?

Christophe Massiot massiot at via.ecp.fr
Fri Feb 28 11:25:13 CET 2003


On Fri, Feb 28, 2003, Marian Durkovic wrote:

> > >   doing some tests with live streaming from MPEG2 encoder board I've run
> > > into following problem:
> > > 
> > >   Encoder board outputs data only once per frame (i.e. once every 40 ms).
> > > When it outputs I-frame (every 15-th block of data), the data block could be
> > > as large as 100 KB or even more.
> > 
> > Does your encoder output PS or TS ?
> 
> It's PS.

Then I know no solution to your problem, as VLS is forced to read each
PES packet entirely before sending out TS packets. A solution would be to
increase the buferring on VLS's side, but I have no idea how to do it
(maybe a VLS developer can help you on this).

If bursts are due to a high CPU load, another good idea would be to run
the streamer thread with a real-time priority.

-- 
Christophe Massiot.
-- 
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