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-02-2012, 07:50 PM
daasker daasker is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
daasker is on a distinguished road
Default

myvideo.de without direct rmtp link?


hey guys,
one question to you: is it possible, to download the stream without a direct rmtp:// link?

At http://www.myvideo.de/watch/8375222/...e_Doesn_t_Mind you only have the player code and a encoded XML data (http://www.myvideo.de/dynamic/get_pl...D&autorun=yes).

Or is it possible to decode this data direct?
Reply With Quote
  #2  
Old 03-02-2012, 08:15 PM
greenythebeast greenythebeast is offline
Senior Member
 
Join Date: Dec 2011
Posts: 105
greenythebeast is on a distinguished road
Default

Re: myvideo.de without direct rmtp link?


Have you tried using RTMPexplorer?
Reply With Quote
  #3  
Old 03-03-2012, 12:53 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: myvideo.de without direct rmtp link?


pseudo code required to decrypt xml

Code:
$key = md5("c8407a08b3c71ea418ec9dc662f2a56e40cbd6d5a114aa50fb1e1079e17f2b83" . md5($id))
$decrypted_xml = rc4.decrypt(hex_decode($encrypted_xml), $key)
$id is the ID used in url to retrieve xml.
Code:
http://www.myvideo.de/dynamic/get_player_video_xml.php?ID=8375222&flash_playertype=D&autorun=yes
i successfully tested the above method to decrypt xml and download video with rtmpdump.
Reply With Quote
  #4  
Old 03-03-2012, 10:59 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: myvideo.de without direct rmtp link?


here is a sample php script. it's not a full downloader but it shows you the relevant info.
Code:
<?php
  /* Open the cipher */
  $td = mcrypt_module_open('arcfour', '', 'stream', '');

  /* Create the IV */
  $iv = "";

  /* Create key */
  $id  = $argv[1];
  $key = md5("c8407a08b3c71ea418ec9dc662f2a56e40cbd6d5a114aa50fb1e1079e17f2b83" . md5($id));

  /* Intialize encryption */
  mcrypt_generic_init($td, $key, $iv);

  /* Encrypted data */
  $enc_xml   = file_get_contents("http://www.myvideo.de/dynamic/get_player_video_xml.php?ID=$id&flash_playertype=D&autorun=yes");
  $enc_xml   = explode("=", $enc_xml, 2);
  $enc_xml   = $enc_xml[1];
  $encrypted = pack("H*", $enc_xml);

  /* Decrypt encrypted string */
  $decrypted = mdecrypt_generic($td, $encrypted);

  /* Terminate decryption handle and close module */
  mcrypt_generic_deinit($td);
  mcrypt_module_close($td);

  /* Show info */
  $xml          = simplexml_load_string($decrypted);
  $video_params = $xml->{"playlist"}->{"videos"}->{"video"}->attributes();
  echo "Title    : " . rawurldecode($video_params->{"title"}) . "\n";
  echo "RTMP     : " . rawurldecode($video_params->{"connectionurl"}) . "\n";
  echo "Playpath : " . rawurldecode($video_params->{"source"}) . "\n";
  echo "HTTP     : " . rawurldecode($video_params->{"path"} . $video_params->{"source"}) . "\n";
?>
Usage:
Code:
php MyVideoTV.php your_video_id
video_id is available in video url.
Code:
http://www.myvideo.de/watch/8375222/Sean_Paul_She_Doesn_t_Mind
Reply With Quote
  #5  
Old 03-06-2012, 06:58 PM
daasker daasker is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
daasker is on a distinguished road
Default

Re: myvideo.de without direct rmtp link?


Hi,
thank you for your help.

I got a 2 kinds of links, all rmtpe links. The first one works,
but here is the second one, i got 6 9 missmatch:


/usr/local/bin/rtmpdump -r "rtmpe://myvideo2fs.fplive.net/myvideo2flash/" -a "myvideo2flash" -W "http://is5.myvideo.de/de/player/mingR11b/ming.swf" -f "WIN 10,1,82,76" -p "http://www.myvideo.de/watch/7572095/Sisqo_Thong_Song" -y "flv:movie19/42/7572095" -o "test.mp4"

Dont know what to do, that are the only information in the quellcode.


Problem is only at the "myvideo2flash"-Links, the other one works fine.


Edit: hmm it's funny, sometimes it works, sometimes not?!
Reply With Quote
  #6  
Old 03-26-2012, 10:54 AM
_Nazar_ _Nazar_ is offline
Junior Member
 
Join Date: Mar 2012
Posts: 9
_Nazar_ is on a distinguished road
Default

Re: myvideo.de without direct rmtp link?


How do you get all these parameters?
Quote:
/usr/local/bin/rtmpdump -r "rtmpe://myvideo2fs.fplive.net/myvideo2flash/" -a "myvideo2flash" -W "http://is5.myvideo.de/de/player/mingR11b/ming.swf" -f "WIN 10,1,82,76" -p "http://www.myvideo.de/watch/7572095/Sisqo_Thong_Song" -y "flv:movie19/42/7572095" -o "test.mp4"
I have only this in my XML
Quote:
<video title="Juice Newton -- Queen Of Hearts" token="Berlinale" token_offset="-5" token_duration="18000" token_current_time="1332501752" clipping="" video_link="/watch/7265637/Juice_Newton_Queen_Of_Hearts" length="03:23" date="14.08.2007" rateCount="2" commentCount="1" views="1231" rate="5" keywords="Juice Newton, Queen Of Hearts, Pop, Country" userid="1220166" nickname="EMI" description="Juice Newton Queen Of Hearts : Juice Newton Queen Of Hearts" preview="http://is4.myvideo.de/de/movie7/46/thumbs/7265637_1.jpg" source="movie7/46/7265637.flv" path="http://is4.myvideo.de/de/" connectionurl="rtmpe://myvideo3fs.fplive.net/myvideo3/?token=c3RhcnRfdGltZT0yMDEyMDMyMzExMjIyNyZlbmRfdGl tZT0yMDEyMDMyMzE2MjIzMiZkaWdlc3Q9OGJjODczMmNlMmM1O DA1OGEwMDRhYmNjMjFmMjVlZmY=" id="7265637"/>
Reply With Quote
  #7  
Old 03-26-2012, 04:11 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: myvideo.de without direct rmtp link?


Quote:
Originally Posted by _Nazar_ View Post
How do you get all these parameters?
http://stream-recorder.com/forum/sho...17&postcount=2
Reply With Quote
  #8  
Old 04-01-2012, 01:12 AM
yishaofang yishaofang is offline
Member
 
Join Date: Mar 2012
Posts: 44
yishaofang is on a distinguished road
Default

Re: myvideo.de without direct rmtp link?


Quote:
Originally Posted by daasker View Post
Hi,
thank you for your help.

I got a 2 kinds of links, all rmtpe links. The first one works,
but here is the second one, i got 6 9 missmatch:


/usr/local/bin/rtmpdump -r "rtmpe://myvideo2fs.fplive.net/myvideo2flash/" -a "myvideo2flash" -W "http://is5.myvideo.de/de/player/mingR11b/ming.swf" -f "WIN 10,1,82,76" -p "http://www.myvideo.de/watch/7572095/Sisqo_Thong_Song" -y "flv:movie19/42/7572095" -o "test.mp4"

Dont know what to do, that are the only information in the quellcode.


Problem is only at the "myvideo2flash"-Links, the other one works fine.


Edit: hmm it's funny, sometimes it works, sometimes not?!
Code:
rtmpdump -r "rtmp://myvideo2fs.fplive.net/myvideo2flash/movie19/42/7572095" -o video.flv
you can try idm as well
Reply With Quote
  #9  
Old 04-02-2012, 03:26 AM
_Nazar_ _Nazar_ is offline
Junior Member
 
Join Date: Mar 2012
Posts: 9
_Nazar_ is on a distinguished road
Default

Re: myvideo.de without direct rmtp link?


The answer to my question was "Use rtmpsrv"
Reply With Quote
  #10  
Old 04-13-2012, 10:50 AM
dakota dakota is offline
Junior Member
 
Join Date: Apr 2012
Posts: 1
dakota is on a distinguished road
Default

where do you take the part of the key from?


hey ksv, thanks a lot for your explanation about decrypting the xml. where do you get the hex-string you're using to create the rc4 key (c8407a08b3c71ea418ec9dc662f2a56e40cbd6d5a114aa50f b1e1079e17f2b83) from? sorry if i missed something, just want to make sure i can find it in case they change something in the encryption.

thx
dakota
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 12:48 AM.


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