LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Youtube-dl problems...? (https://www.linuxquestions.org/questions/linux-newbie-8/youtube-dl-problems-872770/)

theif519 04-03-2011 06:44 PM

Youtube-dl problems...?
 
I've tried to input URL Links after youtube-dl and youtube-dl -b and it says... "ERROR: unable to download video (format may not be available)"

How do i fix this?

flipjarg 04-03-2011 07:23 PM

I'm not sure exactly how the script works but I recently found out that the flash files, which are normally stored in /tmp until you download/watch another video are now deleted or shadowed after they are downloaded. Checkout the script flashcache script: http://marginalhacks.com/bin/flashcache

Once you have completely buffered a flash video (not just Youtube videos), run flashcache. Just do this:
Code:

chmod +rx+rx+rwx flashcache
then copy it to your /usr/bin/ folder. Then you can run it like any other script/app from the command line.


All times are GMT -5. The time now is 10:02 AM.