This is the script that I use the batch that used
a = AVISource("movie.avi").ConvertToRGB32()
#ar = a.PointResize(a.width * 4, a.height * 4)
ar = hq4x(a)
abottom = Crop(a, 0, 192, 256, 192)
#abottomr = abottom.PointResize(abottom.width * 8, abottom.height * 8)
abottomr = hq3x(hq3x(abottom))
b = Trim(StackHorizontal(ar, abottomr), 0, 900)
d = ImageSource(file="logohd.png", start=0, end=119, fps=b.FrameRate).ConvertToRGB32()
e = BlankClip(d, audio_rate=48000, channels=1)
f = AudioDub(d, e).Lanczos4Resize(b.width, b.height).AssumeFPS(a.FrameRateNumerator, a.FrameRateDenominator)
last = f + b
AssumeFieldBased.Weave.VerticalReduceBy2
ConvertToYV24(chromaresample="point")
ConvertToYV12(chromaresample="point")
return last
The command for the audio work for me, but this is the problem, I think
x264.exe --qp 15 -b 0 --keyint 30 --output encodedhd.mp4 hdencode.avs
I'm trying to use for encode this submission:
Mendel Palace