1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-07 14:47:53 +00:00

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.
This commit is contained in:
Ricardo Constantino 2017-06-25 14:25:24 +01:00
parent 7dee6eb22f
commit 72ef74dab5
No known key found for this signature in database
GPG Key ID: EFD16019AE4FF531

View File

@ -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)"