-
Notifications
You must be signed in to change notification settings - Fork 1
/
ffpreview.conf.sample
106 lines (88 loc) · 3.45 KB
/
ffpreview.conf.sample
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
# FFpreview example configuration file
#
# Copy this file to "ffppreview.conf" and make the desired changes.
[Default]
# Output directory path.
# "/ffpreview_thumbs" is appended to this path, if not already present.
# In this location a separate subdirectory is placed for each individual
# video file processed. The default is to try to locate a suitable
# temporary location, depending on the operating system.
# Example:
# outdir=/ext/data will produce the following directory structure:
# /
# +--ext
# | +--data
# | | +--ffpreview_thumbs
# | | | +--video1.mp4
# | | | +--another video.mkv
# | | | +--...
outdir=
# Width in pixels for generated thumbnails.
thumb_width=192
# Initial thumbnail grid geometry.
grid_columns=5
grid_rows=4
# Path to ffprobe executable.
ffprobe=ffprobe
# Path to ffmpeg executable.
ffmpeg=ffmpeg
# Video player command. The %t and %f placeholders are replaced by
# the start timestamp and the video file name, respectively.
# NOTE: Arguments with embedded spaces must be quoted, embedded quotes
# must be backslash-escaped, e.g.: "-foo=bar baz" "-quux=abc\"def"
# Examples:
# player=vlc --start-time=%t %f
# player=ffplay -ss %t %f
# player=mpv --no-ordered-chapters --start=%t %f
player=mpv --no-ordered-chapters --start=%t %f
# As above, but for player invocation in paused mode.
# HINT: For players that do not support starting in paused mode simply
# make this the same as above.
# Examples:
# plpaused=vlc --start-time=%t --start-paused %f
# plpaused=ffplay -ss %t %f
# plpaused=mpv --no-ordered-chapters --start=%t --pause %f
plpaused=mpv --no-ordered-chapters --start=%t --pause %f
# Always rebuild, deleting any previously created thumbnails.
# NOTE: In GUI (not batch!) mode, this is internally reset to "False"
# after the first file has been processed.
force=False
# Reuse the settings found in an existing index file in the thumbnail
# directory, if at all possible. This option is ignored in 'force' mode.
# NOTE: Even if this option is set to "False', FFpreview tries to reuse
# existing files, provided all essential parameters still match the
# current settings.
reuse=True
# Start and end timestamp of time interval to produce thumbnails for.
# Leave empty to always process entire files.
# Format: [[hours:]minutes:]seconds[.fractions]
# Example:
# start=3:42.07
# denotes a start position 3 minutes, 42 seconds and 70 milliseconds in.
start=
end=
# Thumbnail sampling method.
# Supported methods:
# iframe - automatic I-Frame detection (the default)
# scene - scene change detection, see 'scene_thresh'
# skip - skip number of frames between thumbnails, see 'frame_skip'
# time - sample a thumbnail every number of seconds, see 'time_skip'
# customvf - custom FFmpeg filter string, see 'customvf'
method=iframe
# Scene change detection threshold for method 'scene'.
scene_thresh=0.2
# Number of frames to skip for method 'skip'.
frame_skip=200
# Sample interval in seconds for method 'time'.
time_skip=60
# Custom FFmpeg filter string for method 'customvf'. The configured
# expression is passed verbatim as argument to the `ffmpeg -vf` option.
# This is an advanced setting. Please consult the FFmpeg documentation
# to learn more about video filter expressions.
customvf=scdet=s=1:t=12
# EXPERIMENTAL:
# Add rendered captions from specified subtitle stream. Stream numbering
# starts at 0, set to -1 to disable. If the specified stream is not found,
# this setting is silently ignored.
addss=-1
# EOF