# This is a configuration file for Winki the ripper.
# Lines beginning with "#" or ";" are ignored and may be used to provide
# comments.
# For more information about the format of this file see:
# http://python.org/doc/2.3.4/lib/module-ConfigParser.html
# Winki the ripper will search for this file on these locations in the
# following order:
# /etc/winkirc
# ~/.winkirc

# Please don't delete the following line. Winki the Ripper will use the
# version information for non destructive updating this file.
# winki version 0.3.8


# This section contains some convenience defaults used among the program
[Settings]

# Default output folder
# Winki the ripper will place the files it produces in this folder
# unless you specify another location.
# Make sure you have enough free space on this partition.
# Type: string
# Default: ~/movie
Output folder = ~/movie

# Default source
# Specifies what source you want to use as default.
# Type: string
# Possible values: file, dvd, vcd
# Default: dvd
Default source = dvd

# Default encoding
# Specifies what encoding method you want to use as default.
# Type: string
# Possible values: multi pass, copy, vcd, svcd
# Default: multi pass
Default encoding = multi pass

# Default size
# Specifies what default size (in MB) you want for your output files.
# Type: integer
# Possible values: 650, 700, 800
# Default: 700
Default size = 700

# Preferred audio languages
# Winki the Ripper will search for these strings in the lsdvd output and if
# it finds any of them, will set the initial values of the audio combo boxes
# in conformity with them.
# Hint: If you want to disable this feature use some non-existing language
# like "none".
# Type: strings
# Example: English Deutsch Bulgarian
# Default: English
Preferred audio = English

# Preferred subtitles
# Winki the Ripper will search for these strings in the lsdvd output and if
# it finds any of them, will set the initial values of the subtitle combo
# boxes in conformity with them.
# You may specify up to 3 languages. If you specify more than 3 languages
# the rest will be discarded.
# Hint: If you want to disable this feature use some non-existing language
# like "none".
# Type: strings
# Example: English Deutsch Bulgarian
# Default: English
Preferred subtitles = English

# VCD type
# Which type of VCD should be created.
# Type: string
# Possible values: PAL, NTSC
# Default: PAL
VCD type = PAL

# User mode
# In advanced mode Winki the Ripper will present you with a bit more options.
# But not too much, anyway... It's goal is to be shameless simple in the end.
# Type: string
# Possible values: Default, Advanced
# Default: Default
User mode = Default

# DVD device to use. Winki the Ripper expects to find in this device a
# DVD when such disc is used as a source.
# Usually this is symbolic link to the real device file.
# Type: string
# Default: /dev/dvd
DVD device = /dev/dvd

# CD-ROM device to use. Winki the Ripper expects to find in this device a
# VCD/SVCD when such disc is used as a source.
# Usually this is symbolic link to the real device file.
# Type: string
# Default: /dev/cdrom
CD-ROM device = /dev/cdrom

######################################################################
######################################################################

# This section contains the paths where various programs could be found.
# Usually you won't need to adjust them.

[Program Locations]

# path to mplayer
# Type: string
# Default value: not set
mplayer =

# path to mencoder
# Type: string
# Default value: not set
mencoder =

# path to normalize
# Type: string
# Default value: not set
normalize =

# path to lsdvd
# Type: string
# Default value: not set
lsdvd =

# path to oggenc
# Type: string
# Default value: not set
oggenc =

# path to lame
# Type: string
# Default value: not set
lame =

# path to ogmmerge
# Type: string
# Default value: not set
ogmmerge =

# path to mkvmerge
# Type: string
# Default value: not set
mkvmerge =

# path to vcdimager
# Type: string
# Default value: not set
vcdimager =

# path to dvb-mplex
# Type: string
# Default value: not set
dvb-mplex =


######################################################################
######################################################################

# This section contains miscellaneous settings which does not fit in
# other sections.
[Misc]

# Priority level change for the various programs.
# This number will be applied as with 'nice -n value command'.
# See man (1) nice for details.
# Type: integer
# Default: 19
Nice value = 19

# Warn if the computed video bitrate is lower then this value.
# Don't set this value above 16000 - it will be truncated anyway.
# Type: integer
# Default: 800
Lower threshold = 800

# Warn if the computed video bitrate is higher then this value.
# Don't set this value above 16000 - it will be truncated anyway.
# Type: integer
# Default: 2500
Upper threshold = 2500

# Specifies for which events Winki the Ripper will trigger a warning.
# Disabling some of them may be handy if you let the encoding process
# unattended. Use with care.
# Type: strings
# Possible values: bitrate_high bitrate_low abort dest_dir missing_tools
# The flag "bitrate_high" triggers a warning when the bitrate is too high.
# The flag "bitrate_low" triggers a warning when the bitrate is too low.
# The flag "abort" asks the user if she really wants to abort the current
# operation.
# The flag "dest_dir" asks the user if she really wants to use the selected
# destination folder if it's not empty.
# The flag "missing_tools" triggers warning if some command line tools are missing
# Hint: if you don't want to get warnings at all you may specify an
# unrecognized option like 'none' or use the empty string for the list.
# If you comment the whole line out, you will get the defaults ;-)
# Default: bitrate_high bitrate_low abort dest_dir missing_tools
Use warnings = bitrate_high bitrate_low abort dest_dir missing_tools


######################################################################
######################### STOP HERE! #################################
######################################################################

# This section contains options passed literally to various programs.
# Please edit them with care. If you're not sure what is this all about
# please _don't_ change them. You have been warned.


[Audio]

# Compressor program to be used for compressing the audio streams.
# Should be one of the programs listed in the "Program Locations" section.
# Type: string
# Possible values: oggenc, lame
# Default: oggenc
Audio compressor = oggenc

# Options used for compressing the audio stream with oggenc.
# If you change this setting please don't forget to change "Bytes per ogg
# second" in section [Estimation] too.
# Type: string
# Default: -q 4
Oggenc options = -q 4

# Options used for compressing the audio stream with lame.
# If you change this setting please don't forget to change "Bytes per mp3
# second" in section [Estimation] too.
# Type: string
# Default: --preset standard
Lame options = --preset standard


[Stream merge]

# Merge program to be used for merging together the audio and video streams.
# Should be one of the programs listed in the "Program Locations" section.
# Type: string
# Possible values: ogmmerge, mkvmerge
# Default: mkvmerge
Stream merger = mkvmerge


[Multiplex]

# Multiplexing program to be used for muxing streams.
# Should be one of the programs listed in the "Program Locations" section.
# Type: string
# Possible values: dvb-mplex
# Default: not set
Multiplexer = 

[Mencoder]

# Video codec to be used when compressed video should be created
# Type: string
# Default: lavc
Video codec = lavc

# Options passed to the video codec
# Please note that you have to specify the option name (-lavcopts) for
# yourself.
# Type: string
# Default: -lavcopts vcodec=mpeg4:mbd=2:vqmin=2:trell:autoaspect
Video codec options = -lavcopts vcodec=mpeg4:mbd=2:vqmin=2:trell:autoaspect

# Video filters to be applied
# The string "crop=value" will be replaced with the actual crop values for
# the movie if present. You can omit it if you want to disallow cropping for
# some very strange reason.
# Type: string
# Default: crop=value,hqdn3d=2:1:2
Video filter = crop=value,hqdn3d=2:1:2

# Default comment
# Specifies the message which will appear in the info section
# DON'T use " or : in this string - I haven't found a way to escape them
# Type: string
# Default: Created by MEncoder's frontend Winki the Ripper
Default comment = Created by MEncoder's frontend Winki the Ripper

# Supplementary options applied during the video passes.
# If you want to pass additional options to mencoder - this is the right
# place to do it
# Type: string
# Default: not set
Supplement =

# Video codec to be used when VCD should be created
# Type: string
# Default: lavc
VCD codec = lavc

# Options passed to the video codec when creating VCD
# Please note that you have to specify the option name (-lavcopts) for
# yourself.
# Type: string
# Default: -lavcopts vcodec=mpeg1video:keyint=12:aspect=4/3:mbd=2:acodec=mp2:abitrate=224:vbitrate=1152:vrc_buf_size=327:vrc_maxrate=1152
VCD options = -lavcopts vcodec=mpeg1video:keyint=12:aspect=4/3:mbd=2:acodec=mp2:abitrate=224:vbitrate=1152:vrc_buf_size=327:vrc_maxrate=1152

# Video filters to be applied when creating VCD
# The strings "crop=value", "scale=value" and "expand=value" will be replaced
# with the actual crop values for the movie if present. Don't delete any of them.
# Type: string
# Default: crop=value,scale=value,expand=value
VCD filter = crop=value,scale=value,expand=value

# Video codec to be used when SVCD should be created
# Type: string
# Default: lavc
SVCD codec = lavc

# Options passed to the video codec when creating SVCD
# Please note that you have to specify the option name (-lavcopts) for
# yourself.
# Type: string
# Default: -lavcopts vcodec=mpeg2video:keyint=25:aspect=4/3:mbd=2:acodec=mp2:abitrate=128:vbitrate=value:vrc_buf_size=917:vrc_maxrate=2600
SVCD options = -lavcopts vcodec=mpeg2video:keyint=25:aspect=4/3:mbd=2:acodec=mp2:abitrate=128:vbitrate=value:vrc_buf_size=917:vrc_maxrate=2600

# Video filters to be applied when creating SVCD
# The strings "crop=value", "scale=value" and "expand=value" will be replaced
# with the actual crop values for the movie if present. Don't delete any of them.
# Type: string
# Default: crop=value,scale=value,expand=value
SVCD filter = crop=value,scale=value,expand=value

[Estimation]

# The values in this section are used for estimating the number of target
# media which will be needed for the selected settings (the number of audio
# and subtitle streams are considered).

# How much bytes per second audio ogg data should be estimated.
# You may want to change this value if you alter the parameters for the audio
# compressor. The default value is "measured" for oggenc -q 4.
# This value has been calculated in the following way: the ogg file size in
# bytes has been divided by the sample length in seconds.
# This option depends on "Oggenc compressor options" from the [Audio] section.
# Type: integer
# Default: 14000
Bytes per ogg second = 14000

# How much bytes per second audio mp3 data should be estimated.
# You may want to change this value if you alter the parameters for the audio
# compressor. The default value is "measured" for lame --presets standard.
# This value has been calculated in the following way: the mp3 file size in
# bytes has been divided by the sample length in seconds.
# This option depends on "Lame compressor options" from the [Audio] section.
# Type: integer
# Default: 19500
Bytes per mp3 second = 19500

# How much bytes per second audio mp2 data should be estimated.
# You may want to change this value if you alter the parameters for the audio
# compressor.
# Type: integer
# Default: 21500
Bytes per mp2 second = 21500

# How much bytes per second subtitle data should be estimated.
# You may want to change this value if you use different subtitles format
# (not currently possible) or if you think that the default value waists
# your bits.
# This value has been calculated in the following way: the subtitle (.idx and
# .sub) file size in bytes has been divided by the sample length in seconds.
# Type: integer
# Default: 3500
Bytes per subtitle second = 3500

# How much bytes per second of VCD data should be estimated.
# You may want to change this value if you think that the default value waists
# your bits.
# Type: integer
# Default: 144500
Bytes per VCD second = 144500

# When trying to estimate the number of media needed Winki the Ripper supposes
# that you want to use a video bitrate, which you consider optimal. Here you
# can specify which video bitrate you prefer.
# Type: integer
# Default: 850
Preferred bitrate = 850

# After estimating the number of media needed Winki the Ripper probes if the
# data would fit on less discs. It calculates the video bitrate which will be
# probably achieved and looks if it's lower than certain value. Here you can
# specify this estimation threshold.
# Type: integer
# Default: 750
Minimum bitrate = 800

# OGM container penalty
# Every file (avi, ogm, mkv etc.) containing streams (audio, video, subtitles)
# needs to hold administrative information about the contained streams. This
# costs space (typically between 1 - 1.5 percent of the target file size).
# Here you can specify how much space should be reserved for the ogm container.
# Type: float
# Default: 0.015 (means 1.5%)
OGM container penalty = 0.015

# Matroska container penalty
# Every file (avi, ogm, mkv etc.) containing streams (audio, video, subtitles)
# needs to hold administrative information about the contained streams. This
# costs space (typically between 1 - 1.5 percent of the target file size).
# Here you can specify how much space should be reserved for the matroska container.
# Type: float
# Default: 0.005 (means 0.5%)
Matroska container penalty = 0.005

# SVCD Container penalty
# Here you can specify how much space is wasted for the SVCD house keeping
# stuff.
# Type: float
# Default: 0.14 (means 14%)
SVCD container penalty = 0.14

