summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-28 16:32:49 +0100
committerwm4 <wm4@nowhere>2013-12-28 16:33:21 +0100
commitfd4e3af740fc00804e3f1b932462b44f795b1095 (patch)
treec3dfbb67dc09e76a3126c693033194d3fd71834e /DOCS
parenta473739fbfcba5fded59eaa35342127728774490 (diff)
downloadmpv-fd4e3af740fc00804e3f1b932462b44f795b1095.tar.bz2
mpv-fd4e3af740fc00804e3f1b932462b44f795b1095.tar.xz
Install encoding-profiles.conf by default
This is probably useful. Note that this includes a small, stupid hack to prevent loading of the config file if vf_lavfi is not available. The profile by default uses vf_lavfi, and the config parser will output errors if vf_lavfi is not available. As another caveat, we install the example profile even if encoding is disabled (though we don't load it, since this would print errors).
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/encoding.rst11
1 files changed, 5 insertions, 6 deletions
diff --git a/DOCS/encoding.rst b/DOCS/encoding.rst
index 979bc0b322..f2d1b75ea0 100644
--- a/DOCS/encoding.rst
+++ b/DOCS/encoding.rst
@@ -43,7 +43,7 @@ One can then encode using this profile using the command::
mpv infile -o outfile.mp4 -profile myencprofile
Some example profiles are provided in a file
-etc/encoding-example-profiles.conf; as for this, see below.
+etc/encoding-profiles.conf; as for this, see below.
Encoding examples
@@ -89,13 +89,12 @@ Device targets
As the options for various devices can get complex, profiles can be used.
An example profile file for encoding is provided in
-etc/encoding-example-profiles.conf in the source tree. You can include it into
-your configuration by doing::
+etc/encoding-profiles.conf in the source tree. This file is installed and loaded
+by default (if libavfilter is enabled at compilation). If you want to modify
+it, you can replace and it with your own copy by doing::
mkdir -p ~/.mpv
- curl https://raw.github.com/mpv-player/mpv/master/etc/encoding-example-profiles.conf \
- > ~/.mpv/encoding-profiles.conf
- echo "include = $HOME/.mpv/encoding-profiles.conf" >> ~/.mpv/config
+ cp /etc/mpv/encoding-profiles.conf ~/.mpv/encoding-profiles.conf
Refer to the top of that file for more comments - in a nutshell, the following
options are added by it::