Tweaked makemkv rip logic to only copy back the largest created mkv file
[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 email address to send job notifications to
23 mailto=root
24
25 # Setup the path to the tools needed by this ripper
26 PATH=/etc/mythtv/bin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/usr/share/tovid:.:$PATH
27
28 # Use mplayer dumpstream to create the main VOB file
29 # If set to 0, cat and other utils will be used to make it instead.
30 # Using mplayer dumpstream is by far the best way to create the main VOB file
31 # The only thing this doesn't work for are DVDs with the 99 title copy protection.
32 # The script will autodetect these types of disks, and change this to 0 if necessary.
33 # If this is set to 0, other methods will be employed to get the DVD VOB dump.
34 use_mplayer_dumpstream=1
35
36 # If set to 1, this script will call another script to fill in the mythvideo metadata
37 # If you don't use mythtv, set this option to 0. If you use mythtv, and have downloaded
38 # the fill_mythvideo_metadata.pl script shown above, you can leave this option set to 1.
39 fill_mythvideo_metadata=0
40
41 # If the 99 titleset copy protection scheme is detected, trust the autodetection or abort.
42 # The autodetection may work, but it probably won't in this case. Set to 0 by default. 
43 # Override to 1 if you want the script to wing it, and hope it picks the right feature title.
44 # Otherwise, you will need to rerun the script providing the feature title with the -t option.
45 trust_feature_title_autodetect_when_uncertain=0
46
47 # Set what you expect to be the minimum feature title length. If the length of the DVD being
48 # ripped is detected to be less than this, throw out the calculated bitrate since it will be wrong.
49 # Some movies, like "The Saint", have VOBs created of the main feature whose length is incorrectly
50 # detected by mplayer. This makes the routine that converts target size into target bitrate get
51 # the wrong answer. In these cases, throw out the calculated bitrate, and rely on the bitrate
52 # provided on the command line. The units of this are in minutes.
53 minimum_feature_title_length=60
54
55 # specify the number of threads that mencoder should use when encoding the video (AVI mode)
56 # an optimal setting for this should be the number of cores you have times 2
57 # note: you have to have an mplayer version that has been compiled with multi thread support.
58 # if you don't, this will have no effect, but won't hurt anything to have it set otherwise.
59 # note: the xvid codec seems to be fastest with threads set to 2.
60 mencoder_threads=2
61
62 # HandBrakeCLI Executable Name:
63 # HandBrake version <=0.9.3 was the last one to support xvid encoding.
64 # HandBrake version >=0.9.4 is all about mp4 encoding.
65 # The HandBrakeCLI executable names below must be found in your PATH.
66 # Set the handbrake_* variables below to "" for any you don't want to use.
67 # The rip_dvd script will complain if they are not "" and it can't find them.
68 handbrake_xvid="HandBrakeCLI-0.9.3"
69 handbrake_mp4="HandBrakeCLI-0.9.4"
70 # apt-get install ogmtools
71 dvdxchap="dvdxchap"
72 # apt-get install gpac
73 mp4box="MP4Box"
74
75 # MakeMKV Executable Name:
76 # http://www.makemkv.com/download/
77 # Set the option below to "" if you don't have it/want to use it
78 # Set the disc_id option to be the ID of the DVD drive in your system
79 makemkv="makemkvcon"
80 makemkv_disc_id="0"
81 # http://www.bunkus.org/videotools/mkvtoolnix/
82 mkvextract="mkvextract"
83 mkvpropedit="mkvpropedit"
84 mkvmerge="mkvmerge"
85
86 ###########################################################################################