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 > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 12-08-2012, 02:35 PM
Rtmpfan Rtmpfan is offline
Junior Member
 
Join Date: Aug 2011
Posts: 17
Rtmpfan is on a distinguished road
Default

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.
Reply With Quote
  #2  
Old 12-09-2012, 03:58 PM
Rtmpfan Rtmpfan is offline
Junior Member
 
Join Date: Aug 2011
Posts: 17
Rtmpfan is on a distinguished road
Default

Re: How to download Mosaik.tv videos ?


No one knows how to make it ?
Reply With Quote
  #3  
Old 12-10-2012, 02:15 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: How to download Mosaik.tv videos ?


Quote:
Originally Posted by Rtmpfan View Post
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

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" />

Last edited by chap : 12-10-2012 at 03:42 AM.
Reply With Quote
  #4  
Old 12-10-2012, 11:50 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

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
Reply With Quote
  #5  
Old 12-10-2012, 12: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: How to download Mosaik.tv videos ?


KSV
Thanks
Reply With Quote
  #6  
Old 12-10-2012, 12:20 PM
svnpenn2 svnpenn2 is offline
Banned
 
Join Date: Nov 2012
Location: Dallas
Posts: 55
svnpenn2 is on a distinguished road
Default

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
Reply With Quote
  #7  
Old 12-10-2012, 04:35 PM
Rtmpfan Rtmpfan is offline
Junior Member
 
Join Date: Aug 2011
Posts: 17
Rtmpfan is on a distinguished road
Default

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.
Reply With Quote
  #8  
Old 12-10-2012, 05: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: 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
Reply With Quote
  #9  
Old 12-10-2012, 05:43 PM
Rtmpfan Rtmpfan is offline
Junior Member
 
Join Date: Aug 2011
Posts: 17
Rtmpfan is on a distinguished road
Default

Re: How to download Mosaik.tv videos ?


Quote:
Originally Posted by svnpenn2 View Post
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.
Reply With Quote
  #10  
Old 12-10-2012, 05:45 PM
svnpenn2 svnpenn2 is offline
Banned
 
Join Date: Nov 2012
Location: Dallas
Posts: 55
svnpenn2 is on a distinguished road
Default

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%)
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 07:47 AM.


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