Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Youtube Live with MPV or VLC, doesnt work!

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

[Solved] Youtube Live with MPV or VLC, doesnt work!

#1 Post by bester69 »

Hi,

Youtube Live doesnt work (image stops) in debian with external players, do you know how to work around this issue, or what setting do i need to set in players in order to work??

Thanks, a lot
Last edited by bester69 on 2018-06-08 01:41, edited 1 time in total.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Youtube Live with MPV or VLC, doesnt work!

#2 Post by stevepusser »

I have those working in the latest version of SMPlayer with mpv 0.28.2 as the backend plus the 2018.04.25 version of youtube-dl. Civil Beat in Hawaii was putting on long live streams of the ongoing lava eruption from a home near the fissures until yesterday, when a new flow threatened to cut off the only escape route, so they said aloha and beat a quick exit.

I just checked my backport of VLC 3.0.3, and it also played the ISS live stream: https://www.youtube.com/watch?v=RtU_mdL2vBM

What command do you give to pass a URL to mpv?
MX Linux packager and developer

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Youtube Live with MPV or VLC, doesnt work!

#3 Post by bester69 »

stevepusser wrote:I have those working in the latest version of SMPlayer with mpv 0.28.2 as the backend plus the 2018.04.25 version of youtube-dl. Civil Beat in Hawaii was putting on long live streams of the ongoing lava eruption from a home near the fissures until yesterday, when a new flow threatened to cut off the only escape route, so they said aloha and beat a quick exit.

I just checked my backport of VLC 3.0.3, and it also played the ISS live stream: https://www.youtube.com/watch?v=RtU_mdL2vBM

What command do you give to pass a URL to mpv?
Hi Steve,
I usually use gnome-mpv with drag&drop url

youtube-dl --version: 2017.05.18.1

Code: Select all

mpv --version
mpv 0.26.0 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil       55.58.100
   libavcodec      57.89.100
   libavformat     57.71.100
   libswscale      4.6.100
   libavfilter     6.82.100
   libswresample   2.7.100
ffmpeg version: 3.3.4-2
mpv https://www.youtube.com/watch?v=RtU_mdL2vBM
Playing: https://www.youtube.com/watch?v=RtU_mdL2vBM
[ytdl_hook] ERROR: no conn, hlsvp or url_encoded_fmt_stream_map information found in video info; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[ytdl_hook] youtube-dl failed, trying to play URL directly ...
[ffmpeg] tls: The TLS connection was non-properly terminated.
Failed to recognize file format.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Youtube Live with MPV or VLC, doesnt work!

#4 Post by stevepusser »

Your version of youtube-dl is over a year old, so I'm sure that's at least part of the problem with the programs that use it. What version of mpv and VLC do you have, and what happens when you start it in a terminal, then try and fail to play a live stream?

Gnome-mpv uses libmpv1, so what version do you also have of that?
MX Linux packager and developer

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Youtube Live with MPV or VLC, doesnt work!

#5 Post by bester69 »

stevepusser wrote:Your version of youtube-dl is over a year old, so I'm sure that's at least part of the problem with the programs that use it. What version of mpv and VLC do you have, and what happens when you start it in a terminal, then try and fail to play a live stream?

Gnome-mpv uses libmpv1, so what version do you also have of that?
Ive tried with mpv in console, and it fails as well.

Here, you can see, with the Nasa Live
mpv == libmpv1== 0.26 (stretch version)
mpv https://www.youtube.com/watch?v=RtU_mdL2vBM
Playing: https://www.youtube.com/watch?v=RtU_mdL2vBM
[ytdl_hook] ERROR: no conn, hlsvp or url_encoded_fmt_stream_map information found in video info; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[ytdl_hook] youtube-dl failed, trying to play URL directly ...
[ffmpeg] tls: The TLS connection was non-properly terminated.
Failed to recognize file format.
with vlc https://www.youtube.com/watch?v=RtU_mdL2vBM
[0000562411ab3f88] httplive stream error: reloading playlist failed
[00007f7c3801d708] core access error: connection failed: Network is unreachable
[00007f7c3801d708] http access error: cannot connect to manifest.googlevideo.com:443
[0000562411ab3f88] core stream error: no suitable access module for `https://manifest.googlevideo.com/api/ma ... index.m3u8'
:shock:
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Youtube Live with MPV or VLC, doesnt work!

#6 Post by stevepusser »

Have you tried upgrading youtube-dl yet?

For what it's worth, I can play that ISS live stream myself with a newer youtube-dl and mpv 0.28.2 from the MX test repo. That mpv uses an internal ffmpeg and doesn't provide libmpv1 for gnome-mpv to use, though I do have ffmpeg-4.0 and a dynamically linked mpv/libmpv1 in a branch off my OBS multimedia repo. 0.28 may be necessary for live streams now...
MX Linux packager and developer

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Youtube Live with MPV or VLC, doesnt work!

#7 Post by bester69 »

stevepusser wrote:Have you tried upgrading youtube-dl yet?

For what it's worth, I can play that ISS live stream myself with a newer youtube-dl and mpv 0.28.2 from the MX test repo. That mpv uses an internal ffmpeg and doesn't provide libmpv1 for gnome-mpv to use, though I do have ffmpeg-4.0 and a dynamically linked mpv/libmpv1 in a branch off my OBS multimedia repo. 0.28 may be necessary for live streams now...
I upgraded everithing from your repos :
(ffmpeg, mpv, gnome-mpv, vlc), and youtube-dl, I can watch live stream with mpv
vlc doesnt play it, and gnome-mpv freeze every 5 seconds, and you have to pause/play to restart video.. Any idea why gnome-mpv doesnt behave like mpv (They both are sharing mpv.conf).

Im using now:

Code: Select all

 mpv --version
mpv 0.28.0 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
 built on Sat Mar 10 14:24:53 UTC 2018
ffmpeg library versions:
   libavutil       56.7.100
   libavcodec      58.9.100
   libavformat     58.3.100
   libswscale      5.0.101
   libavfilter     7.7.100
   libswresample   3.0.101
libmpv1 =0.27

I see mpv is 0.28 and libmpv1=0.27, perhaps this the reason?; I would like to keep using Gnome-mv

Thanks Steve. :)
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Youtube Live with MPV or VLC, doesnt work!

#8 Post by stevepusser »

There was some talk on the SMPlayer forums that live streams now require mpv 0.28. SMPlayer uses mpv directly instead of libmpv1, so it can use that mpv 0.28 you have installed.

Or the branch repo I have with ffmpeg 4.0 and libmpv1 0.28.2 is another option: https://build.opensuse.org/project/show ... rt:ffmpeg4 That's the "Debian way" to have mpv and gnome-mpv working together.

It also worked fine when I tested it. I got the sources when they were in Debian Experimental, but they have since been removed...which is a bit worrisome.

I don't know what the issues are with the other players.
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Youtube Live with MPV or VLC, doesnt work!

#9 Post by stevepusser »

By the way, I just added youtube-dl to that main backports repo literally a minute ago. I had youtube-dlg before, but I don't think mpv can use the internal version of youtube-dl that it can download. But I could be wrong.
MX Linux packager and developer

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Youtube Live with MPV or VLC, doesnt work!

#10 Post by bester69 »

stevepusser wrote:There was some talk on the SMPlayer forums that live streams now require mpv 0.28. SMPlayer uses mpv directly instead of libmpv1, so it can use that mpv 0.28 you have installed.

Or the branch repo I have with ffmpeg 4.0 and libmpv1 0.28.2 is another option: https://build.opensuse.org/project/show ... rt:ffmpeg4 That's the "Debian way" to have mpv and gnome-mpv working together.

It also worked fine when I tested it. I got the sources when they were in Debian Experimental, but they have since been removed...which is a bit worrisome.

I don't know what the issues are with the other players.
Yes, I saw some gui's use directlly the binary mpv insteed the library libmpv1, thoses ones works ok(smplayer, kawaii-player), and others ones doesnt (gnome-mpv, baka-mplayer). Im gonna try the branch with 0.28, and Ill tell you.

By the way Here, I found some very interstings mpv based on players, you might build in debian.:
https://github.com/mpv-player/mpv/wiki/ ... -using-mpv

From a quick look at them, I saw some interesting to port these ones:
Deepin Movie:
(mpv engine) Deepin Movie is Deepin Desktop Environment Movie Player.
xt7-player-mpv:
A frontend to mpv with extra features.
Media Player Classic Qute Theater
(libmpv engine) A media player based on libmpv which aims to reproduce most of the interface and functionality of mpc-hc


Last one, Media Player Qt, looks a very good player, which do you thing are the best ones of that list?
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Youtube Live with MPV or VLC, doesnt work!

#11 Post by bester69 »

I think i finally will use smplayer as a replacement for gnome-mpv, It gives me a gui, it supports drag&drop youtube's url and It uses mpv binary.

Great you added youtube-dl to repo.

Thanks a lot Steve. :o
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Youtube Live with MPV or VLC, doesnt work!

#12 Post by bester69 »

bester69 wrote:I think i finally will use smplayer as a replacement for gnome-mpv, It gives me a gui, it supports drag&drop youtube's url and It uses mpv binary.

Great you added youtube-dl to repo.

Thanks a lot Steve. :o
mpv still not working fully properly when played some long, it freeze image, I think it stops when overbuffering, and that seems to happend when browsering internet at the same time play video.

The error, gives a keepalive..:
mpv https://www.youtube.com/watch?v=TK0-Qi0_SHg
[ffmpeg/demuxer] hls,applehttp: keepalive request failed for....

I guesss this might be worked around with some mpv's cache params,, I just dont find what params do i need to set in mpv.conf. :(
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Youtube Live with MPV or VLC, doesnt work!

#13 Post by bester69 »

bester69 wrote:
bester69 wrote:I think i finally will use smplayer as a replacement for gnome-mpv, It gives me a gui, it supports drag&drop youtube's url and It uses mpv binary.

Great you added youtube-dl to repo.

Thanks a lot Steve. :o
mpv still not working fully properly when played some long, it freeze image, I think it stops when overbuffering, and that seems to happend when browsering internet at the same time play video.

The error, gives a keepalive..:
mpv https://www.youtube.com/watch?v=TK0-Qi0_SHg
[ffmpeg/demuxer] hls,applehttp: keepalive request failed for....

I guesss this might be worked around with some mpv's cache params,, I just dont find what params do i need to set in mpv.conf. :(
Now seems to work everything OK.:
- I left ffmpeg in (version Stretch)
- I upgraded mpv to 0.28 (Using mpv insteed libmpv1 for live streaming; so here I will use smplayer GUI)
- I upgraded youtube-dl to last version

Thanks Steve. :wink:
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

Post Reply