You are not logged in.

#1 2012-07-24 18:22:55

siamer
Member
Registered: 2012-04-29
Posts: 132

(SOLVED) cache files from chromium

Hi.
When I'm watching some move online than chromium is downloding that file to temporary directory... If I would like to copy that file after movie is loaded when I can find it ?

Last edited by siamer (2012-07-26 18:38:16)

Offline

#2 2012-07-24 20:58:48

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: (SOLVED) cache files from chromium

~/.cache/chromium/Default/Cache if I'm not mistaken.


Burninate!

Offline

#3 2012-07-25 13:00:27

siamer
Member
Registered: 2012-04-29
Posts: 132

Re: (SOLVED) cache files from chromium

thanks Gcool for suggestion but not.
I checked already all pleaces (was looking on forum already and no is not there). I checked:
/dev/shm/*
/home/USER/.cache/chromium/Default/Cache
/tmp/
/var/tmp/

when I'm loading movie in browser was checking free space on home directory and all the time is the same. So propobly movie is not downloading to home directory but don't understand why....

version of chromium: 20.0.1132.57-1
version of flash: 11.1.102.63-1

I have problems with newer versions of flash why that using thins one...

Any more ideas ?

Thanks!

Offline

#4 2012-07-25 13:45:23

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: (SOLVED) cache files from chromium

~/.cache/chromium/Default/Cache is correct. Remember that the files will have no extension type so you do have to check them:

http://s13.postimage.org/txhevtgjr/scre … 064357.png

The SMPlayer appears black but trust me that it is the correct video.

Last edited by anonymous_user (2012-07-25 13:46:06)

Offline

#5 2012-07-25 13:46:50

prasinoulhs
Member
From: Greece
Registered: 2011-10-30
Posts: 53

Re: (SOLVED) cache files from chromium

The file is shaved in /tmp but it is immediately deleted. So i here you ask but how can chromium still play the video if it is deleted? Well chromium still holds an open file descriptor for the file, that means that it isn't yet completely gone. So how can i get that file? First you need to find the file descriptor. Say that it is a flash video you would do something like

lsof | grep FlashX
chromium  28221 28236 dimitris   24u      REG               0,33 13587301 1031042 /tmp/FlashXXPCob9x (deleted)

what we need is chromiums pid. Next move is to find the file descriptor

ls -l /proc/28221/fd 
....
lrwx------ 1 dimitris users 64 Jul 25 16:31 24 -> /tmp/FlashXXPCob9x (deleted)
....

Then use ffmpeg to get the audio out.

 ffmpeg -vn -i /proc/5035/fd/24 o.ogg

Offline

#6 2012-07-25 23:04:33

siamer
Member
Registered: 2012-04-29
Posts: 132

Re: (SOLVED) cache files from chromium

prasinoulhs when watching flash movie on you tube

[siamer@bridgelinux ~]$ lsof | grep FlashX
[siamer@bridgelinux ~]$ 

there is not files at all... ?

anonymous_user if ~/.cache/chromium/Default/Cache is correct then why when turning on PC checking size of that directory and is 285,2 mb and after fully loaded few movies on youtube size is still 285,2 mb ?

I'm not using the newest version of flash so maybe that is the problem ?

Thanks!

Offline

#7 2012-07-26 08:38:33

prasinoulhs
Member
From: Greece
Registered: 2011-10-30
Posts: 53

Re: (SOLVED) cache files from chromium

That's strange. Are you sure it's a Flash video and not an html5? You could grep for chromium the output of lsof and find it there, or you could go to view background pages from chromium' s menu and find the pid for the flash player plug-in from the list there.

Offline

#8 2012-07-26 14:39:14

siamer
Member
Registered: 2012-04-29
Posts: 132

Re: (SOLVED) cache files from chromium

I solved problem in different way. Installing "FVD Video Downloader" chromium extension solved the problem. Now I can download movies by clicking one button so I'm happy enough!

Thanks for all help!

Offline

#9 2012-07-26 15:54:10

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: (SOLVED) cache files from chromium

I use this useful script:
http://wiki.ubuntuusers.de/Versteckte_F … els-Skript

If your problem is solved, please edit the thread title and add [Solved].

Last edited by Radioactiveman (2012-07-26 15:54:42)

Offline

#10 2012-07-27 16:56:22

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: (SOLVED) cache files from chromium

i found my deleted file here

chromium  11142 14622 wolfdogg   37u      REG               0,17 142247900    331123 /tmp/FlashXXeuYWA4 (deleted)
prasinoulhs wrote:

Then use ffmpeg to get the audio out.

 ffmpeg -vn -i /proc/5035/fd/24 o.ogg

thats awesome prasinoulhs, but where did you get the /5035 and /24 in the path? 
so what path would i use to extract it?  i was going to do something like

ffmpeg -i /proc/5035/fd/37 flash_converted.avi

for example

Last edited by wolfdogg (2012-07-27 17:01:26)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

Board footer

Powered by FluxBB