You are not logged in.

#1 2010-10-03 16:57:23

KameZero
Member
Registered: 2010-10-03
Posts: 5

Flash temp directory

I'm using the latest builds of chromium and flash. I like to watch my youtube videos in totem since youtube fullscreen doesn't work real well with my dual monitor set up.

I used to be able to go to /tmp and open the flash video there but the newest flash release no longer saves to /tmp.

Anyone have any idea where I can find the flash video? I looked in ~/.cache/chromium/Cache and Media Cache but they weren't there.

Any ideas?

Thanks

Offline

#2 2010-10-03 17:09:58

kfgz
Member
From: Supraśl, Poland
Registered: 2009-03-02
Posts: 114

Re: Flash temp directory

They are deleted once streaming is complete. You can download flash videos using xvst.

Offline

#3 2010-10-03 17:12:00

KameZero
Member
Registered: 2010-10-03
Posts: 5

Re: Flash temp directory

kfgz wrote:

They are deleted once streaming is complete. You can download flash videos using xvst.

They're deleted even if the tab is left open? That doesn't seem like.... something that is possible.

xvst does look useful though, thanks.

Last edited by KameZero (2010-10-03 17:12:17)

Offline

#4 2010-10-03 17:34:15

kfgz
Member
From: Supraśl, Poland
Registered: 2009-03-02
Posts: 114

Re: Flash temp directory

KameZero wrote:

They're deleted even if the tab is left open? That doesn't seem like.... something that is possible.

Yes. It's possible.


EDIT:

You can try to undelete the file but I don't know if it will work. Instruction - http://finalcog.com/undelete-open-file-from-inode

Last edited by kfgz (2010-10-03 17:40:33)

Offline

#5 2010-10-03 17:58:10

KameZero
Member
Registered: 2010-10-03
Posts: 5

Re: Flash temp directory

kfgz wrote:
KameZero wrote:

They're deleted even if the tab is left open? That doesn't seem like.... something that is possible.

Yes. It's possible.


EDIT:

You can try to undelete the file but I don't know if it will work. Instruction - http://finalcog.com/undelete-open-file-from-inode

But, how can the file be deleted when you're still able to play it in the browser? And it still takes up space on the hard drive...

Either way, xvst works quite well, thanks!

Offline

#6 2010-10-03 18:01:41

kfgz
Member
From: Supraśl, Poland
Registered: 2009-03-02
Posts: 114

Re: Flash temp directory

But, how can the file be deleted when you're still able to play it in the browser? And it still takes up space on the hard drive...

Linux magic wink I ran test in firefox on http://www.youtube.com/watch?v=M4y6xOkNjnM&ob=av2n and the file wasn't deleted. Hmm....

Last edited by kfgz (2010-10-03 18:02:29)

Offline

#7 2010-10-03 18:24:20

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Flash temp directory

kfgz wrote:

They are deleted once streaming is complete. You can download flash videos using xvst.

This is completely wrong. They are left in /tmp until you leave that tab. It's like that with all browsers I've tried (Chromium, Conkeror, Firefox, Opera, webkit browsers...)

Offline

#8 2010-10-03 18:35:25

kfgz
Member
From: Supraśl, Poland
Registered: 2009-03-02
Posts: 114

Re: Flash temp directory

I remember that just month (or less) ago files were deleted.

Offline

#9 2010-10-03 18:39:11

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Flash temp directory

Haha, so after you end watching the video and click on "Replay" you need to recache it? Noes. big_smile
You probably saw something wrong. smile

Offline

#10 2010-10-08 18:30:37

JohnnyRogers
Member
Registered: 2009-10-24
Posts: 32

Re: Flash temp directory

archman-cro wrote:
kfgz wrote:

They are deleted once streaming is complete. You can download flash videos using xvst.

This is completely wrong. They are left in /tmp until you leave that tab. It's like that with all browsers I've tried (Chromium, Conkeror, Firefox, Opera, webkit browsers...)

I know this used to be the case, but now I can't find the flash videos in any directory. Right now I have a youtube video playing in a tab, but there is nothing in the /tmp folder, or in ~/.cache.

Offline

#11 2010-10-08 18:49:16

adrianx
Member
From: South Africa
Registered: 2010-03-22
Posts: 70

Re: Flash temp directory

Same here... There is nothing in /tmp or ~/.mozilla/firefox/<...>.default/Cache any more, so I just assumed that it must be some kind of new "copyright protection" thing. smile

Edit: I'm using flashplugin-prerelease (x86_64) from AUR, b.t.w.

Last edited by adrianx (2010-10-08 18:50:40)

Offline

#12 2010-10-08 20:00:51

agapito
Member
From: Who cares.
Registered: 2008-11-13
Posts: 641

Re: Flash temp directory

adrianx wrote:

Same here... There is nothing in /tmp or ~/.mozilla/firefox/<...>.default/Cache any more, so I just assumed that it must be some kind of new "copyright protection" thing. smile

Edit: I'm using flashplugin-prerelease (x86_64) from AUR, b.t.w.

Are you sure? Because i find all my flash videos on  ~/.cache/chromium/Cache/

Order your files by date if you can't find it tongue


Excuse my poor English.

Offline

#13 2010-11-07 18:36:47

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Flash temp directory

I cannot find the damn temp files anymore. Im using Firefox 4 with flashplugin-prerelease 10.2 from AUR.

Offline

#14 2010-11-07 19:40:30

agapito
Member
From: Who cares.
Registered: 2008-11-13
Posts: 641

Re: Flash temp directory

With flash 10.1 videos are stored in /tmp

With flash 10.2 prerelease files are stored in cache folder of browser. And yes, they are deleted  once streaming is completed. I guess video is loaded at RAM.


Excuse my poor English.

Offline

#15 2010-11-07 20:07:14

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Flash temp directory

How do you download flash movies now then? Youtube etc is simple, but Facebook and sites like that?

Offline

#16 2010-11-08 05:25:08

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Flash temp directory

Solved it! The files can be found in the folder:

/dev/shm/firefox-cache/Cache

big_smile

Offline

#17 2010-11-18 14:21:09

lymphatik
Member
From: Somewhere else
Registered: 2009-03-07
Posts: 119

Re: Flash temp directory

Hund wrote:

Solved it! The files can be found in the folder:

/dev/shm/firefox-cache/Cache

big_smile

Which version of flash do you use? Because I do not have this directory

Offline

#18 2010-11-18 14:34:18

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Flash temp directory

aur/flashplugin-prerelease 10.2.161.23-1

smile

Offline

#19 2010-11-18 15:48:37

lymphatik
Member
From: Somewhere else
Registered: 2009-03-07
Posts: 119

Re: Flash temp directory

Well I have the same version as you for flash. I tried with firefox-nightly and firefox 3.6. And I still can't save those flash vids.

Offline

#20 2010-11-18 17:29:54

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: Flash temp directory

Try going to about:config and toggling the browser.cache.memory.enable setting to false. The flash file should then be found in /tmp.


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#21 2010-11-23 14:37:36

lymphatik
Member
From: Somewhere else
Registered: 2009-03-07
Posts: 119

Re: Flash temp directory

No it does not work. The only way I found was to use lsof to find the file required.

lsof | grep deleted

Then I could use the pid from lsof and the number as explained in the link to mplayer the file.

http://www.linux.com/archive/articles/58142

Last edited by lymphatik (2010-11-23 14:38:18)

Offline

#22 2010-11-23 21:00:56

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Flash temp directory

Lymphotik:            lsof is installed.

Cannot find and proc process in my x86_64 system.

Perhaps it is only i686?

root@n6re ~]# lsof |grep deleted
plugin-co 1190      root   16w      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
plugin-co 1190 1191 root   16u      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
plugin-co 1190 1200 root   16u      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
plugin-co 1190 1201 root   16u      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
plugin-co 1190 1202 root   16u      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
plugin-co 1190 1204 root   16u      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
plugin-co 1190 1205 root   16u      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
plugin-co 1190 1363 root   16u      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
plugin-co 1190 1427 root   16u      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
plugin-co 1190 1429 root   16u      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
[root@n6re ~]# 

What might I do next?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#23 2010-12-02 18:43:22

Gooler
Member
Registered: 2009-11-01
Posts: 19

Re: Flash temp directory

#1 Check flash process pid
ps x | awk '/libflashplayer.so\ /{print $1}'

#2 Go to
/proc/$(pid of flash process)/fd/

#3 Do a directory listing and search for files marked as deleted
'ls -l'

The file should be a number linking to something like /tmp/Flash* (deleted)
So cache is actually done on /tmp/, but flash marks the file as deleted, so only the flash process knows it exists

Offline

#24 2010-12-02 19:24:12

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Flash temp directory

Gooler:

Result of the search gives the following:

[root@n6re proc]# cd /proc/1952/fd/
[root@n6re fd]# ls -l
total 0
lr-x------ 1 root root 64 Dec  2 10:59 0 -> pipe:[6110]
l-wx------ 1 root root 64 Dec  2 10:59 1 -> /root/.xsession-errors
lr-x------ 1 root root 64 Dec  2 10:59 10 -> pipe:[9194]
l-wx------ 1 root root 64 Dec  2 10:59 11 -> pipe:[9195]
lr-x------ 1 root root 64 Dec  2 10:59 12 -> pipe:[9195]
l-wx------ 1 root root 64 Dec  2 10:59 13 -> socket:[9196]
lrwx------ 1 root root 64 Dec  2 10:59 14 -> /root/.mozilla/firefox/5f9228j3.default/cert8.db
lr-x------ 1 root root 64 Dec  2 10:59 15 -> /root/.mozilla/firefox/5f9228j3.default/key3.db
l-wx------ 1 root root 64 Dec  2 10:59 16 -> /tmp/FlashXXQBDno3 (deleted)
lr-x------ 1 root root 64 Dec  2 10:59 17 -> /dev/snd/timer
lr-x------ 1 root root 64 Dec  2 10:59 18 -> /dev/snd/pcmC0D0p
lr-x------ 1 root root 64 Dec  2 10:59 19 -> /dev/snd/controlC0
l-wx------ 1 root root 64 Dec  2 10:59 2 -> /root/.xsession-errors
lrwx------ 1 root root 64 Dec  2 10:59 3 -> socket:[9111]
lr-x------ 1 root root 64 Dec  2 10:59 4 -> anon_inode:[eventpoll]
l-wx------ 1 root root 64 Dec  2 10:59 5 -> socket:[9191]
l-wx------ 1 root root 64 Dec  2 10:59 6 -> socket:[9192]
lrwx------ 1 root root 64 Dec  2 10:59 7 -> pipe:[9193]
lrwx------ 1 root root 64 Dec  2 10:59 8 -> pipe:[9193]
lrwx------ 1 root root 64 Dec  2 10:59 9 -> pipe:[9194]
[root@n6re fd]#

What number is to be utilized for connecting to the deleted file?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#25 2010-12-02 20:23:25

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Flash temp directory

Gooler wrote:

So cache is actually done on /tmp/, but flash marks the file as deleted, so only the flash process knows it exists

Eh... doesn't this mean that it could get overwritten anytime by another process?

edit: Can you disable that it gets marked as deleted?

Last edited by Cdh (2010-12-02 20:38:51)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

Board footer

Powered by FluxBB