[streaming] Re: DivX Streaming

satish hipparagi ahsatish at yahoo.com
Thu Jun 26 07:26:03 CEST 2003


Hi nitrox,
Thanks a lot for replying.
We won't be able to stream DivX files using VLS, true.
But what can be done is, demultiplex DivX( separate
audio and video) , convert them  in to MPEG2 TS format
and sent to VLC. Can it be done like this?
If this is the case, then how the sync can be taken
care.
Thanks in adavnce.
Regards,
Satish

--- Damien LUCAS <damien.lucas at videolan.org> wrote:
> satish hipparagi wrote:
> > Hi ALL,
> > I am new to streaming.
> > I have a doubt regarding streaming. 
> > How audio video synchonization is taken care in
> > vlc/vls. For example, incase of DivX streaming,
> AVi
> > file is read , audio and video are separated and
> both
> > of them are converted to mpeg2 TS packets and
> sent.
> > Now how about the synchonization at the client
> side?
> > Can anyone here please explain regarding this
> audio
> > video sync.
> > Thanks and regards,
> > Satish
> 
> Hi !
> 
> First of all, you won't be able to stream AVI file
> with VLS (but you can 
> do it with VLC using stream output). Only MPEG2 PS
> and TS files are 
> supported by VLS.
> 
> Now, about synchronisation.
> There are different time information in the streams:
>   - the transport layer contains a time (PCR) - used
> for streaming.
>   - the elemtary streams contains different times
> including a decoding
>      time (DTS) which tells you when to decode the
> frame and a
>      presentation time (PTS) which tells you when to
> give the data to the
>      video/audio output.
> 
> This is the idea. Implementation may be  more
> difficult since video 
> output and audio output will need buffers and may
> add different delays. 
> If you really want to know more about the synchro
> algorythm, you can ask 
> in vlc-devel or look at the vlc source code.
> 
> 
> regards,
> 
> -- 
> nitrox
> 
> 
> -- 
> 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>
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-- 
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