How To Keep Videos Downloaded With Flash Player 10.2+
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
How To Keep Videos Downloaded With Flash Player 10.2+
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Interesting to read indeed.
Can one find them manually that way too? Do they exists if one look for them where the script find them? I don't do scripts so I fail to make use of this tip but I do try to find the files and it is more difficult but one need no programming skill.
Maybe give a background. I was using the old Snow Pup 5 and then decided to upgrade to Snow 15 after testing every version in between 5 to 15 and to my surprise the new versions could not find some Flashfiles on Tmp so I am back using Snow5 and sometimes the flashfiles are in Tmp but somethimes one go to root/.mozilla and then Firefox and then xxxxxx and then Cache but sometimes they fail to be there too.
So that could be what this link explain that one need to do what the script do. Which I have not manually figured out yet.
One workaround when it fails in Firefox is to replay it in SRware Iron and then look in that Cache and there one find it instead
Can one find them manually that way too? Do they exists if one look for them where the script find them? I don't do scripts so I fail to make use of this tip but I do try to find the files and it is more difficult but one need no programming skill.
Maybe give a background. I was using the old Snow Pup 5 and then decided to upgrade to Snow 15 after testing every version in between 5 to 15 and to my surprise the new versions could not find some Flashfiles on Tmp so I am back using Snow5 and sometimes the flashfiles are in Tmp but somethimes one go to root/.mozilla and then Firefox and then xxxxxx and then Cache but sometimes they fail to be there too.
So that could be what this link explain that one need to do what the script do. Which I have not manually figured out yet.
One workaround when it fails in Firefox is to replay it in SRware Iron and then look in that Cache and there one find it instead

I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
To Manualy Do It
In a Process/Task Manager like PProcess. I find the PID of the WebBrowser or it's child process which the flash player lib is running in.
I then look in "/proc/" for the folder with that PID and look in there for a multimedia file (Look in the MIME column of your file browser/manager.). With Opera I find it's in the "fd" folder.
I then use the "cp" commend to copy it where I want it.
I have found copy dialog of Rox-Filer, justs copies the link not file and if you use the "Show Target" right click menu option you just get taken to "/tmp/"
.
I then look in "/proc/" for the folder with that PID and look in there for a multimedia file (Look in the MIME column of your file browser/manager.). With Opera I find it's in the "fd" folder.
I then use the "cp" commend to copy it where I want it.
I have found copy dialog of Rox-Filer, justs copies the link not file and if you use the "Show Target" right click menu option you just get taken to "/tmp/"

[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Thanks I have to test this ASAP.
I looove workarounds.
So if I have two Rox windows open and drag the file from one to the other then it will not work?
In Snow 5 it does work but I should test what you described I talk about a normal cache and not the special things they set up now.
Would be cool if we chose the same music file and both test to see where it end up?
Has to be one accepted the world over though.
When they interview Martina McBride doing a duet with Elvis ?
http://www.youtube.com/watch?v=vpvLvnRpD_Q
You can chose another but I will test now in Snow Pup 5 to see where it ends up. Edit it ended up not in Tmp but in root/.mozilla/Firefox/nyrsxxxx.default/Cache and had same kind of look like all the others that one catch this way. Not the ending that he talks about in your link.
it has no ending and if one put .mp4 there then it works to look at using VLC and it worked dragging it between two Rox windows.
But it is gone if I shut down FF so one have to do it while it last. One should stop the playing and do the move when it has loaed shown by the read line showing the progress of the loading.
I have the latest flashplayer or maybe the older 10.1 instead of 10.2?
How do I find out which version I have ?
Then I will do same test in latest Lupu525 and 10.2 if that is what they refer to. Maybe it is 10.3 now?

I looove workarounds.
So if I have two Rox windows open and drag the file from one to the other then it will not work?
In Snow 5 it does work but I should test what you described I talk about a normal cache and not the special things they set up now.
Would be cool if we chose the same music file and both test to see where it end up?
Has to be one accepted the world over though.
When they interview Martina McBride doing a duet with Elvis ?
http://www.youtube.com/watch?v=vpvLvnRpD_Q
You can chose another but I will test now in Snow Pup 5 to see where it ends up. Edit it ended up not in Tmp but in root/.mozilla/Firefox/nyrsxxxx.default/Cache and had same kind of look like all the others that one catch this way. Not the ending that he talks about in your link.
it has no ending and if one put .mp4 there then it works to look at using VLC and it worked dragging it between two Rox windows.
But it is gone if I shut down FF so one have to do it while it last. One should stop the playing and do the move when it has loaed shown by the read line showing the progress of the loading.
I have the latest flashplayer or maybe the older 10.1 instead of 10.2?
How do I find out which version I have ?
Then I will do same test in latest Lupu525 and 10.2 if that is what they refer to. Maybe it is 10.3 now?
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
I started MsDOS scripts say 1986 or something but I could never remember even the basic commands. ls cd and a few more.
Maybe later but not now. Today I planned to test How To Keep Videos Downloaded With Flash Player 10.2+ on lupu because manually it just works in Snow5 while fail in Snowpup 15 but that could be due to something I do.
So I will test it on lupu525 too and see what happens.
But first I will spend some hours to try to learn what Seaside told me about reusing sfs again and again without having a regular standard pupsavefile. Will be interesting. I am sure of that I fail to get it going. I am incredibly bad at structured things. One need to get the hierarchy and in what order and where everything is and so on.
Edit
I failed using lupu to save y2 files. Only old snowpup5 seems to have some unique ability.
Have not tested the scrip though. Too complicated to understand what goes on.
But I am will to learn how to do it on cli though. manually
Maybe later but not now. Today I planned to test How To Keep Videos Downloaded With Flash Player 10.2+ on lupu because manually it just works in Snow5 while fail in Snowpup 15 but that could be due to something I do.
So I will test it on lupu525 too and see what happens.
But first I will spend some hours to try to learn what Seaside told me about reusing sfs again and again without having a regular standard pupsavefile. Will be interesting. I am sure of that I fail to get it going. I am incredibly bad at structured things. One need to get the hierarchy and in what order and where everything is and so on.
Edit
I failed using lupu to save y2 files. Only old snowpup5 seems to have some unique ability.
Have not tested the scrip though. Too complicated to understand what goes on.
But I am will to learn how to do it on cli though. manually
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
Yep.nooby wrote:So if I have two Rox windows open and drag the file from one to the other then it will not work?
Not bothered really. Sorry.nooby wrote:Would be cool if we chose the same music file and both test to see where it end up?
What? Not censorshiped in some countries? If so Youtube is not the place to go to.nooby wrote:Has to be one accepted the world over though.
Are you using the latest flash player from the adobe website and not one from the puppy repos or forums as these can be some versions behind?nooby wrote:You can chose another but I will test now in Snow Pup 5 to see where it ends up. Edit it ended up not in Tmp but in root/.mozilla/Firefox/nyrsxxxx.default/Cache
Yep no file ext.nooby wrote:had same kind of look like all the others that one catch this way.
Smart players like VLC, Mplayer, Xine, ect don't need a ext. Don't guess the ext. That could confuse non smart programs. What you need to know is the containe format. You can get it with the command "ffmpeg -i <Video>".nooby wrote:it has no ending and if one put .mp4 there then it works to look at using VLC and it worked dragging it between two Rox windows.
Example output:
Code: Select all
<Fri Apr 08><20:48:04>/mnt/sdb2/MultiMedia/Video/Internet/Youtube/Tech
3>>>
ffmpeg -i ./WhySoftwareSucks-GeeksDriveStickShiftCars
FFmpeg version SVN-r25158-snapshot, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 24 2010 21:49:52 with gcc 4.3.4
configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-mmx --enable-libvpx
libavutil 50.27. 0 / 50.27. 0
libavcore 0. 9. 0 / 0. 9. 0
libavcodec 52.89. 0 / 52.89. 0
libavformat 52.78. 5 / 52.78. 5
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.39. 0 / 1.39. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './WhySoftwareSucks-GeeksDriveStickShiftCars':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isomavc1mp42
Duration: 00:02:00.92, start: 0.000000, bitrate: 534 kb/s
Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 103 kb/s
Stream #0.1(und): Video: h264, yuv420p, 480x320 [PAR 1:1 DAR 3:2], 428 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc
At least one output file must be specified
<Fri Apr 08><20:48:25>/mnt/sdb2/MultiMedia/Video/Internet/Youtube/Tech
4>>>
Code: Select all
<Fri Apr 08><20:43:22>/mnt/sdb2/MultiMedia/Video/Internet/Youtube/Amusing
1>>>
ffmpeg -i ./StarWarsHelpDesk
FFmpeg version SVN-r25158-snapshot, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 24 2010 21:49:52 with gcc 4.3.4
configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-mmx --enable-libvpx
libavutil 50.27. 0 / 50.27. 0
libavcore 0. 9. 0 / 0. 9. 0
libavcodec 52.89. 0 / 52.89. 0
libavformat 52.78. 5 / 52.78. 5
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.39. 0 / 1.39. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[flv @ 0x8076470] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (2997/50) -> 29.92 (359/12)
Input #0, flv, from './StarWarsHelpDesk':
Metadata:
duration : 237
starttime : 0
totalduration : 237
width : 320
height : 240
videodatarate : 306
audiodatarate : 107
totaldatarate : 421
framerate : 30
bytelength : 12520362
canseekontime : true
sourcedata : B4A7D04C1MH1298594533198923
purl :
pmsg :
Duration: 00:03:57.13, start: 0.000000, bitrate: 423 kb/s
Stream #0.0: Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 313 kb/s, 29.92 tbr, 1k tbn, 59.94 tbc
Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 109 kb/s
At least one output file must be specified
<Fri Apr 08><20:43:31>/mnt/sdb2/MultiMedia/Video/Internet/Youtube/Amusing
2>>>
Code: Select all
Input #0, flv, from './StarWarsHelpDesk':
Code: Select all
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './WhySoftwareSucks-GeeksDriveStickShiftCars':
Code: Select all
<Fri Apr 08><20:43:31>/mnt/sdb2/MultiMedia/Video/Internet/Youtube/Amusing
2>>>
Don't close the web browser, window or tab the webpage is loaded in because the flash player lib gets closed and it deletes its temp files. So wait for it to finish downloading then copy it to where you want it.nooby wrote:But it is gone if I shut down FF so one have to do it while it last. One should stop the playing and do the move when it has loaed shown by the read line showing the progress of the loading.
With Mozzila based Web Browsers. In the address bar enter "about:plugins".nooby wrote:How do I find out which version I have ?
I have tested this with http://www.techcast.com/events/cebit11/mi03/. So I know it works.
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Hi abushcrafter,
Thanks for this. I've been trying to do this for a while!
I found I had to change my Rox options to display the "Type" column so I could see which file was the Flash Video.
To display Type column in Rox:
On the desktop, right-click on the "File" icon (top left, usually)
Choose: Rox-Filer > Options...
In Filer-windows > Display > List View, tick the box for "Show full type"
Here's a graphic of how I saved my Flash video which might be helpful to some:
Thanks for this. I've been trying to do this for a while!
I found I had to change my Rox options to display the "Type" column so I could see which file was the Flash Video.
To display Type column in Rox:
On the desktop, right-click on the "File" icon (top left, usually)
Choose: Rox-Filer > Options...
In Filer-windows > Display > List View, tick the box for "Show full type"
Here's a graphic of how I saved my Flash video which might be helpful to some:
- Attachments
-
- howtosaveflashvideo_3.jpg
- Example of how to save a Flash Video
- (117.66 KiB) Downloaded 2205 times
this is how i do it on lucid puppy.
First install lsof lib:
http://packages.ubuntu.com/lucid/lsof
Then put below script in /root/my-applications/bin/
to use go to youtube or where ever start a video then pause it.
Open a terminal and type in ytsave
This will find the flash file - play the flash file in mplayer - then give you a yes/no option to save or not the flash file to /root
The commented out line will do the same but also open the directory with rox filer the flash file is in.
First install lsof lib:
http://packages.ubuntu.com/lucid/lsof
Then put below script in /root/my-applications/bin/
Code: Select all
#!/bin/sh
echo "===================="
echo "==== Flash Save ===="
echo "===================="
yt=`lsof -n | grep -i Flash | awk 'NR==2{ print $2 }'`
name=`lsof -n | grep -i Flash | awk 'NR==2{ print strtonum($4) }'`
if [ $yt ]; then.
#rox /proc/$yt/fd | echo "found Flash files in /proc/$yt/fd" && mplayer /proc/$
echo "found Flash files in /proc/$yt/fd" && mplayer /proc/$yt/fd/$name.
echo "Would you like to save file? y/n"
read ANSWER
if [[ $ANSWER = "Y" || $ANSWER = "y" ]]; then
cp /proc/$yt/fd/$name $HOME/$name.$RANDOM && echo "saved flash video to $HOME"
else
echo "You selected no will now exit - Bye" && exit
fi
Open a terminal and type in ytsave
This will find the flash file - play the flash file in mplayer - then give you a yes/no option to save or not the flash file to /root
The commented out line will do the same but also open the directory with rox filer the flash file is in.
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
Need to get "lsof" for Wary...
Your welcome. Thanks for posting the extra info. That will be appreciated by newbies. I had forgotten that the Type column was disabled by default in rox-filer.Indy wrote:Hi abushcrafter,
Thanks for this. I've been trying to do this for a while!
It might not be a "Flash video" it might be "MPEG-4 video" or something else depending on a few things.Indy wrote:I found I had to change my Rox options to display the "Type" column so I could see which file was the Flash Video.
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
I modified stu90's script so I can save several videos at once.
I'd found myself with several instructional videos open in separate tabs in Firefox and wanted an easier way to save them all. (I still need to fix my brother's Xbox360's RROD!)
So, I used stu90's script above (thanks, stu90!) and came up with this.
You'll need to install lsof as per stu90's post if you want to use this.
The script searches for the hidden/deleted flashplayer files. "Flash" and "deleted". It does pick up MPEG-4 files as well.
(I was surprised when I saw one of those got saved, but I suppose it's the flash player's naming convention that includes "Flash" and "(deleted)" on the played files that allows it.)
Videos are saved in /root/savedvideos (the sub directory gets created) and Rox opens up in that directory to show you the files.
Here's the script: (I've got extra notes in there to help remind me what I've done as I'm still a BASH beginner. Fun!)
I'd found myself with several instructional videos open in separate tabs in Firefox and wanted an easier way to save them all. (I still need to fix my brother's Xbox360's RROD!)
So, I used stu90's script above (thanks, stu90!) and came up with this.
You'll need to install lsof as per stu90's post if you want to use this.
The script searches for the hidden/deleted flashplayer files. "Flash" and "deleted". It does pick up MPEG-4 files as well.
(I was surprised when I saw one of those got saved, but I suppose it's the flash player's naming convention that includes "Flash" and "(deleted)" on the played files that allows it.)
Videos are saved in /root/savedvideos (the sub directory gets created) and Rox opens up in that directory to show you the files.
Here's the script: (I've got extra notes in there to help remind me what I've done as I'm still a BASH beginner. Fun!)
Code: Select all
#!/bin/sh
# Ref: http://www.murga-linux.com/puppy/viewtopic.php?p=511875&sid=9e8f73e46278738283eaf1beaeaad34e#511875
# Based on stu90's work!
# Indy. 11-APR-11.
#
# Notes:
# -----
# If you want to change the save directory, change were savedirectory is set below.
#
# echo -e: the -e is what recognises the \n newline character in the display
# %s%N: in 'date', %s is the number of seconds since 1970 or something; %N is nanoseconds.
# mkdir -p: the -p allows the make directory command to ignore errors such as the directory already existing.
# read -n 1: means no newline is required, and input stops after receiving one character.
#====================================================================
echo "==================================="
echo "==== Save Flashplayer Video(s) ===="
echo "==================================="
flash_videos_directory=`lsof -n | grep Flash | grep deleted | awk 'NR==1{ print $2 }'`
count_of_flash_videos_found=`lsof -n | grep Flash | grep deleted | wc -l`
if [ $flash_videos_directory ]; then
echo -e "\n$count_of_flash_videos_found Flashplayer video file(s) found in /proc/$flash_videos_directory/fd/:\n"
ls -l /proc/$flash_videos_directory/fd | grep Flash | grep deleted
echo -e "\nWould you like to save the file(s)? y/n [n]"
read -n 1 ANSWER
if [[ $ANSWER = "Y" || $ANSWER = "y" ]]; then
savedirectory="$HOME/savedvideos"
mkdir -p $savedirectory
COUNT=1
while [ $COUNT -le $count_of_flash_videos_found ]
do
name=`lsof -n | grep Flash | grep deleted | awk 'NR=='"$COUNT"'{ print strtonum($4) }'`
idno=`date "+%s%N"`
cp /proc/$flash_videos_directory/fd/$name $savedirectory/video.$idno && echo -e "\nProgress... ($COUNT of $count_of_flash_videos_found): Saved as video.$idno."
let COUNT=COUNT+1
done
echo -e "\nFinished! $count_of_flash_videos_found flashplayer video(s) saved to $savedirectory.. Viewing in Rox now..."
rox $savedirectory
else
echo "Ok. Bye!"
fi
else
echo -e "\nNo (hidden) Flashplayer videos found. Bye!"
fi
- Attachments
-
- output_sample_terminal_savedvideos.jpg
- (34.22 KiB) Downloaded 1982 times
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact: