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 > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 09-29-2011, 03:43 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

video.cnbc.com: Problem downloading CNBC video with rtmpdump, rtmpsrv, rtmpsuck


did try RTMPdump along with rtmpsrv/suck using iptables to redirect the traffic locally and capture the url for the streaming. On a lot of sites, it works but the one I use the most (cnbc) doesn't.

Would you happen to know anything about why I'm not picking anything up for this site? For example, _http://video.cnbc.com/gallery/?video=3000048189

Thanks for any help you can offer.
Reply With Quote
  #2  
Old 09-29-2011, 04:42 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: video.cnbc.com: Problem downloading CNBC video with rtmpdump, rtmpsrv, rtmpsuck


Code:
rtmpdump -r "rtmp://cp34825.edgefcs.net:80/ondemand" -p "http://video.cnbc.com/gallery/?video=3000048189" -y "mp4:csmp4/VCPS/Y2011/M09D28/3000048189/4ED1-ASB-PaulBurkner_L" -o Test.flv
Code:
RTMPDump v2.4 GIT-2011-09-25 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              288.57
INFO:   moovPosition          24713365.00
INFO:   audiocodecid          mp4a
INFO:   width                 400.00
INFO:   height                300.00
INFO:   videocodecid          avc1
INFO:   avcprofile            66.00
INFO:   avclevel              21.00
INFO:   aacaot                2.00
INFO:   audiosamplerate       24000.00
INFO:   audiochannels         2.00
INFO:   videoframerate        30.00
INFO: trackinfo:
INFO:   length                6925312.00
INFO:   timescale             24000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   length                8657.00
INFO:   timescale             30.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
24416.101 kB / 288.53 sec (99.9%)
Download complete
Reply With Quote
  #3  
Old 09-29-2011, 07:10 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: video.cnbc.com: Problem downloading CNBC video with rtmpdump, rtmpsrv, rtmpsuck


Quote:
Originally Posted by KSV View Post
Code:
rtmpdump -r "rtmp://cp34825.edgefcs.net:80/ondemand" -p "http://video.cnbc.com/gallery/?video=3000048189" -y "mp4:csmp4/VCPS/Y2011/M09D28/3000048189/4ED1-ASB-PaulBurkner_L" -o Test.flv
Code:
RTMPDump v2.4 GIT-2011-09-25 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              288.57
INFO:   moovPosition          24713365.00
INFO:   audiocodecid          mp4a
INFO:   width                 400.00
INFO:   height                300.00
INFO:   videocodecid          avc1
INFO:   avcprofile            66.00
INFO:   avclevel              21.00
INFO:   aacaot                2.00
INFO:   audiosamplerate       24000.00
INFO:   audiochannels         2.00
INFO:   videoframerate        30.00
INFO: trackinfo:
INFO:   length                6925312.00
INFO:   timescale             24000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   length                8657.00
INFO:   timescale             30.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
24416.101 kB / 288.53 sec (99.9%)
Download complete
Thanks you! But could you please tell me whether it is possible to make it work using rtmpsrv or rtmpsuck? Can't I make it work because of the wrong version or something else?
Reply With Quote
  #4  
Old 09-29-2011, 11:09 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: video.cnbc.com: Problem downloading CNBC video with rtmpdump, rtmpsrv, rtmpsuck


it uses RTMPT (port 80) instead of RTMP (port 1935). so you need to redirect the particular IP:Port (cp34825.edgefcs.net:80) combination to use rtmpsrv or rtmpsuck.
Reply With Quote
  #5  
Old 09-29-2011, 12:29 PM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: video.cnbc.com: Problem downloading CNBC video with rtmpdump, rtmpsrv, rtmpsuck


Quote:
Originally Posted by KSV View Post
it uses RTMPT (port 80) instead of RTMP (port 1935). so you need to redirect the particular IP:Port (cp34825.edgefcs.net:80) combination to use rtmpsrv or rtmpsuck.
Thank you for your help!
Reply With Quote
  #6  
Old 09-29-2011, 01:51 PM
jbum jbum is offline
Junior Member
 
Join Date: Sep 2011
Posts: 1
jbum is on a distinguished road
Default

Re: video.cnbc.com: Problem downloading CNBC video with rtmpdump, rtmpsrv, rtmpsuck


KSV,

Thanks for the help. I'm a rtmpdump newbie... how did you get the arguments to pass into rtmpdump? I saw a lot of posts online about using rtmpsrv/suck to determine what a video is requesting...

I set up iptables like this (before I read your post about rtmpt on port 80)

iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT

Could I do something similar to pick off the arguments I need? Thanks!
Reply With Quote
  #7  
Old 10-12-2011, 01:44 AM
nullacht nullacht is offline
Senior Member
 
Join Date: Jan 2010
Posts: 230
nullacht will become famous soon enoughnullacht will become famous soon enough
Default

Re: video.cnbc.com: Problem downloading CNBC video with rtmpdump, rtmpsrv, rtmpsuck


There's also an XML file, where you can find the RTMP link.

Code:
http://syndication.cnbc.com/vcps/media/content?id=MzAwMDA0ODE4OQptcGVnNF81MDAwMDAKU3RyZWFtaW5n&UserName=cmsguest@cnbc.com&key=NA&reporting=part="CNBCVIDEOINFO"
Code:
<playlist>
<choice>
<url>
http://ad.doubleclick.net/pfadx/nbcu.cnbc/aolvideo;!category=cnbc;site=cnbc;sect=aolvideo;show=Squawk+Box+Asia;videoid=3000048189;sz=300x240;ord=<rand>
</url>
<title>
Ad Media
</title>
<copyright>
(c) CNBCNews.com
</copyright>
</choice>
<choice>
<url>
rtmp://cp34825.edgefcs.net/ondemand/?auth=NA&aifp=V01&slist=mp4:csmp4/VCPS/Y2011/M09D28/3000048189/4ED1-ASB-PaulBurkner_L<break>mp4:csmp4/VCPS/Y2011/M09D28/3000048189/4ED1-ASB-PaulBurkner_L
</url>
<customFields>
<customField>
<title>
Display Size
</title>
<value>
n/a
</value>
</customField>
</customFields>
<title>
Increased+Employment+in+Banks+in+Asia+
</title>
<description>
Hans-Paul+Burkner%2C+President+%26+CEO+of+Boston+Consulting+Group%2C+thinks+that+the+overall+level+of+employment+in+banks+will+increase+even+though+some+banks+will+cut+back.+
</description>
<copyright>
(c) CNBCVideo Media
</copyright>
</choice>
</playlist>
Code:
rtmpdump -r "rtmp://cp34825.edgefcs.net/ondemand/?auth=NA&aifp=V01&slist=mp4:csmp4/VCPS/Y2011/M09D28/3000048189/4ED1-ASB-PaulBurkner_L" -a "ondemand/?auth=NA&aifp=V01&slist=mp4:csmp4/VCPS/Y2011/M09D28/3000048189/4ED1-ASB-PaulBurkner_L" -y "mp4:csmp4/VCPS/Y2011/M09D28/3000048189/4ED1-ASB-PaulBurkner_L" -o 4ED1-ASB-PaulBurkner_L.flv
Code:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              288.57
INFO:   moovPosition          24713365.00
INFO:   audiocodecid          mp4a
INFO:   width                 400.00
INFO:   height                300.00
INFO:   videocodecid          avc1
INFO:   avcprofile            66.00
INFO:   avclevel              21.00
INFO:   aacaot                2.00
INFO:   audiosamplerate       24000.00
INFO:   audiochannels         2.00
INFO:   videoframerate        30.00
INFO: trackinfo:
INFO:   length                6925312.00
INFO:   timescale             24000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   length                8657.00
INFO:   timescale             30.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
24416.101 kB / 288.53 sec (99.9%)
Download complete
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 06:21 PM.


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