Added new eject_opts option for greater flexibility.
[rip_dvd/.git] / rip_dvd.conf.dist
1 ###########################################################################################
2 # configuration file for the rip_dvd script:
3 # - rip_dvd.conf.dist = contains default values (tracked by GIT)
4 # - rip_dvd.conf = contains localized overrides to the default values (not tracked by GIT)
5 #                  should initially be created by copying the rip_dvd.conf.dist
6 # NOTE: You can override ANY of the global variables listed in the top of rip_dvd here
7 ###########################################################################################
8
9 # specify the path to the rip_dvd script (no need to do this if rip_dvd is in
10 # the same directory as the rip_dvd.wrap script (which is likely).
11 # ripcmd="/myth/video/bin/rip_dvd"
12
13 # Specify the device path to the DVD drive
14 dev=/dev/dvd
15
16 # Specify the path to the log directory 
17 logdir=/var/log/ripdvd
18
19 # Specify the path to the tmp rip directory
20 tmpdir=/myth/video/DVDs/.ripdvd
21
22 # Specify the path to the base destination dir for ripped movies
23 moviedir=/myth/video/Movies
24
25 # Specify the email address to send job notifications to
26 mailto=root
27
28 # Setup the path to the tools needed by this ripper
29 PATH=/etc/mythtv/bin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/usr/share/tovid:.:$PATH
30
31 # Specify the options to use with the eject command
32 eject_opts="-T"
33
34 # Use mplayer dumpstream to create the main VOB file
35 # If set to 0, cat and other utils will be used to make it instead.
36 # Using mplayer dumpstream is by far the best way to create the main VOB file
37 # The only thing this doesn't work for are DVDs with the 99 title copy protection.
38 # The script will autodetect these types of disks, and change this to 0 if necessary.
39 # If this is set to 0, other methods will be employed to get the DVD VOB dump.
40 use_mplayer_dumpstream=1
41
42 # If set to 1, this script will call another script to fill in the mythvideo metadata
43 # If you don't use mythtv, set this option to 0. If you use mythtv, and have downloaded
44 # the fill_mythvideo_metadata.pl script shown above, you can leave this option set to 1.
45 fill_mythvideo_metadata=0
46
47 # If the 99 titleset copy protection scheme is detected, trust the autodetection or abort.
48 # The autodetection may work, but it probably won't in this case. Set to 0 by default. 
49 # Override to 1 if you want the script to wing it, and hope it picks the right feature title.
50 # Otherwise, you will need to rerun the script providing the feature title with the -t option.
51 trust_feature_title_autodetect_when_uncertain=0
52
53 # Set what you expect to be the minimum feature title length. If the length of the DVD being
54 # ripped is detected to be less than this, throw out the calculated bitrate since it will be wrong.
55 # Some movies, like "The Saint", have VOBs created of the main feature whose length is incorrectly
56 # detected by mplayer. This makes the routine that converts target size into target bitrate get
57 # the wrong answer. In these cases, throw out the calculated bitrate, and rely on the bitrate
58 # provided on the command line. The units of this are in minutes.
59 minimum_feature_title_length=60
60
61 # specify the number of threads that mencoder should use when encoding the video (AVI mode)
62 # an optimal setting for this should be the number of cores you have times 2
63 # note: you have to have an mplayer version that has been compiled with multi thread support.
64 # if you don't, this will have no effect, but won't hurt anything to have it set otherwise.
65 # note: the xvid codec seems to be fastest with threads set to 2.
66 mencoder_threads=2
67
68 # HandBrakeCLI Executable Name:
69 # HandBrake version <=0.9.3 was the last one to support xvid encoding.
70 # HandBrake version >=0.9.4 is all about mp4 encoding.
71 # The HandBrakeCLI executable names below must be found in your PATH.
72 # Set the handbrake_* variables below to "" for any you don't want to use.
73 # The rip_dvd script will complain if they are not "" and it can't find them.
74 handbrake_xvid="HandBrakeCLI-0.9.3"
75 handbrake_mp4="HandBrakeCLI-0.9.4"
76 # apt-get install ogmtools
77 dvdxchap="dvdxchap"
78 # apt-get install gpac
79 mp4box="MP4Box"
80
81 # MakeMKV Executable Name:
82 # http://www.makemkv.com/download/
83 # Set the option below to "" if you don't have it/want to use it
84 # Set the disc_id option to be the ID of the DVD drive in your system
85 makemkv="makemkvcon"
86 makemkv_disc_id="0"
87 makemkv_copy_largest_title_only=1
88
89 # MKV Tools
90 # http://www.bunkus.org/videotools/mkvtoolnix/
91 mkvextract="mkvextract"
92 mkvpropedit="mkvpropedit"
93 mkvmerge="mkvmerge"
94
95 ###########################################################################################