Page 1 of 1

Long delay starting playback

Posted: 05 May 2015 10:15
by alphageek
VLC 2.2.1 running on Win8.1 x64

I RDC onto my server and try to play video files in VLC, the interface opens, it then tries to start playing the file I have either double-clicked or dropped on to the VLC window but it pauses for a very long time before the playback starts.

I have switched verbose logging on and see this -

This is written to the debug log just before the long wait for playback

Code: Select all

core debug: auto hiding mouse cursor
and then this is logged as the file starts to play

Code: Select all

core error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms) core error: ES_OUT_RESET_PCR called core warning: buffer too late (-54001334 us): dropped core warning: buffer too late (-53980000 us): dropped core warning: buffer too late (-53958667 us): dropped core warning: buffer too late (-53937334 us): dropped core warning: buffer too late (-53916000 us): dropped core warning: buffer too late (-53895667 us): dropped core warning: buffer too late (-53874334 us): dropped core warning: buffer too late (-53853000 us): dropped core warning: buffer too late (-53831667 us): dropped core warning: buffer too late (-53810334 us): dropped core warning: buffer too late (-53790000 us): dropped core warning: buffer too late (-53768667 us): dropped core warning: buffer too late (-53747334 us): dropped core warning: buffer too late (-53726000 us): dropped avcodec debug: available hardware decoder output format 61 (dxva2_vld) avcodec debug: available software decoder output format 0 (yuv420p) core debug: Buffering 0% core debug: looking for hw decoder module matching "none": 1 candidates core debug: no hw decoder modules matched core debug: Buffering 7% core debug: Buffering 8% core debug: Buffering 14%
I guess all of those core warning: buffer too late (-xxx us): dropped entries are the cause of the delay, but what is causing it?

This has been bothering me for a while but I have just go around to troubleshooting, point being that it was happening before the recent 2.2.1 release so it's not just a problem for me with the current release.

Also, I don't think it's flietype / codec specific as it happens with all kinds of files/containers/codecs.

Re: Long delay starting playback

Posted: 05 May 2015 14:23
by Giampy
Yes, I also report this drawback.

Specifications for my case:
- the drawback happens with the last version of VLC only (2.2.1)
- I start VLC and movies from my PC directly. No remote connections
- I use Windows XP sp.3

Re: Long delay starting playback

Posted: 05 May 2015 14:53
by Jean-Baptiste Kempf
Is your plugins.dat correctly inserted?

Re: Long delay starting playback

Posted: 05 May 2015 15:14
by alphageek
Is your plugins.dat correctly inserted?
I am not entirely sure what you mean, but in C:\Program Files (x86)\VideoLAN\VLC\plugins\ there is a plugins.dat file - size 256 KB (262,682 bytes).

Re: Long delay starting playback

Posted: 05 May 2015 17:36
by Giampy
in C:\Program Files (x86)\VideoLAN\VLC\plugins\ there is a plugins.dat file - size 256 KB
Me too.
That file is updated every time I start a movie.

Re: Long delay starting playback

Posted: 05 May 2015 22:20
by Jean-Baptiste Kempf
That's not right (if it's updated every time).

Re: Long delay starting playback

Posted: 06 May 2015 22:26
by Giampy
That file is updated every time I start a movie.
I was unclear: that file is updated when I open/start the program VLC, therefore once only, not each time I start a movie from inside VLC.

Re: Long delay starting playback

Posted: 08 May 2015 13:03
by Baz
When I skip video several times in a short time, the audio start is delayed. This is the same problem? Perhaps the fact that I set the buffer in 3 seconds, but it still should not be.

Re: Long delay starting playback

Posted: 13 May 2015 13:33
by Giampy
When I skip video several times in a short time, the audio start is delayed. This is the same problem?
I also report the same thing: delay (or a total block) occurs even when skipping the video in a certain time (short or long).

Re: Long delay starting playback

Posted: 25 Aug 2016 10:27
by Baz
UP
New version 2.2.4 - again the sound freezing after scrolling (skipping).
So many versions.
core warning: playback way too early (-128583): playing silence
core debug: inserting 6171 zeroes
core warning: playback way too early (-277708): playing silence
core debug: inserting 13329 zeroes
core warning: playback way too early (-435000): playing silence
core debug: inserting 20880 zeroes
core warning: playback way too early (-582000): playing silence
core debug: inserting 27936 zeroes