I am a faithful Firefox user, and one of its wonderful plugin - DownloadHelper has helped me for a long time to capture and save Youtube videos as flash video files on my local hard disk. That was quite helpful. But I always wanted to save those InfoQ videos as well, but unfortunately, DownloadHelper did not provide support for InfoQ (among others).
It was only recently, that I used the conversion feature of DownloadHelper, in which I was converting one of those Youtube videos to be converted to wmv format. I noticed, that the conversion started only after the whole of the video stream was played on my browser. And I could readily guess, that the conversion must be using one of the libraries on my machine. So I looked at the process to find that it was using ffmpeg command to do this job. I also noticed, that actually every video was buffered to the /tmp on my Ubuntu. The filename I could see was something like FlashVOZFnS.
This was a great news, because this was applicable even to InfoQ videos. Naturally, if a movie plays on your machine, it must be stored somewhere before being played on your browser. So now if you want to save your next streaming video, just identify where in your system does the flash player saves its movie temporarily before being played on your browser, and save that file to your videos folder, and possibly give it a .flv extension too.
Note:
- As soon as you close the tab containing the video, the temporary file is discarded.
- Not all videos may be fully buffered before playing. Very long videos and webcasts may not be fully buffered.
Converting flash movies to other format (Linux)
And now if you also want to convert it into other formats, its very easy in Linux with the following commands:FLV to WMV:
ffmpeg -i /home/thomas/Desktop/infoq.flv -y -v 0 -acodec wmav1 -b 1000kbps -f asf -vcodec wmv1 /home/thomas/Desktop/infoq.wmvFLV to MPG:
ffmpeg -i /home/thomas/dwhelper/Desktop/infoq.flv -y -v 0 -f asf -vcodec mpeg4 /home/thomas/Desktop/infoq.mpgThere are so many other options with this command, even up to video capturing your screen, but I am not very expert at those. So I leave it to you to experiment with those options.