I got a big problem when I use VLC 2.1.0-rc2 to play live H.264 stream.
the stream format is rtp. it includes Audio+ video.
Video format: H.264, 1280x720, 30fps
Audio format: PCM_S16_LE, 2 channel, 48000 sample rate
VLC can not play the stream stability.
Because VLC complain about the timing issue. the log is :
if VLC display the log message above, then VLC can not recover to normal state.main warning: playback too late (68079): up-sampling
main warning: picture is too late to be displayed (missing 41 ms)
main debug: picture might be displayed late (missing 11 ms)
main warning: picture is too late to be displayed (missing 41 ms)
main debug: picture might be displayed late (missing 11 ms)
main warning: picture is too late to be displayed (missing 55 ms)
main warning: picture is too late to be displayed (missing 25 ms)
main warning: picture is too late to be displayed (missing 40 ms)
main debug: picture might be displayed late (missing 10 ms)
main warning: timing screwed (drift: 144968 us): stopping resampling
main warning: playback too late (144906): up-sampling
main warning: picture is too late to be displayed (missing 54 ms)
main warning: picture is too late to be displayed (missing 24 ms)
main warning: picture is too late to be displayed (missing 44 ms)
main debug: picture might be displayed late (missing 14 ms)
main warning: picture is too late to be displayed (missing 64 ms)
main warning: picture is too late to be displayed (missing 24 ms)
main debug: picture might be displayed late (missing 7 ms)
main warning: picture is too late to be displayed (missing 57 ms)
main debug: picture might be displayed late (missing 17 ms)
main warning: picture is too late to be displayed (missing 67 ms)
main warning: picture is too late to be displayed (missing 37 ms)
main warning: picture is too late to be displayed (missing 77 ms)
main warning: picture is too late to be displayed (missing 47 ms)
main warning: picture is too late to be displayed (missing 31 ms)
main warning: picture is too late to be displayed (missing 71 ms)
main warning: picture is too late to be displayed (missing 41 ms)
main debug: picture might be displayed late (missing 11 ms)
main warning: picture is too late to be displayed (missing 51 ms)
main warning: playback way too late (183592): flushing buffers
main debug: inserting 95658 zeroes
main warning: playback too late (61599): up-sampling
main warning: timing screwed (drift: 127608 us): stopping resampling
main warning: playback too late (127545): up-sampling
main warning: playback way too late (184736): flushing buffers
main debug: inserting 95972 zeroes
main warning: playback too late (61802): up-sampling
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
main warning: timing screwed (drift: 124527 us): stopping resampling
main warning: playback too late (124465): up-sampling
main warning: picture is too late to be displayed (missing 861 ms)
main warning: picture is too late to be displayed (missing 791 ms)
main warning: picture is too late to be displayed (missing 801 ms)
main warning: picture is too late to be displayed (missing 752 ms)
main warning: picture is too late to be displayed (missing 392 ms)
main warning: playback way too late (180792): flushing buffers
main debug: inserting 95770 zeroes
then no more video data can be displayed, but audio data can be played normally.
It seems VLC does not handle the jitter as better as it can.
When I try to play by "ffplay", it is normally and stable.
Does anyone have idea?
Also, I can see many people post the question about:
It seems VLC does not fix the BIG BUG for a long time.error: more than 5 seconds of late video -> dropping frame