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 03-05-2013, 03:45 PM
Mick Mick is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Mick is on a distinguished road
Default

rtmpdump handshake error


I am trying to download a channel 4 program from youtube (http://www.youtube.com/watch?v=2hWsfEPdT4g), but it fails with:

Code:
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 10
WARNING: HandShake: Server not genuine Adobe!
ERROR: RTMP_Connect1, handshake failed.
Any idea why this is and how I could fix it?

This is what rtmpdump captures - before it segfaults:

Code:
rtmpdump -r "rtmpe://r6---sn-aigezn7k.c.youtube.com/videoplayback" -a "videoplayback" -f "LNX 11,2,202,273" -W "http://s.ytimg.com/yts/swfbin/watch_as3-vflCqc2WH.swf" -p "http://www.youtube.com/watch?v=2hWsfEPdT4g" -y "sparams=gcr%2Cid%2Citag%2Crtmpe%2Csource%2Cexpire&gcr=gb&fexp=920704%2C912806%2C902000%2C922403%2C922405%2C929901%2C913605%2C925006%2C906938%2C931202%2C908529%2C920201%2C930101%2C930603%2C906834%2C913570%2C901451&signature=673C8BE9BC30DD798CF23A2004DCA9368E87B31B.8B7FE1BC427AA3E87389A4952AD1D984B5FEB318&rtmpe=yes&itag=34&source=youtube&sver=3&key=yt1&id=da15ac7c43dd4f88&expire=1362519023?ptk=channel4&ptchn=4oDFood&cpn=BYYl3nVhBZOB5ld1" -o sparams=gcr%2Cid%2Citag%2Crtmpe%2Csource%2Cexpire&gcr=gb&fexp=920704%2C912806%2C902000%2C922403%2C922405%2C929901%2C913605%2C925006%2C906938%2C931202%2C908529%2C920201%2C930101%2C930603%2C906834%2C913570%2C901451&signature=673C8BE9BC30DD798CF23A2004DCA9368E87B31B.8B7FE1BC427AA3E87389A4952AD1D984B5FEB318&rtmpe=yes&itag=34&source=youtube&sver=3&key=yt1&id=da15ac7c43dd4f88&expire=1362519023.flv

Segmentation fault

# RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Failed to open file! sparams=gcr%2Cid%2Citag%2Crtmpe%2Csource%2Cexpire&gcr=gb&fexp=920704%2C912806%2C902000%2C922403%2C922405%2C929901%2C913605%2C925006%2C906938%2C931202%2C908529%2C920201%2C930101%2C930603%2C906834%2C913570%2C901451&signature=673C8BE9BC30DD798CF23A2004DCA9368E87B31B.8B7FE1BC427AA3E87389A4952AD1D984B5FEB318&rtmpe=yes&itag=34&source=youtube&sver=3&key=yt1&id=da15ac7c43dd4f88&expire=1362519023.flv

If I try to run the captured string, this is what I get:

Code:
[21:26:10] $ rtmpdump -r "rtmpe://r6---sn-aigezn7k.c.youtube.com/videoplayback" -a "videoplayback" -f "LNX 11,2,202,273" -W "http://s.ytimg.com/yts/swfbin/watch_as3-vflCqc2WH.swf" -p "http://www.youtube.com/watch?v=2hWsfEPdT4g" -y "sparams=gcr%2Cid%2Citag%2Crtmpe%2Csource%2Cexpire&gcr=gb&fexp=920704%2C912806%2C902000%2C922403%2C922405%2C929901%2C913605%2C925006%2C906938%2C931202%2C908529%2C920201%2C930101%2C930603%2C906834%2C913570%2C901451&signature=673C8BE9BC30DD798CF23A2004DCA9368E87B31B.8B7FE1BC427AA3E87389A4952AD1D984B5FEB318&rtmpe=yes&itag=34&source=youtube&sver=3&key=yt1&id=da15ac7c43dd4f88&expire=1362519023?ptk=channel4&ptchn=4oDFood&cpn=BYYl3nVhBZOB5ld1" -o sparams=gcr%2Cid%2Citag%2Crtmpe%2Csource%2Cexpire&gcr=gb&fexp=920704%2C912806%2C902000%2C922403%2C922405%2C929901%2C913605%2C925006%2C906938%2C931202%2C908529%2C920201%2C930101%2C930603%2C906834%2C913570%2C901451&signature=673C8BE9BC30DD798CF23A2004DCA9368E87B31B.8B7FE1BC427AA3E87389A4952AD1D984B5FEB318&rtmpe=yes&itag=34&source=youtube&sver=3&key=yt1&id=da15ac7c43dd4f88&expire=1362519023.flv
[1] 15149
[2] 15150
[3] 15151
[4] 15152
[5] 15153
[6] 15154
[7] 15155
[8] 15156
[9] 15157
[10] 15158
[2]   Done                    gcr=gb
[3]   Done                    fexp=920704%2C912806%2C902000%2C922403%2C922405%2C929901%2C913605%2C925006%2C906938%2C931202%2C908529%2C920201%2C930101%2C930603%2C906834%2C913570%2C901451
[4]   Done                    signature=673C8BE9BC30DD798CF23A2004DCA9368E87B31B.8B7FE1BC427AA3E87389A4952AD1D984B5FEB318
[5]   Done                    rtmpe=yes
[6]   Done                    itag=34
[7]   Done                    source=youtube
[8]   Done                    sver=3
[9]-  Done                    key=yt1
[21:26:11] $ RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 10
WARNING: HandShake: Server not genuine Adobe!
ERROR: RTMP_Connect1, handshake failed.

Then it just hangs there until I enter Ctrl+c and it exits as follows:

Code:
[1]-  Exit 1                  rtmpdump -r "rtmpe://r6---sn-aigezn7k.c.youtube.com/videoplayback" -a "videoplayback" -f "LNX 11,2,202,273" -W "http://s.ytimg.com/yts/swfbin/watch_as3-vflCqc2WH.swf" -p "http://www.youtube.com/watch?v=2hWsfEPdT4g" -y "sparams=gcr%2Cid%2Citag%2Crtmpe%2Csource%2Cexpire&gcr=gb&fexp=920704%2C912806%2C902000%2C922403%2C922405%2C929901%2C913605%2C925006%2C906938%2C931202%2C908529%2C920201%2C930101%2C930603%2C906834%2C913570%2C901451&signature=673C8BE9BC30DD798CF23A2004DCA9368E87B31B.8B7FE1BC427AA3E87389A4952AD1D984B5FEB318&rtmpe=yes&itag=34&source=youtube&sver=3&key=yt1&id=da15ac7c43dd4f88&expire=1362519023?ptk=channel4&ptchn=4oDFood&cpn=BYYl3nVhBZOB5ld1" -o sparams=gcr%2Cid%2Citag%2Crtmpe%2Csource%2Cexpire
[10]+  Done                    id=da15ac7c43dd4f88
Any ideas?
Reply With Quote
  #2  
Old 03-15-2013, 11:36 AM
Mick Mick is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Mick is on a distinguished road
Default

Re: rtmpdump handshake error


Guys, could at least someone confirm if they succeed in downloading this video, so that I can investigate my set up further if this is just an isolated case?

Thanks for any pointers.
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 11:08 AM.


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