[streaming] Re: can someone explain me that problem ?
adrian hornsby
adrian_hornsby at yahoo.co.uk
Mon Sep 5 10:26:57 CEST 2005
Hi Pete,
Thanks a lot for your explanation.
Nervertheless, do you know why when the 2 streams are
the same, eventhough timing is different(PCR/PTS/DTS),
this doesnt append ?
Moreover, the SMPTE Splicing Standard says " ..a
sequence-end-code is required between streams when
changing any of the values in the sequence_header." so
vlc should be able to deal with different bitrate
streams right as I splice at the end of PES and send
new PES right after splicing ??
Finally, most of the time, realtime visualisation of
splicing (even with totally different streams) work
fine on VLC. I am just trying to setup a minimal
implementation for real time splicing.
What would be the condition for forcing VLC to sync at
the splicing point ?? what if I put PAT/PMT and PCR
packets just at the splicing point, before sending the
2 stream ??
thanks very much for your help.
--- Pete Martin <petemartin at ntlworld.com> wrote:
> Adrian,
>
> If you turn logging on in vlc using the logger
> interface (I use verbosity of
> 4) then you will see that vlc is unhappy when
> playing from the file as well.
> Looks like the timing (PCR/PTS/DTS) of the second
> segment does not match the
> timing of the first segment causing vlc to junk
> several video and audio
> frames until it has resynched.
>
> The behaviour when streaming is different from when
> reading from a file is
> because vlc has to wait for packets to arrive from
> the streamer and it
> cannot resynch as quickly as when it is reading them
> from a file, when it is
> able to read as much as it requires.
>
> Pete
> ----- Original Message -----
> From: "adrian hornsby" <adrian_hornsby at yahoo.co.uk>
> To: <streaming at videolan.org>
> Sent: Monday, September 05, 2005 8:10 AM
> Subject: [streaming] can someone explain me that
> problem ?
>
>
> > Hi,
> >
> > I have developed a real-time splicing tool that
> can
> > splice real-time mpeg2TS streams.
> > I use VLC as a client to check the result of the
> > spliced stream as it is the only one that give
> good
> > feedbacks on problems. But now I am facing
> something
> > I cant really explain :
> > I have record a result of a splice using the "Dump
> > raw input" option of vlc. When I locally play the
> > file
> > using VLC, the result is perfect, no display
> > problem.
> > Nevertheless, when I send this same file on the
> > network via VLC on udp/multicast and when I
> visualise
> > the sent stream on VLC on another computer,
> theresult
> > isnt good at all !! VLC seams to loose frames at
> the
> > splicing point.
> > Let me also mention that the 2 streams are
> > different (different bitrate) but why would it
> play
> > perfectly from file but not when it is send on the
> > network ??
> > is vlc behavior different when dealing with files
> or
> > network ??
> >
> > You can try yourself to play the enclosed file in
> > local and then send it via udp/multicast and see
> the
> > result.
> >
> > here you can download the file :
> > http://www.students.tut.fi/~hornsby/splice.mpeg
> >
> > thanks a lot for any clue and help.
> > adrian
> >
> >>
> >>
> >>
> >
>
___________________________________________________________
> >>
> >> To help you stay safe and secure online, we've
> >> developed the all new Yahoo! Security Centre.
> >> http://uk.security.yahoo.com
> >>
> >
> >
> >
> >
> >
>
___________________________________________________________
> > To help you stay safe and secure online, we've
> developed the all new
> > Yahoo! Security Centre.
> http://uk.security.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
> >
> >
>
> --
> This is the streaming mailing-list, see
> http://www.videolan.org/streaming/
> To unsubscribe, please read
> http://www.videolan.org/support/lists.html
>
>
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.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
More information about the streaming
mailing list