[vlc] Re: Network stream freezes after a few sec
Chhaya, Harshal
hchhaya at ti.com
Fri Aug 13 16:32:28 CEST 2004
Måns,
Thanks for your response.
> > main warning: output date isn't PTS date, requesting
> resampling (42922)
> > main warning: buffer is 44635 late, triggering upsampling
>
> This is also normal. Your sound card seems to be playing the sound
> faster than it is arriving. To avoid skips the audio data has be
> resampled.
>
> > main warning: PTS is out of range (-11685), dropping buffer
> > main warning: late picture skipped (44360)
> > main warning: PTS is out of range (2238), dropping buffer
> > main warning: PTS is out of range (-21716), dropping buffer
>
> These mean that the data is arriving too late, according to VLC's
> clock.
Can I ask vlc to buffer a few frames before playback to get around
this problem?
> What format is the stream? What is the source? I have seen these
> messages when the PTS values differ too much from the PCR (in the case
> of MPEGTS) or SCR (for MPEGPS). It could also be that the stream is
> simply arriving too slowly.
The file is a MPEG-PS file encoded at about 6 Mbps. I usually send it
at between 6 & 6.5 Mbps.
I can control the sending rate and when I send it at about 7 Mbps, I get
a different set of messages:
main debug: decoded 105/105 pictures
main debug: decoded 105/105 pictures
:
:
mpeg_system warning: garbage (0xc93d1f6f)
mpeg_system warning: garbage (0x0000100c)
mpeg_audio debug: emulated startcode (no startcode on following frame)
main warning: buffer is 72000 in advance, triggering downsampling
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: late picture skipped (773785451786)
main debug: decoded 105/105 pictures
mpeg_system warning: garbage (0x0016c006)
mpeg_system warning: garbage (0xe37670f4)
mpeg_system warning: garbage (0xbe7b6f19)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: late picture skipped (773788987357)
mpeg_system warning: garbage (0xc6ef0600)
mpeg_system warning: garbage (0x77186c11)
mpeg_system warning: garbage (0x09d80ced)
mpeg_system warning: garbage (0x5b4ad24a)
main debug: stream periodicity changed from B[2] to B[1]
mpeg_audio debug: emulated startcode (no startcode on following frame)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main debug: stream periodicity changed from B[1] to B[2]
mpeg_system warning: garbage (0xe68aac9c)
and so on.
> This is what I have deduced after a year of experimenting. Nobody has
> ever bothered to answer similar questions from me on this list.
I am trying to demonstrate streaming video over a network and the actual
video diplay part is proving to be more challenging than the rest of the
project.
I hope I can figure out if vlc has any options I can use to make the
playback last longer.
Thanks,
Harshal
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
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 vlc
mailing list