added checkbox to ensure width and height are divisible by 2

This commit is contained in:
k4yt3x
2020-05-14 22:34:27 -04:00
parent 0882f44e1f
commit c384bb91c4
4 changed files with 27 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# Name: Video2X Configuration File
# Creator: K4YT3X
# Date Created: October 23, 2018
# Last Modified: May 12, 2020
# Last Modified: May 14, 2020
# Values here are the default values. Change the value here to
# save the default value permanently.
# Items commented out are parameters irrelevant to this context
@@ -122,6 +122,7 @@ ffmpeg:
'-pix_fmt': 'yuv444p10le' # overwrite default pixel format
'-crf': 17 # H.264 Constant Rate Factor
'-b:v': null # target average bitrate
'-vf': 'pad=ceil(iw/2)*2:ceil(ih/2)*2' # ensure output is divisible by 2, recommended for libx264
# Step 3: Streams Migration
# migrate audio and subtitle streams from original
# video into the upscaled video