video_editing:dv_camera_footage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
video_editing:dv_camera_footage [2020/06/07 10:38] – created davidvideo_editing:dv_camera_footage [2021/06/27 08:56] (current) david
Line 1: Line 1:
-So,+====== The DV Video Battle ======
  
-I had an old camera, a Samsung DigitalCam VP-D372WH PAL which takes DV tapes. I decided to get it out and see what it had on the tapes, and if there was anything I could do with it. What a mission!+I had an old camera, a ''Samsung DigitalCam VP-D372WH PAL'' which takes DV tapes. I decided to get it out and see what it had on the tapes, and if there was anything I could do with it. What a mission!
  
 The camera worked, I found some footage of family gatherings which I wanted to rescue. So, I just needed to get the footage onto the computer... The camera worked, I found some footage of family gatherings which I wanted to rescue. So, I just needed to get the footage onto the computer...
  
-I dug an old laptop out of the garage (not used since 2014, it was old then). Which had a firewire socket on it. I tried a copy of debian, without luck. I tried a copy of Ubuntu without lick, I found a copy of windows XP and installed that, still wouldn't recognise the camera properly and download video. +====== The old Laptop ======
  
-I purchased a new firewire card, [[https://smile.amazon.co.uk/dp/B07FLM3NJP|1394 Firewire Card,PCIe 3 Ports 1394A Firewire Expansion Card, PCI Express (1X) to External IEEE 1394 Adapter Controller (2 x 6 Pin + 1 x 4 Pin) for Desktop PC and DV Connection]]. It turns out that the only PCIE slots in my main PC are taken by the graphics card and wifi network card. Not things I want to be without for long.+{{ :video_editing:img_20200529_085605.jpg?200|}}
  
-So, I got an old PC out of the garage (last used in 2015, somewhat newer than the laptop). Found that it too had a graphics card and a network card using its slots... Oh well, I can use the onboard graphics, I'm not editing videos on it and I'm not playing games.+I dug an old laptop out of the garage (not used since 2014it was old then). Which had a Firewire socket on it. The fact that the keyboard didn't work very well (due to the Lucozade incident of 2011) was easily overcome by using a USB keyboard. 
 + 
 +I tried a copy of [[https://www.debian.org/|Debian]], without luck. I tried a copy of [[https://ubuntu.com/|Ubuntu]] without lick, I found a copy of Windows XP and installed that, still wouldn't recognize the camera properly and download video.  
 + 
 +Clearly there was an issue with the laptop, and I wasn't going to get anywhere with it. Back into storage for now. 
 + 
 +====== Trying A Firewire Card ====== 
 + 
 +I purchased a new firewire card, [[https://smile.amazon.co.uk/dp/B07FLM3NJP|1394 Firewire Card,PCIe 3 Ports 1394A Firewire Expansion Card, PCI Express (1X) to External IEEE 1394 Adapter Controller (2 x 6 Pin + 1 x 4 Pin) for Desktop PC and DV Connection]]. It turns out that the only PCIE slots in my main PC are taken by the graphics card and wifi network card. Not things I want to be without for long! 
 + 
 +====== The old Desktop ====== 
 + 
 +{{ :video_editing:img_20200604_190737.jpg?400|}} 
 + 
 +I got an old PC out of the garage (last used in 2016, somewhat newer than the laptop). Found that it too had a graphics card and a network card using its slots... Oh well, I can use the onboard graphics, I'm not editing videos on it and I'm not playing games.
  
 The machine was a bit dirty and dusty, when I tried to start it up it beeped at me repeatedly, and did nothing else (blank screen, no POST or BIOS screens). After checking the manual, it said this beeping pattern was a power issue, I fortunately cleaned around the PSU, connections and fans. When I plugged it back in, it all seemed to work happily! Result. The machine was a bit dirty and dusty, when I tried to start it up it beeped at me repeatedly, and did nothing else (blank screen, no POST or BIOS screens). After checking the manual, it said this beeping pattern was a power issue, I fortunately cleaned around the PSU, connections and fans. When I plugged it back in, it all seemed to work happily! Result.
 +
 +{{ :video_editing:img_20200606_120759.jpg?400 |}}
  
 The next issue was that the copy of Linux on it (Ubuntu 2016) didn't boot. I'd cannibalized the machine when I got a new one (disks and a few bits) and I presume the hardware configuration wasn't sufficiently consistent (I'd just taken out the graphics card to use the socket for my firewire card). I wasn't precious about the old OS, and I'd had a separate /home partition on the disk (the smartest move you can make if you are tempted to change linux distributions). It's much quicker to install a new OS than it is to try and work out why the old one doesn't want to behave. The next issue was that the copy of Linux on it (Ubuntu 2016) didn't boot. I'd cannibalized the machine when I got a new one (disks and a few bits) and I presume the hardware configuration wasn't sufficiently consistent (I'd just taken out the graphics card to use the socket for my firewire card). I wasn't precious about the old OS, and I'd had a separate /home partition on the disk (the smartest move you can make if you are tempted to change linux distributions). It's much quicker to install a new OS than it is to try and work out why the old one doesn't want to behave.
  
-It turned out that the latest Debian and Ubuntu/Lubuntu installations don't support the older wifi card... The new kernal doesn't have the modules ready and I wasn't about to start trying to compile stuff ([[https://www.tp-link.com/us/support/faq/1076/|Most frequent questions when installing Linux driver of Wi-Fi Adapter]]). I'm not that precis about running the latest kernal, especially when I remembered that in 2016 (the distribution installed on the machine) Ubuntu did support the network card without any modifications. Fortunatly (at the point in time of writing) the 2016 and 2018 LTS versions of Lubuntu were still being supported (I'd be able to use them, download packages etc...). [[https://lubuntu.me/downloads/|lubuntu downloads & Release cycle]]+It turned out that the latest Debian and Ubuntu/[[https://lubuntu.me/|Lubuntu]] installations don't support the older wifi card... The new kernal doesn't have the modules ready and I wasn't about to start trying to compile stuff ([[https://www.tp-link.com/us/support/faq/1076/|Most frequent questions when installing Linux driver of Wi-Fi Adapter]]). I'm not that precis about running the latest kernal, especially when I remembered that in 2016 (the distribution installed on the machine) Ubuntu did support the network card without any modifications. Fortunately (at the point in time of writing) the 2016 and 2018 LTS versions of [[https://lubuntu.me/|Lubuntu]] were still being supported (I'd be able to use them, download packages etc...). [[https://lubuntu.me/downloads/|lubuntu downloads & Release cycle]]
  
-So, now I have a PC, with a new firewire card, a freshly installed Lubuntu 18 LTS and the camera gear ready to go. I can now start following guides online, and start to use dvgrab. For those not familiar with getting footage off a DV tape, this guys experiance and description is pretty useful for windows and Linxu: [[https://bergs.biz/blog/2017/01/26/capture-minidv-tapes-via-firewire/|CAPTURE MINIDV TAPES VIA FIREWIRE]]+So, now I have a PC, with a new firewire card, a freshly installed Lubuntu 18 LTS and the camera gear ready to go. I can now start following guides online, and start to use ''dvgrab''. For those not familiar with getting footage off a DV tape, this guys experience and description is pretty useful for windows and Linxu: [[https://bergs.biz/blog/2017/01/26/capture-minidv-tapes-via-firewire/|CAPTURE MINIDV TAPES VIA FIREWIRE]]
  
-Filenames +<code bash> 
-dvgrab created long filenames, continging dates and times extracted from the footage (helpful when I'd set the calendar before recording, less helpful when everything had defaulted to Jan 1st 2007.+dvgrab -rewind -showstatus -autosplit -timestamp -timecode TapeName- 
 +</code>
  
-I'd copied the files to an external hard disk and then tried to copy them onto the windows machine I use for editing... Ok, so I have to rename them first... All of them.+{{ :video_editing:img_20200606_121829.jpg?400 |}} 
 + 
 +====== Filenames ====== 
 + 
 +''dvgrab'' created long filenames, containing dates and times extracted from the footage (helpful when I'd set the calendar before recording, less helpful when everything had defaulted to Jan 1st 2007. 
 + 
 +<code> 
 +dv_tape_2-2007.08.09_12-33-13--00:05:22:21.dv 
 +dv_tape_2-2007.08.09_12-41-22--00:06:15:12.dv 
 +</code> 
 + 
 +Or more often: 
 +<code> 
 +dv_tape_2-2007.01.01_00-00-00--00:05:22:21.dv 
 +dv_tape_2-2007.01.01_00-00-00--00:06:15:12.dv 
 +</code> 
 + 
 +I'd copied the files to an external hard disk and then tried to copy them onto the windows machine I use for editing... Ok, so I have to rename them first... All of them (one for each clip recorded).
  
 With a script: With a script:
 +<code bash>
 +# View files
 +ls -lhtr
  
-DV Footage and conversion +# Rename with sequence numbers 
-So Davinci Resolve doesn't read the DV footage, I have to convert it using [[https://handbrake.fr/|HandBrake +prefix="BBQ" && i=0 && for f_name in `ls -tr *.dv`; do echo "f_name${f_name}"; i=$((i+1)) ; i_str=`printf "%04d\n" $i`; n_f_name="${prefix}_${i_str}.dv"; echo "n_f_name: ${n_f_name}"; mv "${f_name}" "${n_f_name}"; done 
-The open source video transcoder]] I loaded up a high quality output, adjusted the resolution and then queued up the footage. It took time for the PC but I was able to start experimenting in resolve with the first clip ot while waiting for the rest.+</code>
  
-Into resolve +So, now I had file names like: 
-So the footage is recorded in: 720x576 pixels, with a width/height ration of 16:9+<code> 
 +BBQ_0001.dv 
 +BBQ_0002.dv 
 +</code> 
 + 
 +====== Into Davinci Resolve ====== 
 + 
 +Davinci Resolve doesn't read the DV footage, I have to convert it using [[https://handbrake.fr/|HandBrake 
 +The open source video transcoder]] I loaded up a high quality output, adjusted the resolution and then queued up the footage. It took time for the PC but I was able to start experimenting in resolve with the first clip while waiting for the rest. 
 + 
 +The next challenge is that almost all modern footage is captured in fairly standardised reolutions, using square pixels... This wasn'the standard when DV tapes were the main thing! 
 + 
 +The footage on the tapes is recorded in: ''720x576'' pixels, with a width/height ration of ''16:9''
  
 > DV uses non-square pixels, and these are adjusted by your player on playback. NTSC DVD also uses 720 x 480. Just to add to the fun, 16:9 (widescreen) images are also 720 x 480 (NTSC) or 720 x 576 (PAL). > DV uses non-square pixels, and these are adjusted by your player on playback. NTSC DVD also uses 720 x 480. Just to add to the fun, 16:9 (widescreen) images are also 720 x 480 (NTSC) or 720 x 576 (PAL).
  
 +This had to be handled with numerous configuration changes, and experimenting with modes. 
  
 +====== Editing ======
 +
 +
 +For the editing I didn't do anything particularly outlandish:
 +  * Crop/cut as normal
 +  * Zoomed a little as there was some black borders in the original footage.
 +  * Basic color correction
 +  * Stabilization as it was filmed handheld, in some cases I did manual zoom control so as to avoid the crop from taking peoples heads off.
 +  * I tried outputting in a similar dimensions and PAL format, but this didn't transfer to other mediums, in the end I found I had a more satisfactory result converting the timeline to 720p
 +
 +====== Notes ======
 +
 +
 +I learned from:
   * [[https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=104371&p=578183|Blackmagic Forum - PAL 720x576 16:9 wrong aspect ratio]]   * [[https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=104371&p=578183|Blackmagic Forum - PAL 720x576 16:9 wrong aspect ratio]]
   * [[https://forum.videohelp.com/threads/312656-Can-someone-EXPLAIN-the-whole-720x480-thing-to-me|Can someone EXPLAIN the whole "720x480" thing to me? - VideoHelp Forum]] - This has an amazing explanation of pixel sizes and scaling. Not to mention the maths behind it.   * [[https://forum.videohelp.com/threads/312656-Can-someone-EXPLAIN-the-whole-720x480-thing-to-me|Can someone EXPLAIN the whole "720x480" thing to me? - VideoHelp Forum]] - This has an amazing explanation of pixel sizes and scaling. Not to mention the maths behind it.
   * [[https://lauren.vortex.com/2018/07/27/explaining-youtubes-very-cool-new-aspect-ratio-changes|Explaining YouTube’s VERY Cool New Aspect Ratio Changes]]   * [[https://lauren.vortex.com/2018/07/27/explaining-youtubes-very-cool-new-aspect-ratio-changes|Explaining YouTube’s VERY Cool New Aspect Ratio Changes]]
- +  * [[https://forum.blackmagicdesign.com/viewtopic.php?f=32&t=77744|Blackmagic Forum - Best practice importing AVI file captured from MiniDV Tapes?]] 
 +  * [[http://www.digitalfaq.com/forum/video-capture/10137-best-practice-video.html|10137 best practice video - digitalfaq.com forum]]
  
  • video_editing/dv_camera_footage.1591526329.txt.gz
  • Last modified: 2021/01/12 21:08
  • (external edit)