# - 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
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.
# 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.
# 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=10
+
# 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
-###########################################################################################
\ No newline at end of file
+# 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"
+
+###########################################################################################