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

Record live streaming from livestream.com?

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

pepper dion 08-02-2014 06:50 PM

Record live streaming from livestream.com?


 
Can anyone please help me with how to record this livestream?
http://new.livestream.com/accounts/1...events/3228592

Replay Media Catcher only records segments of about 5 mb..

Is there a way to record this stream live partially?

Which command should I use?

Thanks for reading.

drbmn 08-02-2014 11:34 PM

Re: Record live streaming from livestream.com?


 
Code:

ffmpeg -i "http://livestream-f.akamaihd.net/1164825_3228592_3be38d0c_1_198@73929?v=3.0.3&fp=WIN%2014,0,0,145&r=WKXSP&g=JXAMYLDCRGBC" -acodec copy -vcodec copy out.flv

zer00 08-03-2014 02:44 AM

Re: Record live streaming from livestream.com?


 
Try livestreamer with the file output option:

Code:

livestreamer "http://new.livestream.com/accounts/1164825/events/3228592" best -o RECORD.flv

peterpan 08-03-2014 03:42 AM

Re: Record live streaming from livestream.com?


 
Getting Error :(


zer00 08-03-2014 04:03 AM

Re: Record live streaming from livestream.com?


 
You have a problem with the certificate.

Try one of the options:


Code:

--http-no-ssl-verify

  Don’t attempt to verify SSL certificates.
  Usually a bad idea, only use this if you know what you’re doing.


--http-ssl-cert FILENAME

  SSL certificate to use.
  Expects a .pem file.


--http-ssl-cert-crt-key CRT_FILENAME KEY_FILENAME

  SSL certificate to use.
  Expects a .crt and a .key file.


peterpan 08-03-2014 04:27 AM

Re: Record live streaming from livestream.com?


 
For option 2 & 3...

What goes into FILENAME? where do I find .pem file?
same thing for .crt and .key files? what do I put in there? where do I find those files?

Thanks!

blimey 08-03-2014 04:52 AM

Re: Record live streaming from livestream.com?


 
You can also specify "720p_hls" instead of "best" on the command line. The default "best" is the non-hls http 720p source.

The m3u8 url is right in the source page of the video. It works with ffmpeg.

peterpan 08-03-2014 05:06 AM

Re: Record live streaming from livestream.com?


 
Specifying "720p_hls" instead of "best" in the livestreamer command above did not work :(

Also, I'm getting a 403 error with this :(

Code:

http://livestream-f.akamaihd.net/i/1164825_3228592_b7c1fdef_1@73929/index_2320_av-p.m3u8?sd=10&dw=100&rebase=on

blimey 08-03-2014 05:28 AM

Re: Record live streaming from livestream.com?


 
In the source of the video page;
There is a hls link like;
Code:

h..p://api.new.livestream.com/broadcasts/58207386.m3u8?dw=100&hdnea=st=1407064637~exp=1407065537~acl=/i/1164825_3228592_b7c1fdef_1@73929/*~hmac= <some code>
Using the entire string, including fresh hmac code, should work with ffmpeg. This is also what livestreamer uses with 720p_hls quality parameter.

If you want to use the url with "index_2320_av-p.m3u8" directly, you'll need to append fresh hmac code (from the end of the previously mentioned hls link from the page source) like this;
Code:

h..p://livestream-f.akamaihd.net/i/1164825_3228592_b7c1fdef_1@73929/index_2320_av-p.m3u8?dw=100&hdnea=st=1407031098~exp=1407031998~acl=/i/1164825_3228592_b7c1fdef_1@73929/*~hmac= <some code>
Value here also changes (in multiple locations), adjust it if you change hmac code;
Code:

1164825_3228592_xxxxxxxx_1@73929

peterpan 08-03-2014 05:37 AM

Re: Record live streaming from livestream.com?


 
Got It...Thank You blimey!

happysad 05-27-2015 01:28 AM

Re: Record live streaming from livestream.com?


 
I cant find a link to use in vlc from this:


Original channel: https://livestream.com/accounts/1143...e&mute=fal se

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=678000,RESOLUTION=768x432,CODECS="a vc1.77.30, mp4a.40.2"
http://livestream-f.akamaihd.net/i/1...=100&rebase=on

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=198000,RESOLUTION=480x270,CODECS="a vc1.66.30, mp4a.40.2"
http://livestream-f.akamaihd.net/i/1...=100&rebase=on

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1756000,RESOLUTION=864x486,CODECS=" avc1.77.30, mp4a.40.2"
http://livestream-f.akamaihd.net/i/1...=100&rebase=on

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=48000,CODECS="mp4a.40.2"
http://livestream-f.akamaihd.net/i/1...=100&rebase=on

Usher1008 06-16-2015 04:18 AM

Re: Record live streaming from livestream.com?


 
Actually, you don’t have to perform such a complicated procedure to record this live streaming video. By using a screen recorder, you can capture it easily. As for me, I like using free online screen recorder. It’s very easy to use, click record button and then just drag the recording frame on live streaming is okay. This tool works well on my computer, I think it will be workable for you as well.


All times are GMT -6. The time now is 12:13 AM.