Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 08-02-2014, 07:50 PM
pepper dion pepper dion is offline
Junior Member
 
Join Date: Jun 2014
Posts: 10
pepper dion is on a distinguished road
Default

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.
Reply With Quote
  #2  
Old 08-03-2014, 12:34 AM
drbmn drbmn is offline
Member
 
Join Date: May 2012
Posts: 145
drbmn is on a distinguished road
Default

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
Reply With Quote
  #3  
Old 08-03-2014, 03:44 AM
zer00 zer00 is offline
Junior Member
 
Join Date: Oct 2011
Posts: 12
zer00 is on a distinguished road
Default

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
Reply With Quote
  #4  
Old 08-03-2014, 04:42 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: Record live streaming from livestream.com?


Getting Error

Reply With Quote
  #5  
Old 08-03-2014, 05:03 AM
zer00 zer00 is offline
Junior Member
 
Join Date: Oct 2011
Posts: 12
zer00 is on a distinguished road
Default

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.
Reply With Quote
  #6  
Old 08-03-2014, 05:27 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

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!
Reply With Quote
  #7  
Old 08-03-2014, 05:52 AM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

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.
Reply With Quote
  #8  
Old 08-03-2014, 06:06 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

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
Reply With Quote
  #9  
Old 08-03-2014, 06:28 AM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

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
Reply With Quote
  #10  
Old 08-03-2014, 06:37 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: Record live streaming from livestream.com?


Got It...Thank You blimey!
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons