Gratefulfrog Last update: 2008 02 03

How to Get Films from a DV Camera to a DVD using Kino on Linux

Tools

Process

    Overview of the Steps:
  1. Set-up the PC,
  2. Capture: i.e. transfer DV from the camera to the PC.
  3. Edit: change the images and sound to whatever you like.
  4. Render: assemble all the images and sound into a single video file of the appropriate format.
  5. Author: take the video file, create menus, assemble the whole thing into an iso disk image to be burnt to DVD-rom.
  6. Burn: Write the iso image to a DVD-rom.

Now the details:

    Set-up the PC:
  1. Create a directory with around 100GB free space, let's call it: Space
  2. Create a subdirectory for your first project: Space/project1
  3. Install Kino, QDVDAuthor and vlc media player.
  4. Take a look at the video camera's settings and find out the audio sample rate (32, 44.1 or 48 kHz), write this down somewhere,
  5. Find out how to connect the video camera to the PC (firewire, i.e. raw1394 or USB2). If possible use firewire.
  6. Connect the DV camera to PC via firewire (I have no idea how to do it with USB2).
  7. Turn camera on in VCR mode, i.e. to play the video that is in it, but don't start playing it yet.
  8. sudo chmod a+rw /dev/*1394* that just gave you read/write permission to the camera, yes, you must do this manually.
  9. Close all windows and applications on the PC, including web browser and Skye, nothing should interfere with capture.
  10. Is the camera still turned on? If so, you are now ready to capture.
    Capture:
    Capture is the term used to for the process of copying the uncompressed DV images & sound from the camera to uncompressed files on the PC's disk.Uncompressed DV takes a HUGE amount of space, e.g. one hour of DV at 1M-pixel resolution with sound sampling at 32kHz represents around 40 GB, yes 40 Gigs of disk!
  1. Start Kino,
  2. Set-up Kino:
      On the Edit/Preferences menu:
    • Defaults tab:
      Normalization = NTSC or PAL depending on your camera,
      Audio= sample rate for your camera (you noted it down, right?),
      Aspect ratio: the aspect ratio you shot at 4/3 or 16/9.
    • Capture tab:
      File: capture,
      File Type: Raw DV (I hope your camera gives raw DV, if not, the type you have),
      Auto Split Frames and Timestamp set to "yes",
      Write Every 1 frame,
      Frames per File and Max File Size: 0.
    • IEEE 1394 tab:
      AV/C Device: raw1394,
    • Display tab:
      Method: XVideo,
      Show: Full Interlaced Frame,
      Quality: best.
    • Audio tab:
      Enable Audio Output checked,
      Audio Device: /dev/dsp
    • jog/Shuttle tab: don't bother with this,
    • Other:
      Default Project Directory: Space/project1.
    • click ok to save preferences.
      On the File menu
    • save the current project: name the file project1, in the Space/project1 directory.
    You are now ready to start the actual uploading of the video on to the PC.
  3. On the right side of the Kino window there are vertically stacked buttons: Edit, Capture, Timeline, Trim, FX, Export;
    click on Capture.
  4. A blank viewer will appear. Under that, the correct file name should appear in the File text entry dialog box,
  5. Under that, set the Time (at the bottom of the Kino window) to display Frames.
  6. Click the AV/C toggle button; the camera (which is still turned on and in playback or VCR mode) should indicate "DV in", meaning that it is receiving a DV signal from the PC. This means that the PC is now commanding the camera via the firewire connection. From this point onwards, do NOT use the commands on the camera itself (e.g. play, rewind,etc.) use the corresponding buttons on Kino.
  7. Use the wind or re-wind buttons on the PC (NOT on the camera) to wind to the spot on the DV cassette where you want to start the capture.
  8. Click Capture, and the camera will start playing in the video; Nothing will appear on the monitor and no sound will come out of the PC - this is CORRECT. As scenes are automatically split, they will appear to the left of the monitor in the Storyboard area. The monitor will show a still image of the first image of the scene. (trick, move the window around a little to get the monitor to refresh!),
  9. Watch the frame counter increase to show that something is really happening. The capture will take the real time that the film takes to play, i.e. 10 minutes of video takes 10 minutes to capture.
  10. When you've got enough, click "Stop" (next to the capture button).
  11. Click the AV/C toggle to disable commands to the camera - thus preventing accidental destruction of the original footage.
  12. Dropped Frames should be ZERO, if not, you'd better think about starting over, after a reboot.
  13. On the file menu: save.
  14. At this point, you have a bunch of REALLY BIG files with names like:
    Space/project1/capture2008.01.19_14-00-47.dv
    The name means: filmed on 19 Jan 2008, 14:00:47 (yes those are seconds at the end).
  15. You can now disconnect the video camera from the PC.
  16. You can now start editing.
    Edit:
    Depending on the masterpiece of cinematography you may be making, this could be a really long and complex process. Let's suppose that you're just making a little home movie. I'll give you a quick run down on how to do it.
  1. Click the Edit button to the right of the monitor.
  2. The monitor will show the 1st image of the 1st scene; under the monitor is a downwards pointing blue arrow; under that is a horizontal grey line with vertical white bars. These white bars indicate scene splits. Under the bar, are the normal play, frame/frame, slow, fast, end, command buttons; to the right of that is a slider that you can activate with the mouse to move forwards & backwards slowly through the footage. Don't worry if the film doesn't look perfect in the monitor - it won't but the final rendered result will be PERFECT.
  3. In the Edit view you can cut out, duplicate, split, join scenes, but you cannot trim within a particular scene (that will be explained below). Use the Edit menu and play around with it.
  4. You can also save still images using the File/Save Still Frame menu. These still images can come in handy later for use as a background in the DVD menu.
  5. Next, click the Timeline button (to the right of the monitor) to see the sequence of scenes you've got. You can select the time units on the bottom (we had previously selected fames, try others if you want).
  6. Next use the Trim button (to the right of the monitor) to cut out bits of individual scenes. I can't explain how to do it here. Either play around or read the manual. It's pretty straight forward.
  7. Next use the FX (read FX as Effex i.e. Effects) button (to the right of the monitor), to create transitions between scenes or to add audio and/or video effects (filters). Be careful to understand the different behaviors of the Overwrite/Create tab!
  8. Finally you are ready to render!
    Render:
    This is the big moment! You are now going to generate your motion picture masterpiece. Probably you'll want to make a DVD for home DVD players, or possibly an mpeg4, avi, flash, XVid file for uploading to youtube or to some website for viewing, or even for broadcast over broadband. I'll explain both of these below.
  1. Render for DVD (you want to watch it on a TV):
    1. Click the Export button to the right of the monitor.
    2. Select the MPEG tab.
    3. Enter a filename, for example Space/render. Do NOT put an extension at the end of the filename.
    4. File Format: 8 - DVD.
    5. De-interlace: none (unless you have interlaced DV by some bad luck?).
    6. Aspect Ratio: same as for your video.
    7. Output dvdauthor XML: none.
    8. Click the colored Export button under where the monitor usually is, above the play, stop etc. buttons. The status bar will show the count of frames rendered, and estimate the time to completion. A slider will fill in the right end of the status bar. The rendering will take a VERY long time, e.g. +/-3 hours on my AMD64 to render 1 hour of DV footage.
  2. When rendering is complete, check the resulting file by playing it with VLC media player. In my opinion, this will give you the most accurate preview.
  3. You are now ready to Author the DVD. Do not follow the Render to a File instructions below. Go directly to Author below.
  4. Render to a File for PC or other IT use:
      At this point I hope you have NOT done the render for DVD!
    1. After clicking the Export button to the right of the monitor, select the Other tab.
    2. Enter a filename, such as Space/project1/film-as-avi Do NOT enter an extension.
    3. Select the Tool, i.e. the target format, for example MPEG-4 avi dual pass,
    4. Select the Profile i.e. the image quality, better means bigger file size. If you're still confused about de-interlacing, look it up on the Wikipedia.
    5. Click the colored Export button, under where the monitor usually is, above the play stop etc. buttons. The status bar will show the count of frames rendered, and estimate the time to complete. A slider will fill in the right end of the status bar. This will take a long time, but potentially less time than the DVD render described above.
    6. When complete, you have a file ready for viewing on a PC or uploading to a website.
    7. Check this file by playing it with VLC media player.
  5. You can now close Kino.
    Author:
    If you still have the strength, you can use QDVDAuthor make a nice DVD menu system. I'll explain the basic use here. I forgot how to make chapters so you'll have to read the manual for that part.
    Skip this section if you do NOT want to play your masterpiece on your home DVD player, or if you don't mind playing a PC quality film on the TV.
  1. Create a directory for your authoring work: Space/project1/author.
  2. Create a directory for the DVD file system: Space/project1/author/DVD.
  3. Create a tmp directory for temporary DVD files: Space/project1/author/tmp.
  4. Start QDVDAuthor: you will see an empty canvas and some buttons.
  5. On the Tools menu, select Visible Area. A red rectangle will appear on the canvas to show the Approximate visible area. This is not very accurate, so be careful about putting things close to the edge.
  6. Select the Tools/Setup menu:
    DVD Directory: Space/project1/author/DVD.
    Project Name: qproject1.
    Temporary Directory: Space/project1/author/tmp.
    Use external Player: /usr/bin/vlc.
  7. Then go to the Paths tab and scan system: hopefully all the necessary tools will be found. If not, get them but remember that not all the tools are really needed.
  8. Click ok to save the Set-up.
  9. Now you are ready to build the menus. I'll explain how to make a really simple one comprising: a single film, a background image, a title and a play button.
  10. To the left of the canvas, click the add movie button.
  11. Select the product of all our work so far render.mpeg. The size of the DVD so far is displayed under the monitor.
  12. Above the canvas, click the Add Background button. Select a still picture somewhere, agree to resizing if needed, select the right format NTSC 720 x 480 or PÄL 720 x 576, and Cut off is probably the best choice for resizing method
  13. Create the title: right click on the canvas, select Add Text, drag the cross-hair cursor to the size you want for the title and let go. The text dialog will appear. Type some text, change fonts, colors, etc. The text can always be fixed up again later. Click OK!. The text can be moved and/or rotated and/or re-edited from the canvas.
  14. Create a Play button: use the above procedure to create a text with the word Play. Click OK! Then right-click the Play text and select Define as Button. In the Button dialog, action should read: jump : [01] - render. Click OK!
  15. Click the main menu: File Save Project!
  16. You are now ready to AUTHOR! But first, Be sure that the size indicated under the canvas is colored Green, i.e. the size of the project is less than the size of a DVD! Click the Create DVD button above the monitor. On the Command Queue Dialog, enable the 1st and 2nd sections (green and red): Main Menu, and dvdauthor. Disable the last section (yellow) Don't Execute Burn DVD. (we'll do that if the first part succeeds!)
  17. Cross your fingers and click OK! Watch the output for errors. Click Keep Window Open to be sure that you can scan through for errors after authoring is complete. Authoring will take some time, but only about 15 minutes or so for an hour of footage.
  18. When complete, be sure to check the output for errors, if you find any, ask someone who knows something for help! In any case, don't go on to burning until all the errors are fixed. Let's assume it worked.
  19. Click OK!, the Command Queue Dialog will close.
  20. Click on the Create DVD button above the monitor AGAIN. On the Command Queue Dialog, uncheck the 1st and 2nd sections (green and red): Don't Execute Main Menu and Don't Execute dvdauthor. Enable the last section (yellow) Burn DVD. But We're NOT going to burn the DVD now! We're only going to create the iso image.
    In the yellow section, use the delete key to remove all the text from all the commands EXCEPT for the command that generates an iso image of the DVD. Are we clear? Delete all the text except for the stuff that generates the iso image!
  21. Click OK! This will run for another 15 minutes!
  22. Check for errors, again.
  23. Click OK.
  24. Close QDVDAuthor.
  25. Your DVD masterpiece is now available for viewing at:
    Space/project1/author/tmp/qproject1/dvd.iso.
    Move it to:
    Space/project1/author/dvd.iso for safekeeping.
  26. Preview it with VLC media player! It should be perfect (don't forget to use the mouse to click the Play button that we made)!
  27. It's now time to burn baby, burn!
    Burn:
    If you got to this point, then you must be really tenacious. That's great! Congratulations! You will see that it's all going to be worth it. Burning is dead easy.
  1. Put a blank DVD in the DVD drive.
  2. If you get a dialog asking what to do with the blank DVD, just click on Cancel.
  3. Open a File Browser and navigate to:
    Space/project1/author/dvd.iso.
  4. Right click on the file and select Burn Image to Disk, or whatever your system proposes, and voilà!

You've just made your first major motion picture!