Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Livestreamer

(http://stream-recorder.com/forum/showthread.php?t=19466)

nullacht 03-10-2015 11:15 AM

Livestreamer


 
Livestreamer

http://docs.livestreamer.io

https://github.com/chrippa/livestreamer

A command line tool that pipes video streams from various services into a video player, such as VLC.

Supported streaming protocols:

Code:

Adobe HTTP Dynamic Streaming        hds://
Akamai HD Adaptive Streaming        akamaihd://
Apple HTTP Live Streaming        hls:// hlsvariant://
Real Time Messaging Protocol        rtmp:// rtmpe:// rtmps:// rtmpt:// rtmpte://
Progressive HTTP, HTTPS, etc        httpstream://

Command line usage:

Code:

livestreamer [options] [url] [stream]
File output option [Write stream data to FILENAME instead of playing it.]:

Code:

-o FILENAME, --output FILENAME
Windows binaries:

Code:

https://github.com/chrippa/livestreamer/releases
Code:

http://livestreamer-builds.s3.amazonaws.com/livestreamer-latest-win32.zip
Plugins:

Code:

http://docs.livestreamer.io/plugin_matrix.html
Currently most of the big streaming services are supported, such as:
  • Arte.tv
  • Bambuser.com
  • Chaturbate.com
  • Crunchyroll.com
  • Dailymotion.com
  • Hitbox.tv
  • Livestream.com
  • MLG.tv
  • SVTPlay.se
  • Twitch.tv
  • UStream.tv
  • Wat.tv
  • Weeb.tv
  • YouTube.com
  • ZDF.de
... and many more.

vijankush 03-19-2015 12:25 PM

Re: Livestreamer


 
Thanks. This helped me a lot :)

-D3n1s- 03-19-2015 04:59 PM

Re: Livestreamer


 
You can try LiveStreamer Playlist:

http://www.kerman.hr/forum/index.php?topic=17946.0

mohqwt 09-25-2015 06:31 PM

Re: Livestreamer


 
Quote:

Originally Posted by nullacht (Post 74783)
Livestreamer

http://docs.livestreamer.io

https://github.com/chrippa/livestreamer

A command line tool that pipes video streams from various services into a video player, such as VLC.

Supported streaming protocols:

Code:

Adobe HTTP Dynamic Streaming        hds://
Akamai HD Adaptive Streaming        akamaihd://
Apple HTTP Live Streaming        hls:// hlsvariant://
Real Time Messaging Protocol        rtmp:// rtmpe:// rtmps:// rtmpt:// rtmpte://
Progressive HTTP, HTTPS, etc        httpstream://

Command line usage:

Code:

livestreamer [options] [url] [stream]
File output option [Write stream data to FILENAME instead of playing it.]:

Code:

-o FILENAME, --output FILENAME
Windows binaries:

Code:

https://github.com/chrippa/livestreamer/releases
Code:

http://livestreamer-builds.s3.amazonaws.com/livestreamer-latest-win32.zip
Plugins:

Code:

http://docs.livestreamer.io/plugin_matrix.html
Currently most of the big streaming services are supported, such as:
  • Arte.tv
  • Bambuser.com
  • Chaturbate.com
  • Crunchyroll.com
  • Dailymotion.com
  • Hitbox.tv
  • Livestream.com
  • MLG.tv
  • SVTPlay.se
  • Twitch.tv
  • UStream.tv
  • Wat.tv
  • Weeb.tv
  • YouTube.com
  • ZDF.de
... and many more.

can you explain how can i use it , because im new

SlowNet 09-27-2015 09:11 AM

Re: Livestreamer


 
can it download videos from hulu as well..?

greatcityness 10-10-2015 01:08 AM

Re: Livestreamer


 
To download Bambuser braodcasts, you may also try this method at http://www.allavsoft.com/how-to/bamb...ownloader.html

gowtham 10-27-2015 12:59 PM

Re: Livestreamer


 
i just want to download any streaming content in mp3 format instead of flv! what do i do? Someone said i need ffmpeg to transcode.. if then. how to do it..?

reply me in this thread: http://stream-recorder.com/forum/hel...at-t20392.html

stream_monkey 02-13-2016 12:34 PM

Re: Livestreamer


 
Hello community-

Is there a way to set a user agent in livestreamer? Say, for example make it appear to the server as if the OS being used is Android rather than Windows?

Thank you.

zer00 03-01-2016 07:25 AM

Re: Livestreamer


 
@stream_monkey

you can use the http-header option like this:
Code:

livestreamer --http-header "User-Agent=Mozilla/5.0 (Linux; U; Android 4.3; en-us; sdk Build/MR1) AppleWebKit/536.23 (KHTML, like Gecko) Version/4.3 Mobile Safari/536.23" ...

stream_monkey 03-06-2016 06:49 PM

Re: Livestreamer


 
Quote:

Originally Posted by zer00 (Post 82900)
@stream_monkey

you can use the http-header option like this:
Code:

livestreamer --http-header "User-Agent=Mozilla/5.0 (Linux; U; Android 4.3; en-us; sdk Build/MR1) AppleWebKit/536.23 (KHTML, like Gecko) Version/4.3 Mobile Safari/536.23" ...

Thank you.

One more question: Can anyone let me know the correct syntax to use to get livestreamer to play a local, hlsvariant m3u8? I don't have problems when the m3u8 is on the web, but when I try to point it to a local file it doesn't work.

sebus 06-09-2016 02:41 AM

Re: Livestreamer


 
I can play this local static stream (served by Unreal Madia Server)

Code:

rtmp://10.0.0.42:5119/vod/MediaRoot2/Illuminations-ThePrivateLivesofMedievalKings/Ep3.LibrariesGaveUsPower_59m_09s.mp4
in VLC perfectly fine

But livestreamer chokes on it (not that I need it, just trying to test)

Code:

C:\Livestreamer>livestreamer --player="C:\Program Files\VideoLAN\VLC\vlc.exe" "rtmp://10.0.0.42:5119/vod/MediaRoot2/Illuminations-ThePrivateLivesofMedievalKings/Ep3.LibrariesGaveUsPower_59m_09s.mp4" best
[cli][info] Found matching plugin stream for URL rtmp://10.0.0.42:5119/vod/MediaRoot2/Illuminations-ThePrivateLivesofMedievalKings/Ep3.LibrariesGaveUsPower_59m_09s.mp4
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (rtmp)
[cli][error] No data returned from stream

Obviously that is not correct, as the stream exists & as stated plays fine in VLC

sebus 06-09-2016 12:14 PM

Re: Livestreamer restream with ffmpeg


 
Any idea if ITV can be restreamed with ffmpeg. Currently I get error if:

Code:

livestreamer -O "http://www.itv.com/hub/itv" best 2>NUL | ffmpeg -re -i - -sn -vcodec copy -acodec copy -f flv "rtmp://127.0.0.1/MonaClients/itv"

pipe:: Invalid data found when processing input

Thanks for any help

sebus

edit:

This works!

Code:

livestreamer "http://www.itv.com/hub/itv" best --player-external-http-port 59411

and then I can

ffmpeg -re -i http://127.0.0.1:59411 -sn -vcodec copy -acodec copy -f flv "rtmp://127.0.0.1/MonaClients/itv"


danielko 08-14-2016 01:57 PM

Re: Livestreamer


 
Hi guys,

any help with this one?

HTML Code:

http://nlds128.neulion.com:443/play?url="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_4500.mp4
Thank you :)

SlowNet 08-16-2016 08:42 AM

Re: Livestreamer


 
Quote:

Originally Posted by danielko (Post 86915)
Hi guys,

any help with this one?

HTML Code:

http://nlds128.neulion.com:443/play?url="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_4500.mp4
Thank you :)

Link not working!

danielko 08-22-2016 03:04 AM

Re: Livestreamer


 
Quote:

Originally Posted by SlowNet (Post 86972)
Link not working!

How about this? I managed to find these:

Code:

<?xml version="1.0" encoding="utf-8" ?> <channel version="3.5" currentTime="0" defaultStreamIndex="5"> <streamDatas> <streamData url="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_4500.mp4" blockDuration="2000" bitrate="4608000" duration="7795587"> <encryption method="aes-128" keyUrl="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_4500.mp4" keyDuration="3600000" keySecure="false" keyTransfer="secure" token="NLAuth=fef27c89cc7b8fde5592909c48963707-0-32;serverKey_internal_ASV3=aeaeb8a53456cf1871ceab1ea17aac4c-f5bff7e7ad81883ff06843843a74aa37-1471869164-32" /> <video width="1280" height="720" fps="29.970030" bitrate="4317184" codec="avc1" /> <audio channelCount="2" samplesRate="44100" sampleBitSize="16" bitrate="124928" codec="mp4a" /> <httpservers> <httpserver name="nlds128.cdnak.neulion.com" port="80" /> <httpserver name="nlds128.cdnllnwnl.neulion.com" port="80" /> </httpservers> </streamData> <streamData url="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_3000.mp4" blockDuration="2000" bitrate="3072000" duration="7795754"> <encryption method="aes-128" keyUrl="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_3000.mp4" keyDuration="3600000" keySecure="false" keyTransfer="secure" token="NLAuth=fef27c89cc7b8fde5592909c48963707-0-32;serverKey_internal_ASV3=aeaeb8a53456cf1871ceab1ea17aac4c-f5bff7e7ad81883ff06843843a74aa37-1471869164-32" /> <video width="1280" height="720" fps="29.970030" bitrate="2824192" codec="avc1" /> <audio channelCount="2" samplesRate="44100" sampleBitSize="16" bitrate="124928" codec="mp4a" /> <httpservers> <httpserver name="nlds128.cdnak.neulion.com" port="80" /> <httpserver name="nlds128.cdnllnwnl.neulion.com" port="80" /> </httpservers> </streamData> <streamData url="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_2400.mp4" blockDuration="2000" bitrate="2457600" duration="7795754"> <encryption method="aes-128" keyUrl="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_2400.mp4" keyDuration="3600000" keySecure="false" keyTransfer="secure" token="NLAuth=fef27c89cc7b8fde5592909c48963707-0-32;serverKey_internal_ASV3=aeaeb8a53456cf1871ceab1ea17aac4c-f5bff7e7ad81883ff06843843a74aa37-1471869164-32" /> <video width="960" height="540" fps="29.970030" bitrate="2264064" codec="avc1" /> <audio channelCount="2" samplesRate="44100" sampleBitSize="16" bitrate="93184" codec="mp4a" /> <httpservers> <httpserver name="nlds128.cdnak.neulion.com" port="80" /> <httpserver name="nlds128.cdnllnwnl.neulion.com" port="80" /> </httpservers> </streamData> <streamData url="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_1600.mp4" blockDuration="2000" bitrate="1638400" duration="7795754"> <encryption method="aes-128" keyUrl="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_1600.mp4" keyDuration="3600000" keySecure="false" keyTransfer="secure" token="NLAuth=fef27c89cc7b8fde5592909c48963707-0-32;serverKey_internal_ASV3=aeaeb8a53456cf1871ceab1ea17aac4c-f5bff7e7ad81883ff06843843a74aa37-1471869164-32" /> <video width="960" height="540" fps="29.970030" bitrate="1478656" codec="avc1" /> <audio channelCount="2" samplesRate="44100" sampleBitSize="16" bitrate="77824" codec="mp4a" /> <httpservers> <httpserver name="nlds128.cdnak.neulion.com" port="80" /> <httpserver name="nlds128.cdnllnwnl.neulion.com" port="80" /> </httpservers> </streamData> <streamData url="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_1200.mp4" blockDuration="2000" bitrate="1228800" duration="7795754"> <encryption method="aes-128" keyUrl="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_1200.mp4" keyDuration="3600000" keySecure="false" keyTransfer="secure" token="NLAuth=fef27c89cc7b8fde5592909c48963707-0-32;serverKey_internal_ASV3=aeaeb8a53456cf1871ceab1ea17aac4c-f5bff7e7ad81883ff06843843a74aa37-1471869164-32" /> <video width="640" height="360" fps="29.970030" bitrate="1126400" codec="avc1" /> <audio channelCount="2" samplesRate="44100" sampleBitSize="16" bitrate="56320" codec="mp4a" /> <httpservers> <httpserver name="nlds128.cdnak.neulion.com" port="80" /> <httpserver name="nlds128.cdnllnwnl.neulion.com" port="80" /> </httpservers> </streamData> <streamData url="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_800.mp4" blockDuration="2000" bitrate="819200" duration="7795754"> <encryption method="aes-128" keyUrl="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_800.mp4" keyDuration="3600000" keySecure="false" keyTransfer="secure" token="NLAuth=fef27c89cc7b8fde5592909c48963707-0-32;serverKey_internal_ASV3=aeaeb8a53456cf1871ceab1ea17aac4c-f5bff7e7ad81883ff06843843a74aa37-1471869164-32" /> <video width="640" height="360" fps="29.970030" bitrate="753664" codec="avc1" /> <audio channelCount="2" samplesRate="44100" sampleBitSize="16" bitrate="56320" codec="mp4a" /> <httpservers> <httpserver name="nlds128.cdnak.neulion.com" port="80" /> <httpserver name="nlds128.cdnllnwnl.neulion.com" port="80" /> </httpservers> </streamData> <streamData url="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_400.mp4" blockDuration="2000" bitrate="409600" duration="7795754"> <encryption method="aes-128" keyUrl="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_400.mp4" keyDuration="3600000" keySecure="false" keyTransfer="secure" token="NLAuth=fef27c89cc7b8fde5592909c48963707-0-32;serverKey_internal_ASV3=aeaeb8a53456cf1871ceab1ea17aac4c-f5bff7e7ad81883ff06843843a74aa37-1471869164-32" /> <video width="400" height="224" fps="29.970030" bitrate="350208" codec="avc1" /> <audio channelCount="2" samplesRate="44100" sampleBitSize="16" bitrate="56320" codec="mp4a" /> <httpservers> <httpserver name="nlds128.cdnak.neulion.com" port="80" /> <httpserver name="nlds128.cdnllnwnl.neulion.com" port="80" /> </httpservers> </streamData> </streamDatas> <imageStreamDatas> <streamData url="/nlds_vod/nfl/vod/2016/08/13/56837/20160813cfv2bkq2/1_56837_dal_la_2016_h_whole_1_thumbnail.images" duration="7800020"> <image width="112" height="86" format="jpg" interval="5000" /> <httpservers> <httpserver name="nlds128.cdnak.neulion.com" port="80" /> <httpserver name="nlds128.cdnllnwnl.neulion.com" port="80" /> </httpservers> </streamData> </imageStreamDatas> </channel>

confused.com 02-10-2017 05:10 AM

Re: Livestreamer


 
https://www.reddit.com/r/Python/comm...s8&sh=9ca5190b

cristian 10-17-2017 04:11 PM

Re: Livestreamer


 
where i can download livestreamer please?

j_cool 10-17-2017 04:31 PM

Re: Livestreamer


 
https://github.com/chrippa/livestreamer/releases


All times are GMT -6. The time now is 04:27 AM.