Which synchronization mechanism used by VLC when A+V

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
soho1001
Blank Cone
Blank Cone
Posts: 19
Joined: 06 Sep 2013 07:53

Which synchronization mechanism used by VLC when A+V

Postby soho1001 » 17 Sep 2013 15:49

Hi All,

Which synchronization mechanism used by VLC when Audio +Video ?
I got a big problem when I use VLC 2.1.0-rc2 to play live H.264 stream that is output by ffserver.
the stream format is rtp. it includes Audio+ video. One rtp stream is for Audio and another is for Video.
The payload type is 96 for Video, and 97 for Audio.
Video format: H.264, 1280x720, 30fps.
Audio format: PCM_S16_LE, 2 channel, 48000 sample rate.
it seems VLC try to do synchronization between Audio and Video.
Does anyone have idea how to fix this issue such that VLC will NOT output this kind of message?
Or ,
Another,
How about the timing tolerance that can be endured when VLC receiving A+V from network ?


the debug log from VLC:
main warning: playback too early (-40304): down-sampling
main debug: resampling stopped (drift: 9909 us)
main warning: playback too early (-61469): down-sampling
main debug: resampling stopped (drift: 5061 us)
main warning: playback too early (-45608): down-sampling
main debug: resampling stopped (drift: 3233 us)
main warning: playback too early (-40024): down-sampling
main debug: resampling stopped (drift: -9725 us)
main warning: playback way too early (-140301): playing silence
main debug: inserting 6734 zeroes
main warning: playback too early (-57199): down-sampling
main debug: resampling stopped (drift: -2659 us)
live555 debug: lost 8572 bytes
live555 debug: increasing buffer size to 200000
main warning: playback too early (-68822): down-sampling
main warning: playback too late (64890): up-sampling
main debug: resampling stopped (drift: 75604 us)
main warning: playback too late (75605): up-sampling
main debug: resampling stopped (drift: -9846 us)
main warning: playback too early (-42416): down-sampling
main debug: resampling stopped (drift: -12011 us)
main warning: playback too early (-45775): down-sampling
main debug: resampling stopped (drift: -18034 us)
main warning: playback too early (-46897): down-sampling
main debug: resampling stopped (drift: -10576 us)
main warning: playback too early (-43585): down-sampling
main debug: resampling stopped (drift: -5180 us)
main warning: playback too early (-45640): down-sampling
main warning: timing screwed (drift: -93244 us): stopping resampling
main warning: playback too early (-93244): down-sampling
main debug: resampling stopped (drift: -2004 us)
main warning: playback too early (-42104): down-sampling
main debug: resampling stopped (drift: -5965 us)
main warning: playback too early (-40035): down-sampling
main debug: resampling stopped (drift: 1690 us)
main warning: playback too early (-41585): down-sampling
main debug: resampling stopped (drift: 3040 us)
main warning: playback too early (-42891): down-sampling
main debug: resampling stopped (drift: -10505 us)
main warning: playback too early (-43613): down-sampling
main debug: resampling stopped (drift: -7321 us)
main warning: playback too early (-40536): down-sampling
main debug: resampling stopped (drift: -3745 us)
main warning: playback too early (-54659): down-sampling
main debug: resampling stopped (drift: 20305 us)
main warning: playback too early (-45546): down-sampling
main debug: resampling stopped (drift: -11148 us)
main warning: playback too early (-57096): down-sampling
main debug: resampling stopped (drift: 27665 us)
main warning: playback too early (-45397): down-sampling
main debug: resampling stopped (drift: -3489 us)
main warning: playback too early (-40657): down-sampling
main debug: resampling stopped (drift: -4616 us)
main warning: playback too early (-49433): down-sampling
main debug: resampling stopped (drift: 4691 us)
main warning: playback too early (-60913): down-sampling
main warning: playback way too early (-121913): playing silence
main debug: inserting 5851 zeroes
main warning: playback too early (-41310): down-sampling
main debug: resampling stopped (drift: -3896 us)
main warning: playback too early (-71400): down-sampling
main warning: playback way too early (-121628): playing silence
main debug: inserting 5838 zeroes
main warning: playback too early (-40053): down-sampling
main debug: resampling stopped (drift: -5031 us)
main warning: playback too early (-43544): down-sampling
main debug: resampling stopped (drift: 16005 us)
main warning: playback too early (-79616): down-sampling
main debug: resampling stopped (drift: 6223 us)
main warning: playback too early (-51368): down-sampling
main debug: resampling stopped (drift: -4235 us)

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests