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%)


chap 12-10-2012 06:25 PM

Re: How to download Mosaik.tv videos ?


 
thanks
Code:

rtmpdump -r "rtmpt://178.33.47.133/vod/mosaiktv" -y "mosaiktv/20110610_carr%C3%A9" -o 20121207.flv
yes it works in your assembly (v2.4-75-ge783798)
you changed something in the code?

but why is not working on KSV:confused:
Code:

>rtmpdump
-r "rtmpt://178.33.47.133/vod/mosaiktv" -y "mosaiktv/20110610_carr%C3%A9" -o 201
21207.flv
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
0.000 kB / 0.00 sec
Download complete

but works fine

Code:

>rtmpdump -r "rtmpt://178.33.47.133/vod/mosaiktv" -y "mosaiktv/20121207" -o 20121207.flv
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  duration                2667.20
INFO:  width                  720.00
INFO:  height                  400.00
INFO:  videodatarate          1000.00
INFO:  framerate              25.00
INFO:  videocodecid            4.00
INFO:  audiodatarate          128.00
INFO:  audiodelay              0.03
INFO:  audiocodecid            2.00
INFO:  canSeekToEnd            TRUE
2491.396 kB / 19.63 sec (0.7%)

probably due to the encoding?

svnpenn2 12-10-2012 06:30 PM

Re: How to download Mosaik.tv videos ?


 
Quote:

Originally Posted by chap
yes it works in your assembly (v2.4-75-ge783798)
you changed something in the code?
but why is not working on KSV

github.com/svnpenn/rtmpdump/commit/f5fa

svnpenn2 12-10-2012 06:31 PM

Re: How to download Mosaik.tv videos ?


 
Quote:

Originally Posted by chap
yes it works in your assembly (v2.4-75-ge783798)
you changed something in the code?
but why is not working on KSV

github.com/svnpenn/rtmpdump/commit/f5fa

KSV 12-10-2012 11:32 PM

Re: How to download Mosaik.tv videos ?


 
Code:

rtmpdump -r "rtmpt://178.33.47.133/vod/mosaiktv//mosaiktv/20110610_carr%c3%a9" -o Test.flv
Code:

RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: client signature does not match!
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
318.647 kB / 1.92 sec (0.0%)


chap 12-10-2012 11:45 PM

Re: How to download Mosaik.tv videos ?


 
KSV
yes
so works fine
do not need to explicitly specify the -y?

KSV 12-11-2012 04:45 AM

Re: How to download Mosaik.tv videos ?


 
Quote:

Originally Posted by chap (Post 57316)
do not need to explicitly specify the -y?

Yeah, in my builds double slash (//) separates the app and playpath parts properly and url decoding only works with -r switch in official and my version.

le-coyote 01-19-2013 04:40 AM

Re: How to download Mosaik.tv videos ?


 
Hello guys :)

I have also a video to download from this site (mosaik.tv), but i dont understand how you've found the good link for the video above...:confused:

Here's my link : http://www.mosaik.tv/index.php?video=V1XGzOrF0q

And it will be cool to understand how to find myself the good video stream

thank you in advance guys !:D

le-coyote 01-19-2013 09:53 AM

Re: How to download Mosaik.tv videos ?


 
URL founded, but I have to enter the same url as in your precedent post (178.33.47.133) -> how can we see this url ?

chap 01-19-2013 10:57 AM

Re: How to download Mosaik.tv videos ?


 
Code:

>rtmpdump
-r "rtmpt://178.33.47.133/vod/mosaiktv//mosaiktv/20130102" -o Test.flv
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  duration                9516.68
INFO:  width                  720.00
INFO:  height                  400.00
INFO:  videodatarate          1000.00
INFO:  framerate              25.00
INFO:  videocodecid            4.00
INFO:  audiodatarate          128.00
INFO:  audiodelay              0.03
INFO:  audiocodecid            2.00
INFO:  canSeekToEnd            TRUE
6330.734 kB / 46.71 sec (0.4%)


le-coyote 01-19-2013 02:10 PM

Re: How to download Mosaik.tv videos ?


 
I have entered the same url, and he told me :

"WARNING: Handshake: client signature does not match"

and the DL finish before the end :(

chap 01-19-2013 02:15 PM

Re: How to download Mosaik.tv videos ?


 
scrin put

le-coyote 01-19-2013 02:40 PM

Re: How to download Mosaik.tv videos ?


 

chap 01-19-2013 03:24 PM

Re: How to download Mosaik.tv videos ?


 
try use
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)

le-coyote 01-20-2013 02:40 AM

Re: How to download Mosaik.tv videos ?


 
Code:

Microsoft Windows [version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.

C:\Users\CERVEAU>\cd
'\cd' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

C:\Users\CERVEAU>cd\

C:\>rtmpdump -r "rtmpt://178.33.47.133/vod/mosaiktv//mosaiktv/20130102" -o testn
ouvelleversion.flv
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: client signature does not match!
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  duration                9516.68
INFO:  width                  720.00
INFO:  height                  400.00
INFO:  videodatarate          1000.00
INFO:  framerate              25.00
INFO:  videocodecid            4.00
INFO:  audiodatarate          128.00
INFO:  audiodelay              0.03
INFO:  audiocodecid            2.00
INFO:  canSeekToEnd            TRUE
9850.734 kB / 75.35 sec (0.7%)


le-coyote 01-20-2013 04:48 AM

Re: How to download Mosaik.tv videos ?


 
Everything is ok Now, thank you very much for the support :)

le-coyote 02-10-2013 03:51 AM

Re: How to download Mosaik.tv videos ?


 
Hello ! Today, i have some problems :

http://www.mosaik.tv/index.php?video=3689evXB9h



can someone please help me? :confused:

chap 02-10-2013 02:29 PM

Re: How to download Mosaik.tv videos ?


 
one man:cool: helped solve
Code:

rtmpdump -r "rtmpe://178.33.47.133:80/vod/mosaiktv" -W "http://www.mosaik.tv/visionneuse/visio_v6.swf" -y "mosaiktv/20130123_ok" -o 20130123_ok.flv

le-coyote 02-10-2013 02:36 PM

Re: How to download Mosaik.tv videos ?


 
awww the problem was the "_ok", thank you very very much :)


All times are GMT -6. The time now is 04:20 AM.