In the day and age of high definition many are upgrading their video recording gear to the latest harddrive or flash based hi def video cameras. Unlike auto dealerships consumer electronics retailers don’t offer trade in options for your old stuff. In the green / renewable mindset we can put these no longer used video cameras to good use as video surveillance devices perfect for keeping an eye on your own or others property.
On the hardware side you need a DV camera with firewire port (IEEE 1394), firewire port equipped Pentium 4 or equivalent pc or laptop with loaded with Fedora 9 or 10 and a firewire cable to connect camera to the computer. For software we will only need dvgrab and VLC
Install dvgrab from Fedora update repo:
Install vlc from rpmfusion repo:
Set DV camera audio to 16bit (default is 12 bit) to avoid garbled audio.
Turn on and connect video camera to computer and you should see something like this in /var/log/dmesg:
To test that we are able to grab video/audio from camera and display in VLC player pipe output of dvgrab into vlc.
After issuing this command you should see a 720x480 video feed with 16bit 48000Hz audio stream in vlc on your desktop
Now we setup vlc as a streaming server so that we can view the video/audio when away. Streaming a 720x480 video stream is a bit overkill as the video quality on the DV camera is pretty good when vlc streams video at lower resolutions like 320x240, I also reduce the audio quality to save on bandwidth. Here I used “cvlc” or command vlc to avoid opening a vlc window and “&” to put process into background.
To view the feed locally via vlc open a http network location on ip and port you specified in the
dst= section of the command above.
To view your feed from the Internet you will need to either configure vlc to stream on an outside interface or configure port forwarding.