How to capture video from IEEE1394 to Linux

Env: Fedora Core 15

1) Add RPM Fusion repository

$ su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

2) Install RPMs

# yum install dvgrab ffmpeg gstreamer-ffmpeg xvidcore-devel

3) Capture a video and convert it to MPEG2 for DVD

# dvgrab - | ffmpeg -i - -target dvd output.mpg

4) Make an dvd.xml file for dvdauthor.

<dvdauthor>
<vmgm/>
<titleset>
<titles>
<pgc>
<vob file="output.mpg" chapters="0,5:00,10:00,15:00,20:00,25:00,30:00,35:00,40:00,45:00,50:00,55:00,60:00,65:00,70:00,75:00,80:00,85:00,90:00,95:00,100:00,105:00,110:00,115:00,120:00,125:00,130:00,135:00,140:00,145:00" />
</pgc>
</titles>
</titleset>
</dvdauthor>

5) Make a DVD directory.

# dvdauthor -o dvd/ -x dvd.xml

6) Make an index for the dvd directory.

# dvdauthor -T -o /tmp/dvd

7) Make an iso file of the movie.

# mkisofs -dvd-video -o dvd.iso dvd/

8) Burn the iso image to the blank media.

# growisofs -dvd-compat -Z /dev/hdc=dvd.iso