Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Livestream.com #1422

Open
Junior1544 opened this issue Aug 2, 2016 · 15 comments
Open

Livestream.com #1422

Junior1544 opened this issue Aug 2, 2016 · 15 comments

Comments

@Junior1544
Copy link

I'm trying to use livestreamer to play a stream from livestream.com and am having a very hard time...

Looking through the issues it looks like a few months ago there was some issues with this but haven't seen anything in a few months so I don't know if it's been fixed?

I'm a real newbie so any simple to follow instructions would be very helpful. I can use omxplayer or vlc...

the stream I'm trying to play is:
https://livestream.com/Miraclenet/events/5004281

I'm just confused because I can't get it to go for more then like 3-4 seconds in omxplayer, and not at all in vlc...

Thanks!

@ghost
Copy link

ghost commented Aug 2, 2016

This update (for Akamai HD streams) should work: #1277

livestreamer "http://livestream.com/Miraclenet/events/5004281" best
[cli][info] Found matching plugin livestream for URL http://livestream.com/Miraclenet/events/5004281
[cli][info] Available streams: 486p_hls, 270p_hls, 432p_hls, 270p (worst), 432p, 486p (best)
[cli][info] Opening stream: 486p (akamaihd)
[cli][info] Starting player: "C:\Program Files (x86)\Video\MPC-HC\MPC-HC.exe"

It even works with the old plugin, if you switch to HLS.

livestreamer "http://livestream.com/Miraclenet/events/5004281" 486p_hls
[cli][info] Found matching plugin livestream for URL http://livestream.com/Miraclenet/events/5004281
[cli][info] Available streams: 486p_hls, 270p_hls, 432p_hls, 270p (worst), 432p, 486p (best)
[cli][info] Opening stream: 486p_hls (hls)
[cli][info] Starting player: "C:\Program Files (x86)\Video\MPC-HC\MPC-HC.exe"

@Junior1544
Copy link
Author

that looks fine except it doesn't work on my Raspberry Pi 3 b....

@Junior1544
Copy link
Author

oh, and I don't understand that other thread, but i tried the hls and that's what wasn't working right. It'll play hls for a few seconds then sit's at a black screen and the only way to get the screen back is to reboot it..

@ghost
Copy link

ghost commented Aug 2, 2016

I've tested it with VLC 2.1.1 and it works smoothly. There were some issues in the past with HLS streams and VLC, but this doesn't seem to be the case here.

If nobody has another idea, there is nothing we can do here to fix this problem.

@Junior1544
Copy link
Author

Can someone help me to try the other solution 0880 wonderfully suggested? I tried the hls one and it will play for about 5 seconds or so... I wanted to try the other solution which seems to be to use a pull version but I have no idea how to do this with a raspberry pi (linux) since I'm just starting with this... Will continue to research it myself as well but I hope someone can help :)

@Junior1544
Copy link
Author

@scottbernstrin
Any thoughts on how i'd be able to implement that fix to livestreamer that was mentioned in that other thread and in #1277

@scottbernstein-zz
Copy link

Yes, just grab the complete livestreamer.py file mentioned in 1277 and replace the one that is in your plugins directory.

I have also tested this fix and it does indeed work for me.


From: Junior1544 notifications@github.com
Sent: Thursday, August 11, 2016 4:28:56 PM
To: chrippa/livestreamer
Subject: Re: [chrippa/livestreamer] Livestream.com (#1422)

@scottbernstrin
Any thoughts on how i'd be able to implement that fix to livestreamer that was mentioned in that other thread and in #1277#1277

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/1422#issuecomment-239282121, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AESJ1kdX8zJcpYdMLuUNNP2HFMnP6fYxks5qe4YIgaJpZM4JaMaF.

@Junior1544
Copy link
Author

This is to be run on a raspberry pi, and I can't seem to find the directory
for it at all or I would have done it. Any help on finding the directory?
--James

On Aug 11, 2016 11:16 AM, "scottbernstein" notifications@github.com wrote:

Yes, just grab the complete livestreamer.py file mentioned in 1277 and
replace the one that is in your plugins directory.

I have also tested this fix and it does indeed work for me.


From: Junior1544 notifications@github.com
Sent: Thursday, August 11, 2016 4:28:56 PM
To: chrippa/livestreamer
Subject: Re: [chrippa/livestreamer] Livestream.com (#1422)

@scottbernstrin
Any thoughts on how i'd be able to implement that fix to livestreamer that
was mentioned in that other thread and in #1277<https://github.com/
/pull/1277>

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/
/issues/1422#issuecomment-239282121>, or mute the
thread<https://github.com/notifications/unsubscribe-auth/
AESJ1kdX8zJcpYdMLuUNNP2HFMnP6fYxks5qe4YIgaJpZM4JaMaF>.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1422 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT0oiNim21AWw52GeFdwqtY_Wf3QCwUXks5qe5EpgaJpZM4JaMaF
.

@scottbernstein-zz
Copy link

Sorry I can't help you there -- I'm on a windows box. Run a search on the pi for the file livestream.py


From: Junior1544 notifications@github.com
Sent: Thursday, August 11, 2016 5:24:27 PM
To: chrippa/livestreamer
Cc: scottbernstein; Comment
Subject: Re: [chrippa/livestreamer] Livestream.com (#1422)

This is to be run on a raspberry pi, and I can't seem to find the directory
for it at all or I would have done it. Any help on finding the directory?
--James

On Aug 11, 2016 11:16 AM, "scottbernstein" notifications@github.com wrote:

Yes, just grab the complete livestreamer.py file mentioned in 1277 and
replace the one that is in your plugins directory.

I have also tested this fix and it does indeed work for me.


From: Junior1544 notifications@github.com
Sent: Thursday, August 11, 2016 4:28:56 PM
To: chrippa/livestreamer
Subject: Re: [chrippa/livestreamer] Livestream.com (#1422)

@scottbernstrin
Any thoughts on how i'd be able to implement that fix to livestreamer that
was mentioned in that other thread and in #1277<https://github.com/
/pull/1277>

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/
/issues/1422#issuecomment-239282121>, or mute the
thread<https://github.com/notifications/unsubscribe-auth/
AESJ1kdX8zJcpYdMLuUNNP2HFMnP6fYxks5qe4YIgaJpZM4JaMaF>.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1422 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT0oiNim21AWw52GeFdwqtY_Wf3QCwUXks5qe5EpgaJpZM4JaMaF
.

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com//issues/1422#issuecomment-239297347, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AESJ1oqPlZpOI1A6yPj_ig5XRo0XxZlBks5qe5MLgaJpZM4JaMaF.

@Junior1544
Copy link
Author

I did that and it doesn't show up. I'll keep searching.

--James

On Aug 11, 2016 11:25 AM, "scottbernstein" notifications@github.com wrote:

Sorry I can't help you there -- I'm on a windows box. Run a search on the
pi for the file livestream.py


From: Junior1544 notifications@github.com
Sent: Thursday, August 11, 2016 5:24:27 PM
To: chrippa/livestreamer
Cc: scottbernstein; Comment
Subject: Re: [chrippa/livestreamer] Livestream.com (#1422)

This is to be run on a raspberry pi, and I can't seem to find the directory
for it at all or I would have done it. Any help on finding the directory?
--James

On Aug 11, 2016 11:16 AM, "scottbernstein" notifications@github.com
wrote:

Yes, just grab the complete livestreamer.py file mentioned in 1277 and
replace the one that is in your plugins directory.

I have also tested this fix and it does indeed work for me.


From: Junior1544 notifications@github.com
Sent: Thursday, August 11, 2016 4:28:56 PM
To: chrippa/livestreamer
Subject: Re: [chrippa/livestreamer] Livestream.com (#1422)

@scottbernstrin
Any thoughts on how i'd be able to implement that fix to livestreamer
that
was mentioned in that other thread and in #1277<https://github.com/
/pull/1277>

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/
/issues/1422#issuecomment-239282121>, or mute the
thread<https://github.com/notifications/unsubscribe-auth/
AESJ1kdX8zJcpYdMLuUNNP2HFMnP6fYxks5qe4YIgaJpZM4JaMaF>.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1422
issuecomment-239295211>,
or mute the thread
<https://github.com/notifications/unsubscribe-
auth/AT0oiNim21AWw52GeFdwqtY_Wf3QCwUXks5qe5EpgaJpZM4JaMaF>
.

You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://github.com/
/issues/1422#issuecomment-239297347>, or mute the
thread<https://github.com/notifications/unsubscribe-
auth/AESJ1oqPlZpOI1A6yPj_ig5XRo0XxZlBks5qe5MLgaJpZM4JaMaF>.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1422 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT0oiLTREFMBqlNDp3U0GMJSYO2nsEZCks5qe5NQgaJpZM4JaMaF
.

@scottbernstein-zz
Copy link

well if you can type livestreamer at the command prompt and it works, then it must be in your path. Try typing "which livestreamer" at the command prompt and it should tell you where it's installed.


From: Junior1544 notifications@github.com
Sent: Thursday, August 11, 2016 5:55:53 PM
To: chrippa/livestreamer
Cc: scottbernstein; Comment
Subject: Re: [chrippa/livestreamer] Livestream.com (#1422)

I did that and it doesn't show up. I'll keep searching.

--James

On Aug 11, 2016 11:25 AM, "scottbernstein" notifications@github.com wrote:

Sorry I can't help you there -- I'm on a windows box. Run a search on the
pi for the file livestream.py


From: Junior1544 notifications@github.com
Sent: Thursday, August 11, 2016 5:24:27 PM
To: chrippa/livestreamer
Cc: scottbernstein; Comment
Subject: Re: [chrippa/livestreamer] Livestream.com (#1422)

This is to be run on a raspberry pi, and I can't seem to find the directory
for it at all or I would have done it. Any help on finding the directory?
--James

On Aug 11, 2016 11:16 AM, "scottbernstein" notifications@github.com
wrote:

Yes, just grab the complete livestreamer.py file mentioned in 1277 and
replace the one that is in your plugins directory.

I have also tested this fix and it does indeed work for me.


From: Junior1544 notifications@github.com
Sent: Thursday, August 11, 2016 4:28:56 PM
To: chrippa/livestreamer
Subject: Re: [chrippa/livestreamer] Livestream.com (#1422)

@scottbernstrin
Any thoughts on how i'd be able to implement that fix to livestreamer
that
was mentioned in that other thread and in #1277<https://github.com/
/pull/1277>

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/
/issues/1422#issuecomment-239282121>, or mute the
thread<https://github.com/notifications/unsubscribe-auth/
AESJ1kdX8zJcpYdMLuUNNP2HFMnP6fYxks5qe4YIgaJpZM4JaMaF>.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1422
issuecomment-239295211>,
or mute the thread
<https://github.com/notifications/unsubscribe-
auth/AT0oiNim21AWw52GeFdwqtY_Wf3QCwUXks5qe5EpgaJpZM4JaMaF>
.

You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://github.com/
/issues/1422#issuecomment-239297347>, or mute the
thread<https://github.com/notifications/unsubscribe-
auth/AESJ1oqPlZpOI1A6yPj_ig5XRo0XxZlBks5qe5MLgaJpZM4JaMaF>.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1422 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT0oiLTREFMBqlNDp3U0GMJSYO2nsEZCks5qe5NQgaJpZM4JaMaF
.

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com//issues/1422#issuecomment-239305507, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AESJ1oArpJL0W8eiqnK-d4JLCFDNFkIJks5qe5ppgaJpZM4JaMaF.

@intact
Copy link
Contributor

intact commented Aug 11, 2016

@Junior1544 check your package manager

@Junior1544
Copy link
Author

ok, I finally found it and made those changes to the livestream.py and it looks like it's working! it still doesn't work for hls for more then a few seconds, but the regular one looks like it's working now... I've run it for 5 minutes so far and it's running great!

Thanks for all the help guys! My next task is to make it play the sound too because right now it play's the video part of the stream but there's no sound.

@stevekmcc
Copy link

For the record, the HLS issue was with omxplayer, which needs --timeout 20 otherwise it exits after 35-70 seconds (see streamlink issue 182). And probably the sound issue was that the Raspberry Pi sound was going to HDMI rather than analogue out. Your livestream command line should thus include: --player 'omxplayer --timeout 20 -o local'.

@Junior1544
Copy link
Author

I have since moved to using the streamlink app...

Thanks guys and girls!

I'd suggest using the Streamlink app for anyone else because they have a team of people actually working on it and putting out releases and they're doing a great job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants