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

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

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

any ANONYMOUS forum user 09-29-2011 02:43 AM

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.

KSV 09-29-2011 03:42 AM

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


any ANONYMOUS forum user 09-29-2011 06:10 AM

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


 
Quote:

Originally Posted by KSV (Post 32986)
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?

KSV 09-29-2011 10:09 AM

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.

any ANONYMOUS forum user 09-29-2011 11:29 AM

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


 
Quote:

Originally Posted by KSV (Post 33000)
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!

jbum 09-29-2011 12:51 PM

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!

nullacht 10-12-2011 12:44 AM

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



All times are GMT -6. The time now is 02:45 AM.