Page 1 of 1

Video playback become abnormal after discontinuity occurs

Posted: 29 Apr 2018 20:15
by bred.sun
Hi

I'm using vlc-3.0-git now. (From https://git.videolan.org/git/vlc/vlc-3.0.git)
Everytime when I play the following sample video with VDPAU hardware acceleration enabled,
video playback become abnormal at about 2m33s and 5m59s.
can someone fix this please? thanks a lot!

Sample:
https://drive.google.com/open?id=15WXu4 ... OX4r3LRGe5

OS: Ubuntu 16.04
GPU: NVIDIA GT610
GPU Driver: NVIDIA Proprietary Driver 390.48
Libvdpau version: 1.1.1 (From git://anongit.freedesktop.org/vdpau/libvdpau)
Libdvbpsi version: 1.3.2
VLC version: 3.0.2-27-g11da152
FFmpeg version: N-90885-g70d25b8


logs@2m33s
ts debug: transport_error_indicator set (pid=2001)
ts debug: transport_error_indicator set (pid=2001)
ts debug: transport_error_indicator set (pid=2001)
ts debug: transport_error_indicator set (pid=2001)
ts debug: transport_error_indicator set (pid=2001)
ts debug: transport_error_indicator set (pid=2001)
ts debug: transport_error_indicator set (pid=2001)
ts debug: transport_error_indicator set (pid=2001)
ts warning: discontinuity received 0xc instead of 0x1 (pid=2001)
h264 debug: Seen SEI recovery point, 0 recovery frames
h264 debug: Recovering using SEI, prerolling 0 reference pics
h264 debug: Recovery from SEI recovery point complete
main warning: picture is too late to be displayed (missing 122 ms)
main warning: picture is too late to be displayed (missing 89 ms)
main warning: picture is too late to be displayed (missing 56 ms)
main warning: picture is too late to be displayed (missing 22 ms)
main warning: picture is too late to be displayed (missing 159 ms)
main warning: picture is too late to be displayed (missing 125 ms)
main warning: picture is too late to be displayed (missing 92 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main warning: picture is too late to be displayed (missing 25 ms)
main warning: picture is too late to be displayed (missing 159 ms)
main warning: picture is too late to be displayed (missing 126 ms)
main warning: picture is too late to be displayed (missing 93 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main warning: picture is too late to be displayed (missing 26 ms)
main warning: picture is too late to be displayed (missing 159 ms)
main warning: picture is too late to be displayed (missing 126 ms)
main warning: picture is too late to be displayed (missing 93 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main warning: picture is too late to be displayed (missing 26 ms)
main warning: picture is too late to be displayed (missing 158 ms)
main warning: picture is too late to be displayed (missing 125 ms)
main warning: picture is too late to be displayed (missing 91 ms)
main warning: picture is too late to be displayed (missing 58 ms)
main warning: picture is too late to be displayed (missing 25 ms)
main warning: picture is too late to be displayed (missing 159 ms)
main warning: picture is too late to be displayed (missing 126 ms)
main warning: picture is too late to be displayed (missing 92 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main warning: picture is too late to be displayed (missing 26 ms)
main warning: picture is too late to be displayed (missing 158 ms)
main warning: picture is too late to be displayed (missing 125 ms)
main warning: picture is too late to be displayed (missing 92 ms)
main warning: picture is too late to be displayed (missing 58 ms)
main warning: picture is too late to be displayed (missing 25 ms)
main warning: picture is too late to be displayed (missing 159 ms)
main warning: picture is too late to be displayed (missing 126 ms)
main warning: picture is too late to be displayed (missing 93 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main warning: picture is too late to be displayed (missing 26 ms)
main warning: picture is too late to be displayed (missing 159 ms)
main warning: picture is too late to be displayed (missing 125 ms)
main warning: picture is too late to be displayed (missing 92 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main warning: picture is too late to be displayed (missing 25 ms)
main warning: picture is too late to be displayed (missing 160 ms)
main warning: picture is too late to be displayed (missing 126 ms)
main warning: picture is too late to be displayed (missing 93 ms)
main warning: picture is too late to be displayed (missing 60 ms)
main warning: picture is too late to be displayed (missing 26 ms)



log@5m59s
ts debug: transport_error_indicator set (pid=2001)
ts debug: transport_error_indicator set (pid=2001)
ts debug: transport_error_indicator set (pid=2001)
ts debug: transport_error_indicator set (pid=2001)
ts warning: discontinuity received 0x9 instead of 0x1 (pid=2001)
ts warning: discontinuity received 0x1 instead of 0x0 (pid=18)
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 18
ts error: libdvbpsi error (EIT decoder): 'last_section_number' differs whereas no discontinuity has occured
h264 debug: Recovering using SEI, prerolling 0 reference pics
h264 debug: Recovery from SEI recovery point complete
h264 debug: Seen SEI recovery point, 0 recovery frames
h264 debug: Recovering using SEI, prerolling 0 reference pics
ts error: libdvbpsi error (EIT decoder): 'last_section_number' differs whereas no discontinuity has occured
h264 debug: Recovery from SEI recovery point complete
ts error: libdvbpsi error (EIT decoder): 'last_section_number' differs whereas no discontinuity has occured
ts error: libdvbpsi error (EIT decoder): 'last_section_number' differs whereas no discontinuity has occured
avcodec error: hardware acceleration picture allocation failed
main warning: picture is too late to be displayed (missing 559 ms)
main warning: picture is too late to be displayed (missing 526 ms)
main warning: picture is too late to be displayed (missing 493 ms)
main warning: picture is too late to be displayed (missing 459 ms)
main warning: picture is too late to be displayed (missing 426 ms)
main warning: picture is too late to be displayed (missing 393 ms)
main warning: picture is too late to be displayed (missing 359 ms)
main warning: picture is too late to be displayed (missing 326 ms)
main warning: picture is too late to be displayed (missing 293 ms)
main warning: picture is too late to be displayed (missing 259 ms)
main warning: picture is too late to be displayed (missing 226 ms)
main warning: picture is too late to be displayed (missing 194 ms)
main warning: picture is too late to be displayed (missing 187 ms)
main warning: picture is too late to be displayed (missing 128 ms)
main warning: picture is too late to be displayed (missing 102 ms)
main warning: picture is too late to be displayed (missing 79 ms)
main warning: picture is too late to be displayed (missing 53 ms)
main debug: picture might be displayed late (missing 4 ms)
ts error: libdvbpsi error (EIT decoder): 'last_section_number' differs whereas no discontinuity has occured
main warning: picture is too late to be displayed (missing 318 ms)
main warning: picture is too late to be displayed (missing 285 ms)
main warning: picture is too late to be displayed (missing 251 ms)
main warning: picture is too late to be displayed (missing 218 ms)
main warning: picture is too late to be displayed (missing 185 ms)
main warning: picture is too late to be displayed (missing 151 ms)
main warning: picture is too late to be displayed (missing 118 ms)
main warning: picture is too late to be displayed (missing 85 ms)
main warning: picture is too late to be displayed (missing 51 ms)
main warning: picture is too late to be displayed (missing 18 ms)
main warning: picture is too late to be displayed (missing 160 ms)
main warning: picture is too late to be displayed (missing 127 ms)
main warning: picture is too late to be displayed (missing 93 ms)
main warning: picture is too late to be displayed (missing 60 ms)
main warning: picture is too late to be displayed (missing 27 ms)
ts error: libdvbpsi error (EIT decoder): 'last_section_number' differs whereas no discontinuity has occured
main warning: picture is too late to be displayed (missing 159 ms)
main warning: picture is too late to be displayed (missing 126 ms)
main warning: picture is too late to be displayed (missing 93 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main warning: picture is too late to be displayed (missing 26 ms)
main debug: auto hiding mouse cursor
main warning: picture is too late to be displayed (missing 158 ms)
main warning: picture is too late to be displayed (missing 125 ms)
main warning: picture is too late to be displayed (missing 92 ms)
main warning: picture is too late to be displayed (missing 58 ms)
main warning: picture is too late to be displayed (missing 25 ms)
main warning: picture is too late to be displayed (missing 160 ms)
main warning: picture is too late to be displayed (missing 126 ms)
main warning: picture is too late to be displayed (missing 93 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main warning: picture is too late to be displayed (missing 26 ms)

Re: Video playback become abnormal after discontinuity occurs

Posted: 30 Apr 2018 19:18
by bred.sun
The problem solved after changing video output from "VDPAU output" to "OpenGL video output".
The video playback recover from abnormal situation soon when discontinuity occurs.