VLC keeps reconnecting

This forum is about all development around libVLC.
nevare
Blank Cone
Blank Cone
Posts: 17
Joined: 16 Sep 2016 13:39

VLC keeps reconnecting

Postby nevare » 31 Oct 2016 21:27

I've posted here before with an issue that is still not resolved but no one seems to know the problem. It's about using vlc to seek in a youtube stream. Most of the times it works, but when seek more than 5 times it's pretty much guarenteed to crash. (post here: https://forum.videolan.org/viewtopic.php?f=32&t=135778

Now I'm also using vlc to play a custom http stream. It connects to a tcp server and get the data it needs to stream. All good and well. Until I start seeking. Most of the times it will seek normally, generating a http header like this for example:

Code: Select all

User-Agent: VLC/2.2.4 LibVLC/2.2.4 Range: bytes=300251784- Connection: close Icy-MetaData: 1
I return the data from which point it is requested and all is fine. However, sometimes it will make a request like above. Then when I start transmitting the data, it closes the connection and makes a new request, requesting for a byte range that is about 30kb further than the previous request which it closed.. Okay so start returning for that range and the same thing happens again.
Vlc generates the following each time it disconnects:

Code: Select all

[03a3cc64] core access warning: connection timed out
after having the above behaviour for about an hour the following output appeared:

Code: Select all

[03a47fb4] core input error: ES_OUT_SET_(GROUP_)PCR is called too late (jitter of 920833 ms ignored) [03a8ec8c] core decoder error: Could not get display date for timestamp 0 [03a8ec8c] core decoder error: Could not convert timestamp 0 [03a8ec8c] core decoder warning: early picture skipped
These issues seem to be related as far as I can tell, because the Youtube problem also keeps reconnecting.

Anyone any idea?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC keeps reconnecting

Postby Rémi Denis-Courmont » 31 Oct 2016 21:32

Frankly, the problem statement is too fuzzy to provide a useful answer. Try VLC 3.0.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

nevare
Blank Cone
Blank Cone
Posts: 17
Joined: 16 Sep 2016 13:39

Re: VLC keeps reconnecting

Postby nevare » 31 Oct 2016 22:35

Thanks for the reply. I'm kinda stuck with VLC 2.2 as I'm running it on a raspberry pi and I need hardware acceleration. I managed to get it to work with 2.2 but I read that there were some problems compiling with hardware acceleration for the Pi with Vlc 3.0.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 25 guests