Differences

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

Link to this comparison view

Both sides previous revision Previous revision
digitze_your_vhs_tapes [13.06.2012 22:18]
Pascal Suter
digitze_your_vhs_tapes [13.06.2012 22:34] (current)
Pascal Suter
Line 30: Line 30:
  
 i composed a little script that takes all dv files in a folder and converts them to mpeg4 files. ​ 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 =====