We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

Is it possible to watch Youtube live streams ?

asked 2017-10-01 17:27:28 +0300

Jolla095 gravatar image

updated 2019-03-06 17:07:48 +0300

jiit gravatar image

Is it possible for Sailfish user to watch live Youtube streams? There are some tips how to watch videos with Android. I am asking ways to watch videos without Android preferably with Jolla Tablet.

edit retag flag offensive close delete

Comments

1

YTPlayer(native) from Openrepos; for phone and tablet; https://openrepos.net/content/osetr/ytplayer-fork

Spam Hunter ( 2017-10-01 18:46:50 +0300 )edit

Last time i checked it didn't support streams. Does it work now??

ApB ( 2017-10-01 20:38:54 +0300 )edit

It uses Youtube-DL as backend, if that tool supports it then YTPlayer will support it too I guess.

Dylan Van Assche ( 2017-10-01 20:55:04 +0300 )edit
2

@ApB - thanks, you make a good point, it seems I omitted the word 'live' when reading the post, so I may well be wrong on this one!

Spam Hunter ( 2017-10-02 00:05:04 +0300 )edit

As rightly pointed out by @ApB, YTPlayer does not play live streams, it attempts to play/look for streams and then throws a banner saying "Ytplayer failed to find usable video streams".

Spam Hunter ( 2017-10-02 20:40:21 +0300 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2017-10-02 11:19:21 +0300

leszek gravatar image

Currently not possible natively. You need an android webbrowser like firefox which supports that sort of streams.

edit flag offensive delete publish link more

Comments

Ok. Thank you. Maybe some day then ...

Jolla095 ( 2017-10-02 22:42:05 +0300 )edit

@leszek I wonder if something like this could be used: http://docs.livestreamer.io/
Similarly to youtube-dl as a python script to pull the stream for the LLs vPlayer (supports lots of websites not only YT, then again not sure if it is up to date)

szopin ( 2017-10-05 21:59:59 +0300 )edit
0

answered 2019-03-04 22:45:45 +0300

szopin gravatar image

updated 2019-03-04 22:50:34 +0300

You can actually, just requires installing python3, pip (https://pip.pypa.io/en/stable/installing/), gcc, python3-devel, python3-base, (also had https://build.merproject.org/package/show/home:thp:gpodder/python3-requests but pip should probably manage to install this too) at this point you should be able to 'pip install -U streamlink' (more at https://streamlink.github.io/install.html) (it will try to compile a few packages so maybe something like libstdc++-devel is also required, check what's missing in the error msg) at this point you should have streamlink that can download streams or pipe them straight to LLS VideoPlayer (to get that just use -p=harbour-videoPlayer --player-http in your command before the stream URL)

Oh yeah, installing pip might be risky, from their page:

Warning

Be cautious if you are using a Python install that is managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state.

(did work for me though, your mileage may vary)

edit flag offensive delete publish link more

Comments

Somebody with free time should make an RPM over openrepos. (Thus avoiding the pip install problem).

DrYak ( 2019-03-05 09:25:24 +0300 )edit

Fully agree with @DrYak's comment. A great solution would an integration into e.g. YTPLAYER, currenty maintained by @direct85 which can be found in Openrepos.net aka Storeman.

Marti Masa K ( 2019-03-05 20:24:29 +0300 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2017-10-01 17:27:28 +0300

Seen: 971 times

Last updated: Mar 04 '19