I generally prefer to have a good graphics interface to the things I do as it helps my productivity a lot. Why? Because I do not have to look up any commands every time I need to do something. There can be many weeks or months between the times when I need a specific thing done, and that is more than enough for me to forget it.
So what do I do when I really have to use the commandline? Write a blog post about it, of course!
This time I needed to capture some footage from my DV camera. I tried three different video editing packages, and only one of them had an interface for capturing from DV – Kdenlive. But it did not recognize the source, so no capturing possible. A little searching and I found a post about some problems with firewire in Ubuntu 10.04. The solution is simple enough. Open a terminal window and type this
sudo nano /etc/modprobe.d/blacklist-firewire.conf
The file will look like this:
# Select the legacy firewire stack over the new CONFIG_FIREWIRE one.
#blacklist ohci1394
#blacklist sbp2
#blacklist dv1394
#blacklist raw1394
#blacklist video1394
blacklist firewire-ohci
blacklist firewire-sbp2
The hash marks need to be switched around so it will look like this:
# Select the legacy firewire stack over the new CONFIG_FIREWIRE one.
blacklist ohci1394
blacklist sbp2
blacklist dv1394
blacklist raw1394
blacklist video1394
#blacklist firewire-ohci
#blacklist firewire-sbp2
After this has been done you need to run the following command and then re-boot your computer:
sudo update-initramfs -k all -u
When this is done, you should install a package called dvgrab. This one makes it possible to capture DV quite reliably and easy from the commandline via USB and FireWire/IEEE1394 interfaces. Install it with this command:
sudo apt-get install dvgrab
To capture video, attach your DV player or camcorder to your PC with a FireWire or USB cable, then go to the folder where you want to store the video and issue this command:
dvgrab --format raw --noavc capture
This will start dvgrab and it will wait for incoming DV and start capturing as soon as it senses the incoming video. You have to control this with the play and shuttle buttons on the player device. This is what it looks like while it is running:
svein@Laptop:/home/Video$ dvgrab --format raw --noavc capture
Found AV/C device with GUID 0x080046010400715d
Waiting for DV...
Capture Started
"capture001.dv": 999.89 MiB 7281 frames timecode 00:04:51.07 date 2010.08.16 21:23:05
"capture002.dv": 753.25 MiB 5485 frames timecode 00:00:00.00 date 2010.08.19 16:52:01
Capture Stopped
After I reached the end of the footage, I simply pressed CTRL-C to stop capturing. I could then import the material in Kdenlive for editing.
Kdenlive has a lot of really good features, but has an unfortunately clumsy way of doing some things and some non-standard ways of laying things out in the UI. It could easily become a great tool for video editing, even for professional news production and a lot of internet TV and broadcasters in developing countries and new democrasies would benefit from it! I will get back with another post with a review of Kdenlive.














Seems to work well, thank you for the post ! I have a question: is there any quality loss with capturing? While I play the captured clips I see some horizontal lines with movements, does it have to to with quality loss or is it a deinterlacing problem?
I would like to make a full backup of my DV tapes into my HD for safeguard. What is the best option using free software? I use Ubuntu 10.04 LTS
Thank you for your answer.
Hi Sebas,
Thank you for visiting my blog.
Transferring DV to your harddisk is a digital transfer and no quality loss should occur. However, playing it back can show some artifacts depending on if you process the signal in any way. De-interlacing would be one such thing.
I would recommend that you transfer your dv tapes the way I describe here in this article. It is easy, and it works. You will need about 1GB for each 4min30 sec video. This should enable you to calculate how much harddisk space you need.
DV is still a good format for video – you can get really cheap cameras now. Sure, there are HD cameras that can record to memory cards etc. The question is always how compressed the video is and what codec is used. One such codec that I personally get as far away from as possible is HDV. This codec is not useable for any kind of serious work!
Good luck with your project!