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!


All times are GMT -6. The time now is 09:25 AM.