Support for RuTube video hosting

Ask for help about FlashGot, no registration needed to post
Post Reply
Barvinok
Posts: 4
Joined: Sat Jul 11, 2009 7:24 pm

Support for RuTube video hosting

Post by Barvinok »

Hi all,

I didn't know whether it is support or feature request, but anyways... It seems that RuTube video hosting took some special measures to prevent nice tools like FlashGot from downloading media files from them.
Check this one: http://rutube.ru/tracks/1417382.html
After some commercial, this is a video of a physics experiment. I can't download it using FlashGot, only commercial is available.
Any thoughts?

Cheers,
Barvinok.
Mozilla/5.0 (Windows; U; Windows NT 6.1; uk; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: Support for RuTube video hosting

Post by al_9x »

They switched to RTMP (from HTTP). RTMP support was discussed, the problem is that RTMP is implemented by the flash plugin, not Fx, so extensions can't get notified of RTMP requests. It is likely impossible to have generic RTMP support, each streaming service would require research, custom code and testing for constructing adequate RTMP requests. Perhaps Giorgio can create a plugin model for flashgot, where this work can be done by others.

Here's what you can do for rutube, in the meantime:
  1. download rtmpdump
  2. install the unplug extension
  3. invoke unplug on the video page, it will show a dialog with an entry for the RTMP url and a button to copy the link. The download functionality has not been implemented, so just copy the url.
  4. run rtmpdump yourself with the following command-line:

    Code: Select all

    rtmpdump -s "http://rutube.ru/player.swf" -r "rtmp url from unplug" -o "local file.flv" 
    
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: Support for RuTube video hosting

Post by al_9x »

they made it a bit harder

the rutube RTMP url will have this structure:

rtmp://{host}/{path/}mp4:{the_rest}

you will need to extract three components from it:
  1. "{path/}" - may be multilevel, ends with a /
  2. "rtmp://{host}/{path/}"
  3. "mp4:{the_rest}"
command (curly braces indicate variable substitutions):

Code: Select all

rtmpdump -W "http://rutube.ru/player.swf" -a "{component a}" -r "{component b}" -y "{component c}" -o "local file.flv"
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
Post Reply