chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.89k stars 582 forks source link

Livestream.com #1422

Open Junior1544 opened 8 years ago

Junior1544 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

Junior1544 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

@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 commented 8 years ago

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 #1277https://github.com/chrippa/livestreamer/pull/1277

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

Junior1544 commented 8 years ago

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 #1277https://github.com/ chrippa/livestreamer/pull/1277

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

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

scottbernstein-zz commented 8 years ago

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 #1277https://github.com/ chrippa/livestreamer/pull/1277

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

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chrippa/livestreamer/issues/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 GitHubhttps://github.com/chrippa/livestreamer/issues/1422#issuecomment-239297347, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AESJ1oqPlZpOI1A6yPj_ig5XRo0XxZlBks5qe5MLgaJpZM4JaMaF.

Junior1544 commented 8 years ago

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 #1277https://github.com/ chrippa/livestreamer/pull/1277

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

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chrippa/livestreamer/issues/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 GitHubhttps://github.com/ chrippa/livestreamer/issues/1422#issuecomment-239297347, or mute the threadhttps://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 https://github.com/chrippa/livestreamer/issues/1422#issuecomment-239297650, or mute the thread https://github.com/notifications/unsubscribe-auth/AT0oiLTREFMBqlNDp3U0GMJSYO2nsEZCks5qe5NQgaJpZM4JaMaF .

scottbernstein-zz commented 8 years ago

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 #1277https://github.com/ chrippa/livestreamer/pull/1277

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

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chrippa/livestreamer/issues/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 GitHubhttps://github.com/ chrippa/livestreamer/issues/1422#issuecomment-239297347, or mute the threadhttps://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 https://github.com/chrippa/livestreamer/issues/1422#issuecomment-239297650, 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/chrippa/livestreamer/issues/1422#issuecomment-239305507, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AESJ1oArpJL0W8eiqnK-d4JLCFDNFkIJks5qe5ppgaJpZM4JaMaF.

intact commented 8 years ago

@Junior1544 check your package manager

Junior1544 commented 8 years ago

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 commented 7 years ago

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 commented 7 years ago

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!