Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Save Flash video files from local cache' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Save Flash video files from local cache
Authored by: tempel on Mar 07, '12 01:06:27AM
For those savvy with the Terminal.app:

The real trick is to use the "ln" command to create a hard link from the flash file that's currently recorded to another file. That way, even if Flash is done showing the file and deletes the temporary flash file, you'll keep it under the hard-linked name.

[ Reply to This | # ]

Save Flash video files from local cache
Authored by: jprokos on Feb 17, '13 04:47:40AM

Would you expand upon this a bit; using ln in terminal. Maybe a sample of your procedure? Is it still possible under 10.8. I see a bunch of cache files in the Media Cache folder:

/private/var/folders/gw/c8j0f1tn3gl_plkqpqhr21vm0000gn/T/com.apple.WebProcess\+com.apple.Safari/MediaCache/

However, they must be encrypted because adding the proper extension doesn't make the file readable by any media player. I am guessing this has something to do with Apple's new sandboxing features.

Some files occasionally show up in the old way too as flash cache files and are convertible. I am wondering why some go into the old temp folder and why some end up in the Safari Media Cache folder.

Any ideas?



[ Reply to This | # ]
Save Flash video files from local cache
Authored by: tempel on Feb 17, '13 07:21:49AM

It seems sites like Youtube don't create playable flv files any more. In 10.7.5 I see that it creates files in a dedicated "MediaCache" folder, and those files don't play in VLC. With a few othes sites that I occasionally visit, I still see files created in the temp folder that I can play with VLC, though, even in OS X 10.8.2.
So, while 10.8.2 may place some files in a different folder now, they're as useless as the ones it previously placed inside the temp folder's MediaCache folder.

The only ones I found to be playable as those whose names start with "FlashTmp".

I don't believe this has anything to do with Apple or OS X. It's a choice of the Flash Player and/or the website, trying to prevent us from keeping copies of the movies, plain and simple.

And on using the "ln" command:

To preserve and play these FlashTmp file, you'd either, once they're fully loaded in the browser, copy (duplicate) them, and adding a ".flv" extension to them, or - while they still load - use the "ln" command in Terminal as follows:

ln FlashTmp.xyz Movie.flv

You will first have to "cd" into the directory where the flash file is, though. Ask google if you don't know how to do that.

Edited on Feb 17, '13 07:24:54AM by tempel



[ Reply to This | # ]
Save Flash video files from local cache
Authored by: jprokos on Feb 18, '13 07:18:39AM

Glad to get a reply. I opened the "CachedMedia" file using textedit and noticed the header (text at top of file) is quite different than the header in a playable file. The CachedMedia file when open in a text editor starts with Dfrei and is followed by an xml plist header. The question is what process natively reads that file as a video. Or is it converted before it's read by the browser or browser plug ins. Safari will play it over and over again from the cache file it doesn't download it each time.



[ Reply to This | # ]