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 01-04-2012, 01:15 PM
dg1972 dg1972 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 3
dg1972 is on a distinguished road
Default

video from 3rd party site


Xfinity and 4kids link their Yugioh episodes to Hulu's. Xfinity's and Hulu's quality is poorer than 4kids, so I'm trying to capture the 4kids version.
this is the webpage: http://www.4kidstv.com/yugioh/episod...the-cards/3269
I tried using rtmpexplorer, and here is a copy of the command it automatically used:
rtmpdump -r "rtmpe://hulufs.fplive.net:1935/hulu/38/50114038?sessionid=FF28B485D4F3497D08A4BEAFF86CD7D 6&token=c3RhcnRfdGltZT0yMDEyMDEwNDE5MDQyMiZlbmRfdG ltZT0yMDEyMDEwNDE5MDcyMiZkaWdlc3Q9Y2FlNTFkOTQ1ZTNi ZmQ1ZWY5OWEzMmY3NDk5MDk5MTY=&mbr=1&hgt=OZU7Pvs7j27-nhteNno7wk3Zm6kIqyiYjE6r4RsuoAp4f-RtKUKiwtYxdxFUFGRRUtWqQqpYgN61bN4ZZMHilWO9gmi_glbQ HrseLo5eoN1Fexqz4FgnApu4ZuOencSuVeC5OAR00zSMaPSS_-6_BjTWjl8G5DjzYy7AGYslTpxq3hsEh1QAhy75OiAyb5KmPRAp auztMe6_U8axNfcQY540BEyni040v22IRql3rwakDOYK2QEcWB 9rpECB7lNz&hgt_ver=331370278" -a "hulu/38/50114038?sessionid=FF28B485D4F3497D08A4BEAFF86CD7D 6&token=c3RhcnRfdGltZT0yMDEyMDEwNDE5MDQyMiZlbmRfdG ltZT0yMDEyMDEwNDE5MDcyMiZkaWdlc3Q9Y2FlNTFkOTQ1ZTNi ZmQ1ZWY5OWEzMmY3NDk5MDk5MTY=&mbr=1&hgt=OZU7Pvs7j27-nhteNno7wk3Zm6kIqyiYjE6r4RsuoAp4f-RtKUKiwtYxdxFUFGRRUtWqQqpYgN61bN4ZZMHilWO9gmi_glbQ HrseLo5eoN1Fexqz4FgnApu4ZuOencSuVeC5OAR00zSMaPSS_-6_BjTWjl8G5DjzYy7AGYslTpxq3hsEh1QAhy75OiAyb5KmPRAp auztMe6_U8axNfcQY540BEyni040v22IRql3rwakDOYK2QEcWB 9rpECB7lNz&hgt_ver=331370278" -f "WIN 11,1,102,55" -W "http://player.hulu.com/express2/119450/dp_player.swf" -p "http://www.4kidstv.com/yugioh/episode/the-heart-of-the-cards/3269" -C Z: -y "mp4:agave50114038_4222303_H264_650.mp4" -o mp4_agave50114038_4222303_H264_650.flv

Here is the resulting error:
RTMPDump v2.4 GIT-2011-07-11 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
ERROR: HandleCtrl: SWFVerification Type 2 request not supported! Patches welcome
...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

what can I do to get this working?
Reply With Quote
  #2  
Old 01-04-2012, 02:16 PM
Bahman Bahman is offline
t.A.T.u.'s fan forever
 
Join Date: Sep 2011
Location: Tehran, Iran
Posts: 381
Bahman is on a distinguished road
Default

Re: video from 3rd party site


Quote:
Originally Posted by dg1972 View Post
Xfinity and 4kids link their Yugioh episodes to Hulu's. Xfinity's and Hulu's quality is poorer than 4kids, so I'm trying to capture the 4kids version.
this is the webpage: http://www.4kidstv.com/yugioh/episod...the-cards/3269
4kidstv.com uses hulu's vids!!

Quote:
Originally Posted by dg1972 View Post
ERROR: HandleCtrl: SWFVerification Type 2 request not supported! Patches welcome
...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

what can I do to get this working?
http://stream-recorder.com/forum/sho...5&postcount=13
Quote:
currently cp39466.edgefcs.net (Akamai) and hulu-xxx.fcod.llnwd.net (Limelight) CDN's doesn't use Type 2 SWFVerification. only hulufs.fplive.net (Level3) CDN uses Type 2 verification.


So, if you use rtmpsuck, you can get your video from those servers that don't use "Type 2 SWFVerification" easily!!
Code:
rtmpdump -r "rtmpe://hulufs.fplive.net:1935/hulu/38/50114038" -a "hulu/38/50114038?sessionid=C1F0AB8A2C517EE0C0C08EAC0A814103&token=c3RhcnRfdGltZT0yMDEyMDEwNDIwMjQ0MSZlbmRfdGltZT0yMDEyMDEwNDIwMjc0MSZkaWdlc3Q9ODdlZmU1YjYwNWZhMzM4MTdiNzFlODU2MGMyMjc2ZGI=&mbr=1&hgt=OZU7Pvs7j27-nhteNno7wq-ZWf19MVDEX2Do7nxv1bDnbNw3corg0XE3-520ttkKrrfIGJAqYxGE3GwJDc8990rHyvfFfzC3eq-Suzj_qCYCAk0NOZMXU5bGkMwhVKVoDtl8kt6xHsgQsBJxp1eD3auqgk-MV0-jT2Wexr7WV1jbozWWj7piERi21BujSv3-YEZcDv2bjjH-N_0X0D8L1KdULTzH00umGOm5E_Cm14jhLHYCjKOGOqzuj-TsUcyF&hgt_ver=331370278" -f "WIN 11,1,102,55" -W "http://player.hulu.com/express2/119450/dp_player.swf" -p "http://www.4kidstv.com/yugioh/episode/the-heart-of-the-cards/3269" -C Z: -y "mp4:agave50114038_4222303_H264_650.mp4" -o mp4_agave50114038_4222303_H264_650.flv

rtmpdump -r "rtmpe://hulu-038.fcod.llnwd.net:1935/a4957/o23" -a "a4957/o23?sessionid=C1F0AB8A2C517EE0C0C08EAC0A814103&as=adobe-hmac-sha256&av=1&te=connect&mp=38/50114038&et=1325708861&fmta-token=21797abec08cbddccfe673dd7b6f3b4fcea663bf9da485bb8296e202aaae22c3&hgt=OZU7Pvs7j27-nhteNno7wq-ZWf19MVDEX2Do7nxv1bCaRX8Ghn-jsG-KTOB_gxHEttqj3od7b1gS0vQLFxL9Lp9d633AszQ_9_ScBFU-I79q4HoezellNFSx4awZesQT2sX9QQfDMCEInZb7T2o73nYdTJ8pnHH5hbikPHhwtDb8iKjD2oTbEUHmRcYyZkz-GY46y4YRiC1xevVh6G-0cO-UXcFwwt5KSubPDmK1q4lajrHj4TfaV52HIXv6TIn9myfE953HSD61_qGuz30p-r4O_uxXNVPaI4Le2VTyPeQ=&hgt_ver=331370278" -f "WIN 11,1,102,55" -W "http://player.hulu.com/express2/119450/dp_player.swf" -p "http://www.4kidstv.com/yugioh/episode/the-heart-of-the-cards/3269" -C Z: -y "mp4:38/50114038/agave50114038_4222303_H264_650.mp4" -o agave50114038_4222303_H264_650.flv

rtmpdump -r "rtmpe://cp39466.edgefcs.net:1935/ondemand" -a "ondemand?sessionid=C1F0AB8A2C517EE0C0C08EAC0A814103&auth=daEbHaScZb0dKajcZa9aOdjbFbCclcfdvas-bpblwj-c0-ZnJDsDp1Gxv&aifp=sll02152008&slist=hulu14/38/50114038;.international=false&hgt=OZU7Pvs7j27-nhteNno7wq-ZWf19MVDEX2Do7nxv1bDUud27ayQa7x9QWnRy2B56XPsS_LFja4_jjTkVni8Gd8Zt1o7Q-vfLBz5XL4dVUuLkmJPd3bZD2EY1cmCYHN9TH62V8GHcq8ZDQiYSqywsBzcgX1nzeVf6GbeiJQjkeqojv5a9tUwBYBTE_InilRkWXa0EwrB865OPiBhlFbzC3C6DPxzqHb_YxhaxQqwntiT0SvcywtFOOdeNnfiiAsQJ&hgt_ver=331370278" -f "WIN 11,1,102,55" -W "http://player.hulu.com/express2/119450/dp_player.swf" -p "http://www.4kidstv.com/yugioh/episode/the-heart-of-the-cards/3269" -C Z: -y "mp4:hulu14/38/50114038/agave50114038_4222303_H264_650.mp4" -o agave50114038_4222303_H264_650.flv
Blue highlighted one works perfectly!!
Code:
C:\rtmpdump-2.4>rtmpdump -r "rtmpe://cp39466.edgefcs.net:1935/ondemand" -a "onde
mand?sessionid=D231A6ADB897822947012717BB3E94C8&auth=daEdKd3abdebpapcCc5dPc.aEdj
dzbZacbg-bpblYp-c0-2qKBsFrZFxr&aifp=sll02152008&slist=hulu14/38/50114038;.intern
ational=false&hgt=OZU7Pvs7j27-nhteNno7wmETDjSNqIs7191RZ8D5QXxG4HoiOBRMIRfZWijoYR
1Kz7iK8T0-K2LOkc1UPxmomqb5lJZsRm2YDWzF0QPNNQCbz3Tu2vcaKhB0zEnMKGUCYiMWuN3Ev4H-qy
8onolCrMj7UWg0ZQNB8l430XYd2BiF-E0_fI3DgoNp1-NPBXpmg6eP5_PuoZIFuYqg0ofbekiTn4mVY7
nscB4HSRthlJCanais2bw9hLJ9O0-xpUDN&hgt_ver=331370278" -f "WIN 11,1,102,55" -W "h
ttp://player.hulu.com/express2/119450/dp_player.swf" -p "http://www.4kidstv.com/
yugioh/episode/the-heart-of-the-cards/3269" -C Z: -y "mp4:hulu14/38/50114038/aga
ve50114038_4222303_H264_650.mp4" -o agave50114038_4222303_H264_650.flv
RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              1209.90
INFO:   moovPosition          36.00
INFO:   width                 480.00
INFO:   height                360.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              30.00
INFO:   aacaot                2.00
INFO:   videoframerate        29.97
INFO:   audiosamplerate       22050.00
INFO:   audiochannels         2.00
INFO: tags:
INFO:   ┬رtoo                 Hulu v1.5
INFO: trackinfo:
INFO:   length                36292256.00
INFO:   timescale             30000.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                53356544.00
INFO:   timescale             44100.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
641.224 kB / 12.68 sec (1.0%)
of course, rtmpsrv can detect URLs from those servers too!!

Last edited by Bahman : 01-04-2012 at 02:59 PM. Reason: rtmpdump's luck, added!! :D
Reply With Quote
  #3  
Old 01-04-2012, 02:28 PM
dg1972 dg1972 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 3
dg1972 is on a distinguished road
Default

Re: video from 3rd party site


[quote=Bahman;36877]4kidstv.com uses hulu's vids!!

I know. But for some reason it looks better than straight off Hulu's site.

http://stream-recorder.com/forum/sho...5&postcount=13

So, from what I can tell, I need to patch rtmpdump? with this .bin file from that thread? How can I do that, or is there an already patched version somewhere?
Reply With Quote
  #4  
Old 01-04-2012, 02:41 PM
Bahman Bahman is offline
t.A.T.u.'s fan forever
 
Join Date: Sep 2011
Location: Tehran, Iran
Posts: 381
Bahman is on a distinguished road
Default

Re: video from 3rd party site


^Read 3rd part of my post again!!
Reply With Quote
  #5  
Old 01-04-2012, 02:43 PM
dg1972 dg1972 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 3
dg1972 is on a distinguished road
Default

Re: video from 3rd party site


Quote:
Originally Posted by Bahman View Post
^Read 3rd part of my post again!!
Weird. That part didn't appear earlier or else I wouldn't have replied. Sorry. Thanks for the help!
Reply With Quote
  #6  
Old 11-30-2012, 02:57 PM
Lite Lite is offline
Junior Member
 
Join Date: Nov 2012
Posts: 6
Lite is on a distinguished road
Exclamation

Re: video from 3rd party site


Quote:
Originally Posted by Bahman View Post
4kidstv.com uses hulu's vids!!



http://stream-recorder.com/forum/sho...5&postcount=13



So, if you use rtmpsuck, you can get your video from those servers that don't use "Type 2 SWFVerification" easily!!
Code:
rtmpdump -r "rtmpe://hulufs.fplive.net:1935/hulu/38/50114038" -a "hulu/38/50114038?sessionid=C1F0AB8A2C517EE0C0C08EAC0A814103&token=c3RhcnRfdGltZT0yMDEyMDEwNDIwMjQ0MSZlbmRfdGltZT0yMDEyMDEwNDIwMjc0MSZkaWdlc3Q9ODdlZmU1YjYwNWZhMzM4MTdiNzFlODU2MGMyMjc2ZGI=&mbr=1&hgt=OZU7Pvs7j27-nhteNno7wq-ZWf19MVDEX2Do7nxv1bDnbNw3corg0XE3-520ttkKrrfIGJAqYxGE3GwJDc8990rHyvfFfzC3eq-Suzj_qCYCAk0NOZMXU5bGkMwhVKVoDtl8kt6xHsgQsBJxp1eD3auqgk-MV0-jT2Wexr7WV1jbozWWj7piERi21BujSv3-YEZcDv2bjjH-N_0X0D8L1KdULTzH00umGOm5E_Cm14jhLHYCjKOGOqzuj-TsUcyF&hgt_ver=331370278" -f "WIN 11,1,102,55" -W "http://player.hulu.com/express2/119450/dp_player.swf" -p "http://www.4kidstv.com/yugioh/episode/the-heart-of-the-cards/3269" -C Z: -y "mp4:agave50114038_4222303_H264_650.mp4" -o mp4_agave50114038_4222303_H264_650.flv

rtmpdump -r "rtmpe://hulu-038.fcod.llnwd.net:1935/a4957/o23" -a "a4957/o23?sessionid=C1F0AB8A2C517EE0C0C08EAC0A814103&as=adobe-hmac-sha256&av=1&te=connect&mp=38/50114038&et=1325708861&fmta-token=21797abec08cbddccfe673dd7b6f3b4fcea663bf9da485bb8296e202aaae22c3&hgt=OZU7Pvs7j27-nhteNno7wq-ZWf19MVDEX2Do7nxv1bCaRX8Ghn-jsG-KTOB_gxHEttqj3od7b1gS0vQLFxL9Lp9d633AszQ_9_ScBFU-I79q4HoezellNFSx4awZesQT2sX9QQfDMCEInZb7T2o73nYdTJ8pnHH5hbikPHhwtDb8iKjD2oTbEUHmRcYyZkz-GY46y4YRiC1xevVh6G-0cO-UXcFwwt5KSubPDmK1q4lajrHj4TfaV52HIXv6TIn9myfE953HSD61_qGuz30p-r4O_uxXNVPaI4Le2VTyPeQ=&hgt_ver=331370278" -f "WIN 11,1,102,55" -W "http://player.hulu.com/express2/119450/dp_player.swf" -p "http://www.4kidstv.com/yugioh/episode/the-heart-of-the-cards/3269" -C Z: -y "mp4:38/50114038/agave50114038_4222303_H264_650.mp4" -o agave50114038_4222303_H264_650.flv

rtmpdump -r "rtmpe://cp39466.edgefcs.net:1935/ondemand" -a "ondemand?sessionid=C1F0AB8A2C517EE0C0C08EAC0A814103&auth=daEbHaScZb0dKajcZa9aOdjbFbCclcfdvas-bpblwj-c0-ZnJDsDp1Gxv&aifp=sll02152008&slist=hulu14/38/50114038;.international=false&hgt=OZU7Pvs7j27-nhteNno7wq-ZWf19MVDEX2Do7nxv1bDUud27ayQa7x9QWnRy2B56XPsS_LFja4_jjTkVni8Gd8Zt1o7Q-vfLBz5XL4dVUuLkmJPd3bZD2EY1cmCYHN9TH62V8GHcq8ZDQiYSqywsBzcgX1nzeVf6GbeiJQjkeqojv5a9tUwBYBTE_InilRkWXa0EwrB865OPiBhlFbzC3C6DPxzqHb_YxhaxQqwntiT0SvcywtFOOdeNnfiiAsQJ&hgt_ver=331370278" -f "WIN 11,1,102,55" -W "http://player.hulu.com/express2/119450/dp_player.swf" -p "http://www.4kidstv.com/yugioh/episode/the-heart-of-the-cards/3269" -C Z: -y "mp4:hulu14/38/50114038/agave50114038_4222303_H264_650.mp4" -o agave50114038_4222303_H264_650.flv
Blue highlighted one works perfectly!!
Code:
C:\rtmpdump-2.4>rtmpdump -r "rtmpe://cp39466.edgefcs.net:1935/ondemand" -a "onde
mand?sessionid=D231A6ADB897822947012717BB3E94C8&auth=daEdKd3abdebpapcCc5dPc.aEdj
dzbZacbg-bpblYp-c0-2qKBsFrZFxr&aifp=sll02152008&slist=hulu14/38/50114038;.intern
ational=false&hgt=OZU7Pvs7j27-nhteNno7wmETDjSNqIs7191RZ8D5QXxG4HoiOBRMIRfZWijoYR
1Kz7iK8T0-K2LOkc1UPxmomqb5lJZsRm2YDWzF0QPNNQCbz3Tu2vcaKhB0zEnMKGUCYiMWuN3Ev4H-qy
8onolCrMj7UWg0ZQNB8l430XYd2BiF-E0_fI3DgoNp1-NPBXpmg6eP5_PuoZIFuYqg0ofbekiTn4mVY7
nscB4HSRthlJCanais2bw9hLJ9O0-xpUDN&hgt_ver=331370278" -f "WIN 11,1,102,55" -W "h
ttp://player.hulu.com/express2/119450/dp_player.swf" -p "http://www.4kidstv.com/
yugioh/episode/the-heart-of-the-cards/3269" -C Z: -y "mp4:hulu14/38/50114038/aga
ve50114038_4222303_H264_650.mp4" -o agave50114038_4222303_H264_650.flv
RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              1209.90
INFO:   moovPosition          36.00
INFO:   width                 480.00
INFO:   height                360.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              30.00
INFO:   aacaot                2.00
INFO:   videoframerate        29.97
INFO:   audiosamplerate       22050.00
INFO:   audiochannels         2.00
INFO: tags:
INFO:   ┬رtoo                 Hulu v1.5
INFO: trackinfo:
INFO:   length                36292256.00
INFO:   timescale             30000.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                53356544.00
INFO:   timescale             44100.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
641.224 kB / 12.68 sec (1.0%)
of course, rtmpsrv can detect URLs from those servers too!!

To download one of Hulu stream video, I'm doing the next steps:
1. Opening RTMPExplorer with RTMPSuck or RTMPSrv
2. After RTMPSuck detecting direct stream link, including "app" parameter, I'm copying this one to the next link for RTMPDump:

Code:
rtmpdump -r "rtmpe://cp39466.edgefcs.net:1935/ondemand" -a "ondemand?sessionid=rtmpdump -r "rtmpe://cp39466.edgefcs.net:1935/ondemand" -a "ondemand?sessionid=<data from actual "app" parameter>" -W "http://www.hulu.com/site-player/204874/player.swf" -p "http://www.hulu.com/watch/320880" -y "mp4:976/60021976/agave50246389_8745711_H264_1000.mp4" -o agave50246389_8745711_H264_1000.FLV
But RTMPDump sends me:
Code:
Connecting …
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected…
ERROR: rtmp server sent error
ERROR: rtmp server requested close
In this case, I wish to say one more thing: data from "app" parameter at the code for RTMPDump is actual (RTMPSuck or RTMPServer still downloads a file; I add this code to RTMPDump after no more than 1 minute after it detecting by RTMPSuck or RTMPServer).

P.S. Also I was trying to download this stream by this code for RTMPDump from the next servers:
Code:
"rtmpe://hulufs.fplive.net:1935/hulu"
"rtmpe://hulu-976.fcod.llnwd.net:1935/a4957/o23"
but result is similar

where is my mistake?? Help, please!

Thank You!
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 02:23 AM.


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