Added new eject_opts option for greater flexibility.
[rip_dvd/.git] / rip_dvd.conf.dist
index 74e65221375bb4d576babaa3dd885be1f288a6b1..a9c865af3f5051304f8ccbd20f5f1790e814694f 100644 (file)
@@ -19,12 +19,18 @@ logdir=/var/log/ripdvd
 # Specify the path to the tmp rip directory
 tmpdir=/myth/video/DVDs/.ripdvd
 
+# Specify the path to the base destination dir for ripped movies
+moviedir=/myth/video/Movies
+
 # Specify the email address to send job notifications to
 mailto=root
 
 # Setup the path to the tools needed by this ripper
 PATH=/etc/mythtv/bin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/usr/share/tovid:.:$PATH
 
+# Specify the options to use with the eject command
+eject_opts="-T"
+
 # Use mplayer dumpstream to create the main VOB file
 # If set to 0, cat and other utils will be used to make it instead.
 # Using mplayer dumpstream is by far the best way to create the main VOB file
@@ -33,9 +39,6 @@ PATH=/etc/mythtv/bin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/usr/share/tovid:.:
 # 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.
@@ -47,6 +50,14 @@ 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.
@@ -54,11 +65,31 @@ trust_feature_title_autodetect_when_uncertain=0
 # note: the xvid codec seems to be fastest with threads set to 2.
 mencoder_threads=2
 
-# handbrake parameters
-# handbrake version 0.9.3 was the last one to support xvid encoding
-# handbrake version 0.9.4 is all about mp4 encoding
-# handbrake executable name (must be found within your PATH)
+# 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"
+
+# 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"
+makemkv_copy_largest_title_only=1
+
+# MKV Tools
+# http://www.bunkus.org/videotools/mkvtoolnix/
+mkvextract="mkvextract"
+mkvpropedit="mkvpropedit"
+mkvmerge="mkvmerge"
 
 ###########################################################################################