forked from Digiex/M4V-Converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.conf
164 lines (135 loc) · 5.24 KB
/
default.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# This is an example configuration file.
# NOTE: THE FILE NAME MUST BE THE SAME AS THE MAIN SCRIPT FOR THIS FILE TO BE USED AUTOMATICALLY, OPTIONALLY YOU CAN SPECIFY ITS LOCATION WITH '-c CONFIG, --config CONFIG'
# FFmpeg.
# Use this to specify a location to the ffmpeg binary when using a non-standard setup.
FFMPEG=ffmpeg
# FFprobe.
# Use this to specify a location to the ffprobe binary when using a non-standard setup.
FFPROBE=ffprobe
# Verbose Mode (true, false).
# Prints extra details such as progress information and the FFmpeg command generated.
VERBOSE=false
# Debug Mode (true, false).
# Prints generated FFmpeg command ONLY, useful for debugging.
DEBUG=false
# Background Mode (true, false).
# Automatically pauses any active converting if a process (determined by PROCESSES below) is found running.
BACKGROUND=false
# Number of Threads (*).
# This is how many threads FFMPEG will use for conversion.
THREADS=auto
# Preferred Languages (*).
# This is the language(s) you prefer.
#
# NOTE: This is used for audio and subtitles. The first listed is considered the default/preferred.
#
# NOTE: Selecting "*" will allow all languages.
#
# NOTE: Use 3 digit code language code, ISO 639-2.
#
# NOTE: https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
LANGUAGES=
# Video Encoder (H.264, H.265, *).
# This changes which encoder to use.
#
# NOTE: Selecting "*" will allow H.264 or H.265, defaulting to H.264.
#
# NOTE: H.264 offers siginificantly more compatbility with devices.
#
# NOTE: H.265 offers 50-75% more compression efficiency.
ENCODER=H.264
# Video Preset (ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow).
# This controls encoding speed to compression ratio.
#
# NOTE: https://trac.ffmpeg.org/wiki/Encode/H.264#Preset
PRESET=medium
# Video Profile (baseline, main, high, *).
# This defines the features / capabilities that the encoder can use.
#
# NOTE: Selecting "*" will disable this check.
#
# NOTE: https://trac.ffmpeg.org/wiki/Encode/H.264#Profile
PROFILE=main
# Video Level (3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, *).
# This is another form of constraints that define things like maximum bitrates, framerates and resolution etc.
#
# NOTE: Selecting "*" will disable this check.
#
# NOTE: https://trac.ffmpeg.org/wiki/Encode/H.264#Compatibility
LEVEL=4.1
# Force Video Level (true, false).
# This forces video level to the specified setting above.
FORCE_LEVEL=false
# Video Constant Rate Factor (0-51).
# This controls maximum compression efficiency with a single pass.
#
# NOTE: https://trac.ffmpeg.org/wiki/Encode/H.264#crf
CRF=23
# Video Resolution (*).
# This will resize the video maintaining aspect ratio.
#
# NOTE: Ex. SD, HD, 720p, 1920x1080, 4K
#
# NOTE: https://trac.ffmpeg.org/wiki/Scaling
#
# NOTE: Using this option MAY cause Radarr/Sonarr to need a manual import due to file quality not matching grabbed release
RESOLUTION=
# File/Folder Rename (true, false).
# This will rename the file/folder when resolution is changed.
#
# NOTE: Ex. Video.2018.4K.UHD.King to Video.2018.1080p.King (when using the above Video Resolution option)
#
# NOTE: You must allow the script to run as a global extension (applies to all nzbs in queue) for this to work on NZBGet.
RENAME=true
# Video Bitrate (KB).
# Use this to limit video bitrate, if exceeded this then video will be converted and quality downgraded.
#
# NOTE: This value is in Kilobytes, Ex. '8192' (8 Mbps)
VIDEO_BITRATE=
# Force Video Convert (true, false).
# Use this to force the video to convert, overriding all other checks.
FORCE_VIDEO=false
# Create Dual Audio Streams (true, false).
# This will create two audio streams, if possible. AAC 2.0 and AC3 5.1.
#
# NOTE: AAC will be the default for better compatability with more devices.
DUAL_AUDIO=false
# Force Audio Convert (true, false).
# Use this to force the audio to convert, overriding all other checks.
FORCE_AUDIO=false
# Normalize Audio (true, false).
# This will normalize audio if needed due to downmixing.
NORMALIZE=false
# Force Normalize (true, false).
# This will force check audio levels for all supported audio streams.
FORCE_NORMALIZE=false
# Copy Subtitles (true, false, extract).
# This will copy/convert subtitles of your matching language(s) into the converted file.
SUBTITLES=true
# Force Subtitle Convert (true, false).
# Use this to force the subtitles to convert, overriding all other checks.
FORCE_SUBTITLES=false
# File Format (MP4, MOV).
# MP4 is better supported universally. MOV is best with Apple devices and iTunes.
FORMAT=mp4
# File Extension (MP4, M4V).
# The extension applied at the end of the file, such as video.mp4.
EXTENSION=mp4
# Delete Original File (true, false).
# If true then the original file will be deleted.
DELETE=false
# File Permissions (*).
# This will set file permissions in either decimal (493) or octal (leading zero: 0755).
#
# NOTE: http://permissions-calculator.org/
FILE_PERMISSION=
# Folder Permissions (*).
# This will set folder permissions in either decimal (493) or octal (leading zero: 0755).
#
# NOTE: http://permissions-calculator.org/
DIRECTORY_PERMISSION=
# Background Processes.
# These are the processes background mode will look for and auto-pause any active converting if found.
#
# NOTE: Use quotes when specifying more than one process. Ex. "ffmpeg, Plex Transcoder"
PROCESSES="ffmpeg"