Mailing List archive

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

[mpeg2] change delay for realtime video



Hi,

I'm trying to build a Linux realtime videoserver (only video, audio
isn't needed!) for streaming presentations in a network and on a beamer,
which is connected to the computer with the kfir board. The kfir-board
works fine and quality is good enough, but there is a delay of about 1-2
second(s) when i stream the video on the monitor out (I'm using vls and
vlc on the same system, vls to stream through local loopback and vlc to
view the streamed video.). Now, i red in the mailinglist that there is
perhaps a chance to edit/change the MPEG2 default stream which is
composed as
I BB P BB P BB P BB P BB (from the FAQ), to a stream with less latency
so that the encoder and furthermore the decoder can de- or encode the
video faster and does not need to cache some frames before processing
the video to put it on the screen.
So, can i change the "mpgbufsize"-variable or something like
"KFIR_IPBB*" in kfir.c for example to change the encoding stream (so
that every frame is captured and compressed for its own and there is no
buffer needed for de- or encoding)???

Much thanks for your attention and help!!

Andreas Krings



PS: Please tell me, if I'm wrong, i do not know very much about mpeg2
compression at this moment and so there could be errors in my ideas! ;-)











Home | Main Index | Thread Index