Audio/video stream recording forums
|
| Attention Visitor: |
You may have to register or log in before you can post:
|
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
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? |
|
#2
|
|||
|
|||
Re: myvideo.de without direct rmtp link?Have you tried using RTMPexplorer?
|
|
#3
|
|||
|
|||
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)
Code:
http://www.myvideo.de/dynamic/get_player_video_xml.php?ID=8375222&flash_playertype=D&autorun=yes |
|
#4
|
|||
|
|||
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";
?>
Code:
php MyVideoTV.php your_video_id Code:
http://www.myvideo.de/watch/8375222/Sean_Paul_She_Doesn_t_Mind |
|
#5
|
|||
|
|||
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?! |
|
#6
|
|||
|
|||
Re: myvideo.de without direct rmtp link?How do you get all these parameters?
Quote:
Quote:
|
|
#7
|
|||
|
|||
Re: myvideo.de without direct rmtp link?Quote:
Code:
rtmpdump -r "rtmp://myvideo2fs.fplive.net/myvideo2flash/movie19/42/7572095" -o video.flv |
|
| Tags: myvideo crypted |
| Thread Tools | |
| Display Modes | |
|
|