Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
digitze_your_vhs_tapes [10.06.2012 23:22]
Pascal Suter
digitze_your_vhs_tapes [13.06.2012 22:34]
Pascal Suter
Line 11: Line 11:
 i'll post those exact command lines with all the parameters i used later on when i use them the nex time as i forgot to note it down the last time i did.. damned.. ​ i'll post those exact command lines with all the parameters i used later on when i use them the nex time as i forgot to note it down the last time i did.. damned.. ​
  
 +===== capturing DV input from Firewire Source =====
 +to capture the video coming through the camera with TBC i use dvgrab
 +  cd <​directory where you want to store the recorded movies>
 +  dvgrab -a -i
 +the -a enables auto scene detection. this only works if your source is a DV tape, -i is the interactive mode. this allowes you to even control your camera and start capturing by hitting the "​c"​ button.. ​
 +
 +there is no monitor output.. i simply attached a tv to my vcr for that matter.. ​
 +
 +===== cropping and combining the captured movie =====
 +once your movie is recorded with dvgrab you will notice that it creates several 1GB files which need to be stitched together.. most probably the begining and end of the movie is also not exactly the start and end of your capturing .. so you need to crop the recording too.. for that i use kino. however, on ubuntu there is some problem with the way kino outputs audio, so i start it with this command ​
 +  padsp kino
 +first drag and drop all your recorded files into the storyboard. usually kino adds them in the right order, so you only need to trim the first and last part using the trim tab on the right. ​
 +when you are done you can export the movie using the export tab. 
 +in there i choose "DV File" and i set the Filetype to "Raw DV" and under "Other file options"​ i uncheck everything. then simply click "​Export"​ and kino will creat a singe file trimmed to the real start and end of your movie you want to keep. 
 +
 +===== transcoding =====
 +the resulting video file is quite big for the quality it offers.. so to archive a set of old vhs tapes you probably would want to shrink that a bit without losing too much of the original "​quality"​ (if i may call it that way). i use MPEG4 for that matter as it does a pretty good job.. it even eliminates some of the grains in the original adding to an overall even better looking picture. ​
 +
 +i composed a little script that takes all dv files in a folder and converts them to mpeg4 files. ​
 +
 +<​code>​
 +#!/bin/bash
 +mkdir originals
 +for f in *.dv; do 
 +        ffmpeg -y -i "​$f"​ -b 2M -bt 6M -vcodec libx264 -vpre libx264-slow -vf yadif -acodec libfaac -ac 2 -ar 48000 -ab 128k -threads 6 "​$f.mp4"​
 +        mv "​$f"​ originals/
 +done
 +</​code>​
 +Please note that the option "​-threads 6" is set.. set this to how many ever cores you have in your system.. i currently am doing this on a single cpu 6 core amd cpu.. so i use 6 threads..
  
 ===== the wrong way - using a mpeg2 caputre card without TBC ===== ===== the wrong way - using a mpeg2 caputre card without TBC =====