With Flash 9 it was done in a blink – look in your /tmp and copy the appropriate file to have it as a local video for watching in a more suitable player like VLC. Since Flash 10 it isn’t possible anymore so I decided to write a script which copies the data from memory to your hard drive. This script needs Zenity (default in Gnome) and is written in Python.
It doens’t work on Youtube since they stream their Flash content but is usable on a lot of other file and video hosters like Dailymotion, Vimeo, Sockshare, Streamload, Putlocker and many others.
Installation:
wget http://mein-neues-blog.de/files/ripflash
chmod a+x ripflash
sudo mv ripflash /usr/local/bin
If you like you may want to create a starter in your menu.
Usage:
Open the video in your browser and wait until it was loaded completely.
ripflash [path]
It lists all video file descriptors opened by your flash plugin and lets you select which of them should be copied. They have some cryptic ID’s which isn’t that comfortable but for this quick’n’dirty solution it seems good enough.
If path is omitted it will ask you where to save the file to. It is named automatically after the given ID so the dialog and the command line option wants to know a folder to save to.
ripflash /home/user/Desktop
or
user@machine~$: ripflash Desktop
…will copy the files to your Desktop without asking for a path.
This article was published
Montag,, 23. April 2012 @ 18:29.
You may want to subscribe to the comments via RSS 2.0 feed.
Post a comment, or create a trackback on your page.
Write a comment / Schreibe einen Kommentar (Copy/Rip Flash videos under Linux to watch them in local players)
Please note that comments are moderated and don't appear immediately. If you're reporting a problem or a bug I'll publish them when I started processing your request.
Bitte beachte: Kommentare sind moderiert und erscheinen nicht sofort. Ich veröffentliche Bugreports und Hilferequests erst, sobald ich mich eines Problems oder Bugs angenommen habe.
Thank you very much!! You're doing an essential job for the development of open source software! The following points aren't meant as dogmas but as a clue, decide for yourself what you think could be useful in troubleshooting.
- Please...
- ...state name and version of your operating system / desktop environment
- ...state the version of the program you're using
- ...be detailed in what is happening and what you expected to happen
- ...try to provide some deeper information (like xplanetFX logs or the output of the program when started in a terminal window)
- ...speak to me as a human being, don't think I'm a bot.
Herzlichen Dank!! Fehlerberichte sind essentiell für die Entwicklung von Open-Source-Software! Die folgenden Punkte sind keine Dogmen, sondern sollen eher Anhaltspunkte darstellen; entscheide selbst, ob sie für die Fehlersuche hilfreich sein könnten.
- Bitte...
- ...nenne den Namen und die Version Deines Betriebssystems / Deiner Desktopumgebung
- ...nenne die Version des von Dir benutzten Programms
- ...beschreibe möglichst genau, was passiert und was Du erwartest, was passieren sollte
- ...stelle möglichst tiefergehende Informationen zur Verfügung (xplanetFX Logs oder die Ausgabe des Programms im Terminalfenster)
- ...sprich mit mir, wie mit einem Menschen, ich bin kein Automat.