summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Constantino <wiiaboo@gmail.com>2017-06-25 14:25:24 +0100
committerRicardo Constantino <wiiaboo@gmail.com>2017-06-25 14:36:10 +0100
commit72ef74dab5244753c9bc6f33687aa60a2886c53b (patch)
tree86049df9340c8382f3a491667f75022aaf289fff
parent7dee6eb22f109cc1d1b2ae42a022a84ba0b33b96 (diff)
downloadmpv-72ef74dab5244753c9bc6f33687aa60a2886c53b.tar.bz2
mpv-72ef74dab5244753c9bc6f33687aa60a2886c53b.tar.xz
encoding-profiles: remove useless noformat vf from enc-v-h264
Instead, add instructions on how to properly restrict output video to a relatively compatible profile/level.
-rw-r--r--etc/encoding-profiles.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/encoding-profiles.conf b/etc/encoding-profiles.conf
index 77dc8a93c2..6212848d1b 100644
--- a/etc/encoding-profiles.conf
+++ b/etc/encoding-profiles.conf
@@ -75,7 +75,10 @@ ovcopts = qscale=4
profile-desc = "H.264 (x264)"
ovc = libx264
ovcopts = preset=medium,crf=23,threads=0
-vf-add = noformat=yuv444p,noformat=yuv444p9,noformat=yuv444p10,noformat=yuv422p,noformat=yuv422p9,noformat=yuv422p10
+# If you want to restrict the output video to something compatible with most
+# hardware and basic decoders, add "profile=high,level=41" to ovcopts above and
+# uncomment the following line to avoid errors when source video isn't yuv420p:
+#vf-add = format=yuv420p
[enc-v-mpeg2]
profile-desc = "MPEG-2 Video (FFmpeg)"