I recently reinstalled my Hauppauge Win-TV card in my server box, and have been working a bit at getting my webcam software up and running. But rather than just play with occasional image capture, I was wondering what the possibilities would be for recording live video for later playback. So, I embarked on a bit of experimentation using tidbits of software that I had lying around.
Note: My server is a 1ghz VIA Nehemiah chip, which isn’t fast enough to do software encoding of full video frames, so all experiments were performed at resolutions of 352×288 or 320×240. This is more directly comparable to ordinary VideoCD: watchable, but not archival quality. You can see an example frame on the right, at the size I normally use for video capture. Modern PDA’s can actually play back mpeg4 streams of this quality, so this might be comparable to what you’d get on one of these.
First of all, I installed ffmpeg. It has a video capture mode that works with the FreeBSD brooktree driver, so it seemed like it was a promising start. I ended up with the following script: Continue reading