LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-12-2012, 10:17 AM   #1
krjames
LQ Newbie
 
Registered: Jun 2012
Posts: 14

Rep: Reputation: Disabled
Youtube flash file location?


Hi,
I hope this is the right place to ask...

I have been able to cp /tmp/flash* to a permanent address to store youtube videos. This is no longer possible.

I have read that the files can be found in a range of locations. Scripts using lsof haven't worked for me, or perhaps I just don't understand what I am doing with them...
Another potential solution was to look in .mozilla/firefox etc. It took me a while to realise I could just run: file .mozilla/firefox/p*.default/Cache to see what all the files were. I located the following;
.mozilla/firefox/p275n3o0.default/Cache/F53125B3d01: Macromedia Flash data (compressed), version 10
That seemed to be what I was after but when I ran it through totem I got a message;
GStreamer encountered a general supporting library error.

I am not sure what my next step is from here. It seems to be an appropriate file.

BTW Youtube videos play ok on my Lenny based system. Planning to upgrade to the new Wheezy when it is released...

Thanks for your help.

James
 
Old 06-12-2012, 10:20 AM   #2
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Why don't you use specific tools for the job such as JDownloader (requires java) or a Firefox extension such as Video DownloadHelper or FlashGot?
 
Old 06-12-2012, 07:38 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Also look at youtube-dl. It's probably in your repo.
http://rg3.github.com/youtube-dl/documentation.html

You can play/download youtube videos without having flash installed, just send the video to your media player.

Something like
Code:
#!/bin/sh

echo "Enter URL"
while read URL
do
mplayer -cookies -cookies-file /tmp/cookies.txt $(youtube-dl -g --cookies /tmp/cookie.txt "$URL")
done
 
Old 06-13-2012, 03:06 AM   #4
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Forgot to mention umplayer, which sports an embedded youtube player and downloader.
 
Old 06-21-2012, 04:50 AM   #5
krjames
LQ Newbie
 
Registered: Jun 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 414N View Post
Why don't you use specific tools for the job such as JDownloader (requires java) or a Firefox extension such as Video DownloadHelper or FlashGot?
Hi
forgot to let you know...

I couldn't get the jdownloader or Firefox extension to work but the flashgot program works ok. Still feel a little sad not being able to use a standard Debian program though. Any clues as to why clive/cclive aren't working?

Thanks to everybody who replied, I do appreciate it.

James
 
Old 06-21-2012, 04:56 AM   #6
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
What went wrong with JDownloader or Video DownloadHelper?
What do you mean with "standard Debian program"?
Never used clive/cclive, but I guess they should work ok if you use the latest version available.
 
Old 06-21-2012, 05:32 PM   #7
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Quote:
Still feel a little sad not being able to use a standard Debian program though.
youtube-dl will be in Debians repo.
 
Old 06-21-2012, 05:35 PM   #8
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Here is this
http://www.commandlinefu.com/command.../sort-by-votes
 
Old 06-30-2012, 09:19 AM   #9
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Ran across this.
Recover tmp flash videos (deleted immediately by the browser plugin)
Code:
for h in `find /proc/*/fd -ilname "/tmp/Flash*" 2>/dev/null`; do ln -s "$h" `readlink "$h" | cut -d' ' -f1`; done
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Shockwave Flash not working in Youtube and others teboil12 Linux - Software 4 06-18-2012 01:43 PM
[SOLVED] Youtube - Flash problem Steve W Linux - Software 4 07-07-2011 06:15 AM
Even after following the Flash guide, I still can't use Youtube on Fedora 14 theif519 Fedora 9 05-24-2011 02:31 PM
Youtube/Flash in konqueror (kde 4.3.5) veeall Slackware 7 05-05-2010 12:41 PM
Firefox youtube flash crashes koensmet Linux - Software 4 05-31-2007 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration