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

How to download Mosaik.tv videos ?

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

Rtmpfan 12-08-2012 01:35 PM

How to download Mosaik.tv videos ?


 
Hi !
http://www.mosaik.tv/index.php?emission=1
I'm encountering troubles with vids from Mosaik.tv. I can't manage to get the real stream URL to lauch downloads. Any help would be appreciated.

Rtmpfan 12-09-2012 02:58 PM

Re: How to download Mosaik.tv videos ?


 
No one knows how to make it ?

chap 12-10-2012 01:15 AM

Re: How to download Mosaik.tv videos ?


 
Quote:

Originally Posted by Rtmpfan (Post 57281)
No one knows how to make it ?

there artfully encoded xml file:(

this is known
rtmpte://178.33.47.133/vod/mosaiktv

thanks to one good man has found a solution:cool:

Code:

rtmpdump -r "rtmpte://178.33.47.133/vod/mosaiktv" -a "vod/mosaiktv" -p http://www.mosaik.tv/ -W "http://www.mosaik.tv/visionneuse/visio_v6.swf" -y "mosaiktv/20121207" -o 20121207.flv
parametr -y date video
page code
<meta property="og:image" content="http://www.mosaik.tv/videoimages/20121207.jpg" />

KSV 12-10-2012 10:50 AM

Re: How to download Mosaik.tv videos ?


 
Sample php script to decode XML:
Code:

<?php
  class Cryptage
    {
      public function decode($arg1)
        {
          $version = 1;
          $cle    = "t4G3a9M0Zw7";
          $loc1    = substr($cle, 0, 1);
          $loc2    = 0;
          $loc3    = strlen($arg1);
          $loc4    = "";
          $loc5    = "";
          $loc8    = 0;
          while ($loc2 < $loc3)
            {
              $loc7 = substr($arg1, $loc2, 1);
              if ($loc7 != $loc1)
                {
                  $loc8 = 1;
                  while ($loc8 < strlen($cle))
                    {
                      $loc9 = substr($cle, $loc8, 1);
                      if ($loc9 == $loc7)
                        {
                          if ($loc8 == 10)
                              $loc8 = 0;
                          $loc5 = $loc5 . $loc8;
                          break;
                        }
                      $loc8++;
                    }
                }
              else
                {
                  $loc4 = $loc4 . chr($loc5);
                  $loc5 = "";
                }
              $loc2++;
            }
          return $loc4;
        }
    }
 
  $crypt  = new Cryptage();
  $decoded = $crypt->decode("encoded_xml_data_here");
  file_put_contents("Decoded.xml", $decoded);
?>

http://pastebin.com/jbZkPz7i

Decoded data:
http://pastebin.com/iPWkFAU6

chap 12-10-2012 11:11 AM

Re: How to download Mosaik.tv videos ?


 
KSV
Thanks:cool:

svnpenn2 12-10-2012 11:20 AM

Re: How to download Mosaik.tv videos ?


 
Cleartext XML can also be obtained from Flash Player core dump

github.com/svnpenn/a/blob/master/flash-dump.sh

Rtmpfan 12-10-2012 03:35 PM

Re: How to download Mosaik.tv videos ?


 
First, thank you all for your work and time. It's amazing the amount of knowledges available on this site thanks to you.

Chap's code worked fine. Respects to "one good man"who found the solution. I wish you told me the tool/way you got the parameters for I tried all the versions of rtmpdumphelper or rtmpExploreX with no result. If some one is hungry, don't give him a fish ; teach him how to fish.

About KSV's et svnpenn2's scripts, I have one remark to make. As most of people (like me) coming here for help are beginners and don't understand anything about programming, it would be better if you make step by step guides everytime you make a script. In fact, once I download your stuff, I don't know what to do with it as it's chinese for me.

Yet I see from some pages on this site you made very helpfull guides (rtmpdump, adobehds....). Thanks to you I can now use them easily.

Otherwise, thank you again for your devotion to helping newbies like me.

chap 12-10-2012 04:11 PM

Re: How to download Mosaik.tv videos ?


 
http://www.mosaik.tv/index.php?emission=3
tell me how to pass the parameter -y
mosaiktv/20110610_carré
rtmpdump does not work with this symbol

mosaiktv/20110610_carr\u00E9
no works

Rtmpfan 12-10-2012 04:43 PM

Re: How to download Mosaik.tv videos ?


 
Quote:

Originally Posted by svnpenn2 (Post 57303)
Respectfully, its 2012. Computers have been around for over 25 years. If you didnt understand anything about driving, would you blame the people who built the car?

Oh man ! Beleive me, I dare not blame anyone. You would I thought differently if you were a newbie. Even with a car, one must get driving lessons before using it. In the case of your scripts, a newbie can't do anything if he doesn't have lessons (guides). It isn't a blame but a suggestion, an evidence. Only programmers and people who have been taught understand and know how to make it. That's why I do think a guide is necessary for each new script as this is a public forum. I apologize if my point of view doesn't match yours and don't consider it as a blame.
Cheers.

svnpenn2 12-10-2012 04:45 PM

Re: How to download Mosaik.tv videos ?


 
Quote:

Originally Posted by chap
mosaiktv/20110610_carré
rtmpdump does not work with this symbol

meyerweb.com/eric/tools/dencoder

Quote:

rtmpdump -r rtmpt://178.33.47.133/vod/mosaiktv -y mosaiktv/20110610_carr%c3%a9 -o a.flv
RTMPDump v2.4-75-ge783798
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 3186.96
INFO: totalduration 3186.96
INFO: width 720.00
INFO: height 404.00
INFO: videodatarate 1000.00
INFO: framerate 25.00
INFO: audiodatarate 96.00
INFO: audiosamplerate 44100.00
INFO: audiosamplesize 16.00
1976.542 kB / 13.80 sec (0.4%)



All times are GMT -6. The time now is 11:36 AM.