From fd4e3af740fc00804e3f1b932462b44f795b1095 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 28 Dec 2013 16:32:49 +0100 Subject: 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). --- DOCS/encoding.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'DOCS') 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:: -- cgit v1.2.3