Major feature: Added support for makemkv script
[rip_dvd/.git] / rip_dvd.conf.dist
index e03d86e10a6c165bdcd4b16d5256555055ad3653..658eddaf3edf8d2d8ff11475cb38fde3c1dd788d 100644 (file)
@@ -3,13 +3,15 @@
 # - rip_dvd.conf.dist = contains default values (tracked by GIT)
 # - rip_dvd.conf = contains localized overrides to the default values (not tracked by GIT)
 #                  should initially be created by copying the rip_dvd.conf.dist
+# NOTE: You can override ANY of the global variables listed in the top of rip_dvd here
 ###########################################################################################
 
-# specify the path to the rip_dvd script
-ripcmd="/myth/video/bin/rip_dvd"
+# specify the path to the rip_dvd script (no need to do this if rip_dvd is in
+# the same directory as the rip_dvd.wrap script (which is likely).
+# ripcmd="/myth/video/bin/rip_dvd"
 
 # Specify the device path to the DVD drive
-dev=/dev/dvd2
+dev=/dev/dvd
 
 # Specify the path to the log directory 
 logdir=/var/log/ripdvd
@@ -21,7 +23,7 @@ tmpdir=/myth/video/DVDs/.ripdvd
 mailto=root
 
 # Setup the path to the tools needed by this ripper
-PATH=/etc/mythtv/bin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:.:$PATH
+PATH=/etc/mythtv/bin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/usr/share/tovid:.:$PATH
 
 # Use mplayer dumpstream to create the main VOB file
 # If set to 0, cat and other utils will be used to make it instead.
@@ -31,9 +33,6 @@ PATH=/etc/mythtv/bin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:.:$PATH
 # If this is set to 0, other methods will be employed to get the DVD VOB dump.
 use_mplayer_dumpstream=1
 
-# 2-channel AVI encoding audio bit rate
-audio_bitrate=224
-
 # If set to 1, this script will call another script to fill in the mythvideo metadata
 # If you don't use mythtv, set this option to 0. If you use mythtv, and have downloaded
 # the fill_mythvideo_metadata.pl script shown above, you can leave this option set to 1.
@@ -45,10 +44,43 @@ fill_mythvideo_metadata=0
 # Otherwise, you will need to rerun the script providing the feature title with the -t option.
 trust_feature_title_autodetect_when_uncertain=0
 
+# Set what you expect to be the minimum feature title length. If the length of the DVD being
+# ripped is detected to be less than this, throw out the calculated bitrate since it will be wrong.
+# Some movies, like "The Saint", have VOBs created of the main feature whose length is incorrectly
+# detected by mplayer. This makes the routine that converts target size into target bitrate get
+# the wrong answer. In these cases, throw out the calculated bitrate, and rely on the bitrate
+# provided on the command line. The units of this are in minutes.
+minimum_feature_title_length=60
+
 # specify the number of threads that mencoder should use when encoding the video (AVI mode)
 # an optimal setting for this should be the number of cores you have times 2
 # note: you have to have an mplayer version that has been compiled with multi thread support.
 # if you don't, this will have no effect, but won't hurt anything to have it set otherwise.
-mencoder_threads=4
+# note: the xvid codec seems to be fastest with threads set to 2.
+mencoder_threads=2
+
+# HandBrakeCLI Executable Name:
+# HandBrake version <=0.9.3 was the last one to support xvid encoding.
+# HandBrake version >=0.9.4 is all about mp4 encoding.
+# The HandBrakeCLI executable names below must be found in your PATH.
+# Set the handbrake_* variables below to "" for any you don't want to use.
+# The rip_dvd script will complain if they are not "" and it can't find them.
+handbrake_xvid="HandBrakeCLI-0.9.3"
+handbrake_mp4="HandBrakeCLI-0.9.4"
+# apt-get install ogmtools
+dvdxchap="dvdxchap"
+# apt-get install gpac
+mp4box="MP4Box"
 
-###########################################################################################
\ No newline at end of file
+# MakeMKV Executable Name:
+# http://www.makemkv.com/download/
+# Set the option below to "" if you don't have it/want to use it
+# Set the disc_id option to be the ID of the DVD drive in your system
+makemkv="makemkvcon"
+makemkv_disc_id="0"
+# http://www.bunkus.org/videotools/mkvtoolnix/
+mkvextract="mkvextract"
+mkvpropedit="mkvpropedit"
+mkvmerge="mkvmerge"
+
+###########################################################################################