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 05-01-2014, 03:44 PM
enda enda is offline
Member
 
Join Date: Jun 2012
Posts: 32
enda is on a distinguished road
Default

curl rtmp


How do I download rtmp videos from http://www.tg4.ie/en/player/tg4-player.html using curl

which is available by clicking

Download RTMP, SSH2, SSL, SSPI Version

on

http://www.paehl.com/open_source/?CURL_7.36.0 (via http://curl.haxx.se/download.html)
Reply With Quote
  #2  
Old 05-01-2014, 11:57 PM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: curl rtmp


Do you have to use curl? If not, you can try downloading it using ffmpeg instead...

Download Command
Code:
ffmpeg -i "http://tg4-lh.akamaihd.net/IdiBeo1_1200_tg4@118693?videoId=2539098496001&lineUpId=&pubId=1290862567001&playerId=1364138050001&affiliateId=&v=3.3.0&fp=WIN%2011,9,900,117&r=CBOCY&g=YLHBMNKDQNYV" -c copy out9.flv
Play Command
Code:
ffplay -i "http://tg4-lh.akamaihd.net/IdiBeo1_1200_tg4@118693?videoId=2539098496001&lineUpId=&pubId=1290862567001&playerId=1364138050001&affiliateId=&v=3.3.0&fp=WIN%2011,9,900,117&r=CBOCY&g=YLHBMNKDQNYV"


BUT if you must use curl... then try this...

Code:
curl "http://tg4-lh.akamaihd.net/IdiBeo1_1200_tg4@118693?videoId=2539098496001&lineUpId=&pubId=1290862567001&playerId=1364138050001&affiliateId=&v=3.3.0&fp=WIN%2011,9,900,117&r=CBOCY&g=YLHBMNKDQNYV" -k -O
Reply With Quote
  #3  
Old 05-02-2014, 02:33 PM
enda enda is offline
Member
 
Join Date: Jun 2012
Posts: 32
enda is on a distinguished road
Default

Re: curl rtmp


Thanks very much.

The 'LIVE STREAM' is the only video on the page which does not use rtmp. How do you download one of the videos in the 2x4 grid below the LIVE STREAM?
Reply With Quote
  #4  
Old 05-02-2014, 04:12 PM
enda enda is offline
Member
 
Join Date: Jun 2012
Posts: 32
enda is on a distinguished road
Default

Re: curl rtmp


Quote:
Originally Posted by blimey View Post
You can use http for those too;
Code:
http://tgfour.brightcove.com.edgesuite.net/rtmp_uds/1290862567001/201405/3028/1290862567001_3530473347001_WCL031481.mp4?playerId=1364138050001&lineupId=&affiliateId=&pubId=1290862567001&videoId=3530417353001

Thanks. How did you get this URL?
Reply With Quote
  #5  
Old 05-02-2014, 09:13 PM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: curl rtmp


He just concatenated a couple of strings

You can also use rtmpdump to get the code...

Code:
rtmpdump -r "rtmp://cp156323.edgefcs.net:1935/ondemand" -a "ondemand?videoId=3530417353001&lineUpId=&pubId=1290862567001&playerId=1364138050001&affiliateId=" -f "WIN 11,9,900,117" -W "http://admin.brightcove.com/viewer/us20140416.1645/federatedVideoUI/BrightcovePlayer.swf" -p "http://www.tg4.ie/en/player/tg4-player.html" -y "mp4:videos/1290862567001/201405/3028/1290862567001_3530473347001_WCL031481.mp4?videoId=3530417353001&lineUpId=&pubId=1290862567001&playerId=1364138050001&affiliateId=" -o "output.flv"
Cheers!
Reply With Quote
  #6  
Old 05-06-2014, 02:37 PM
enda enda is offline
Member
 
Join Date: Jun 2012
Posts: 32
enda is on a distinguished road
Default

Re: curl rtmp


Thanks.

How do you get the string:

Code:
http://tgfour.brightcove.com.edgesuite.net/rtmp_uds/
This is the preferred way since I want to download over HTTP, unless curl can download a RTMP URL using a HTTP/S proxy.

Also is it possible to download over HTTP for the video at http://www.rte.ie/player/ie/show/10274556/

Last edited by enda : 05-07-2014 at 02:28 PM.
Reply With Quote
  #7  
Old 05-07-2014, 02:47 PM
enda enda is offline
Member
 
Join Date: Jun 2012
Posts: 32
enda is on a distinguished road
Default

Re: curl rtmp


Also this URL is from http://www.tg4.ie/en/player/tg4-player.html

Code:
rtmp://cp201884.edgefcs.net/ondemand/mp4:videos/1290862567001/1290862567001_3426600466001_WCL027080.mp4
The text in bold can be used to form:

Code:
http://tgfour.brightcove.com.edgesuite.net/rtmp_uds/1290862567001/1290862567001_3426600466001_WCL027080.mp4
yet this does not work. Do you know the reason behind this?, or have a workaround.

Thanks.
Reply With Quote
  #8  
Old 05-07-2014, 04:05 PM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

Re: curl rtmp


Brightcove won't process a http url unless it has all (or most) of the params included at the end of the url. Like;
Code:
?playerId=1364138050001&lineupId=&affiliateId=&pubId=1290862567001&videoId=3426600466001
Most of them don't change (for a given client/domain), except perhaps "videoId=", so you can just append the same params to the end of the url (after .mp4).
So, in this case;
Code:
http://tg4.uds.ak.o.brightcove.com.edgesuite.net/1290862567001/1290862567001_3426600466001_WCL027080.mp4?playerId=1364138050001&lineupId=&affiliateId=&pubId=1290862567001&videoId=3426600466001
On the other hand, the rtmp url you provided;
Code:
rtmp://cp201884.edgefcs.net/ondemand/mp4:videos/1290862567001/1290862567001_3426600466001_WCL027080.mp4
Will download as simple rtmp, without any (special) parameters. So, it may just be easier to use rtmp.
Reply With Quote
  #9  
Old 05-08-2014, 01:51 PM
enda enda is offline
Member
 
Join Date: Jun 2012
Posts: 32
enda is on a distinguished road
Default

Re: curl rtmp


Many thanks.

Code:
http://tg4.uds.ak.o.brightcove.com.edgesuite.net/1290862567001/1290862567001_3426600466001_WCL027080.mp4
downloaded just fine. The problem was not the params but that prepended URL was


Code:
http://tg4.uds.ak.o.brightcove.com.edgesuite.net/
instead of

Code:
http://tgfour.brightcove.com.edgesuite.net/rtmp_uds/

How do you get the string above:

HTML Code:
http://tg4.uds.ak.o.brightcove.com.edgesuite.net/
I want to download over HTTP, unless curl can download a RTMP URL using a HTTP/S proxy.

Is it possible to download over HTTP for the video at http://www.rte.ie/player/ie/show/10274556/
Reply With Quote
  #10  
Old 05-12-2014, 04:22 PM
enda enda is offline
Member
 
Join Date: Jun 2012
Posts: 32
enda is on a distinguished road
Default

Re: curl rtmp


I want to download over HTTP, unless curl can download a RTMP URL using a HTTP/S proxy.

Is it possible to download over HTTP for the video at

http://www.rte.ie/player/ie/show/10276570/
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 10:09 AM.


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