[MPlayer-users] YouTube live streams/HLS

Josh joshf87 at live.com
Fri May 20 08:14:05 CEST 2016

On 5/12/2016 04:49, Andy Furniss wrote:
> Josh wrote:
>> On 5/8/2016 16:31, Josh wrote:
>>> I was wondering if anyone was able to get live YouTube streams to work
>>> in mplayer, at least without piping using program like YouTube-dl?
>>> Getting the real URL isn't the issue (used mostly in SMPlayer, which
>>> will do that then pass it to mplayer). The streams only play for a
>>> approx 5-10 seconds then exit, with messages like:
>>> [tls @ 017575a0]The specified session has been invalidated for some
>>> reason.
>>> [https @ 017575a0]HTTP error 403 Forbidden
>>> [hls,applehttp @ 01742220]Failed to reload playlist 0
>>> I'm using GnuTLS 3.3.22. I tried Zeranoe's ffmpeg ffplay and the streams
>>> worked fine. I'm not sure what the configuration difference there is for
>>> say GnuTLS since his site doesn't go too in depth, just that v3.3.22 was
>>> used.
>>> http://mplayerwin.sourceforge.net/logs/mplayer-20160508-1600.log
>>> http://mplayerwin.sourceforge.net/logs/mplayer-20160508-1615.log
>>> http://mplayerwin.sourceforge.net/logs/mplayer-20160508-1624.log
>>> The URL used is Sky News Live
>>> https://www.youtube.com/watch?v=y60wDzZt8yg (one has to use 'youtube-dl
>>> -g' to get the .m3u8 URL)
>> Seems OpenSSL wasn't the solution.
> I can reproduce this but it works with mpv.
> In the working mpv case ffmpeg does throw an error every chunk - don't
> know if that's mesing things up.
> [ffmpeg] tls: The TLS connection was non-properly terminated.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

I tried the patch just posted here although I don't think it was geared 
toward this issue: 

and there is some improvement, mplayer doesn't simply exit anymore 
although it is really struggling to play anything at least from YouTube 
live streams. It'll play a couple of seconds and stall for maybe 10 or 
so seconds before resuming.


More information about the MPlayer-users mailing list