0

I read that you-tube buffered videos are the in RAM while playing them and you need not download them again. just copy the flash file to another location. However,when I copied it to the home directory, it says permission denied and the file .flv on the desktop when played using vlc says vlc cannot play file of format "undf". What can be the problem?

Here's what I did:

pgrep -f flashplayer

Got the PID for the video.

Navigated through the RAM:

cd /proc/pid/fd

ls -l to view the number associated with the video.

Copied it to the home directory: cp XX /home/username/12.flv

That's all!

Eliah Kagan
  • 119,640

2 Answers2

2

"undf" means "undefined".

Put simply, the file is corrupt or unrecognized, so your attempt to save the stream has failed and created an unplayable file.

0

While it's not directly an answer to your question, if you want to download videos from YouTube, use youtube-dl. It's in the repository but needs to be updated separately (run youtube-dl -U as root; you may need to do it twice).