How do Capture Google and Youtube Videos in linux
Hello guys !
I am a linx user and not aware about the videos and downloading mechanism on linux in very well manner. I used to be able to capture google video with a shell script (search my name) as well as through plugins from the Firefox browser
I used Videodownloader, but they are not working however they are no longer stable on this .Any suggestions on capturing?
Thanks .
How do Capture Google and Youtube Videos in linux
There are so many softwares can be used to capture the videos from the internet. Specially,if you are working on the linux then you have some little options to choose the appropriate method.
Some of the experts says, the same thing can be happened as you working on GUI features of windows OS. The software downloading is divided into two categories :Online and Offline....
How do Capture Google and Youtube Videos in linux
You have to be running with Firefox. You will also need FFMpeg. To find out if you have FFMpeg installed within your browser, so type “ffmpeg —version” at the shell prompt. You should see something like this:
Code:
$ ffmpeg --version
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
If you are getting any such output included with the name of ffmpeg you’ll need to install ffmpeg. In Ubuntu and Debian variants, all you require is “apt-get install ffmpeg”. The installation process for other distributions of Linux will vary.
How do Capture Google and Youtube Videos in linux
Locate and playback the content
Fire up Firefox and go to the website of your choice (usually Google Videos or Youtube). choose and play the movie that you desire. let it end properly (this will guarantee that we have a fresh copy of the movie in the Firefox cache.)
Convert and save
Now Open the terminal and cut/paste the following statement into it:
Code:
ffmpeg -i "$(find ~/.mozilla -regex '.*Cache.*' -a -not -regex \
'.*_CACHE_.*' -printf '%T+ %p\n' | \
sort -n | awk '{ print $2 }' | xargs file | \
grep -i "Video" | tail -1 | awk -F : '{ print $1 }')" \
-vcodec msmpeg4v2 -b 200 -ab 64 -ar 22050 -s 320x240 \
/tmp/video.avi
How do Capture Google and Youtube Videos in linux
Commonly, you can not be able to capture streaming media.However, you can use a streaming video capture software to capture the media during you play that. There are some of the softwares are my favorites:
For video on Mac, use Screenography.
For video on PC, use streaming video capture.
The videos can be captured while you watch Youtube video or google video.
Good luck.