Can both of you just
double/triple check the avs script you're using is the same as the GitHub since you're both referring to it.
As despoa you're writing lines that don't actually link up to what you mean.
And xRavenXP yours says "
I don't know what 'file' means. encode.avs, line 198" where the last time "file" is referred to
is at 173.
In the version of the script I'm referring to, remove the lines 125 - 129 and 172 - 176.
Rewrite Line 177 as "last = resized".
To write it out the lines to be removed is (125 - 129):
Language: avs
# Pick logo file
file = hd \
? "hdlogo.png" \
: "logo.png"
# file = !hd ? "logo34.png" : "hdlogo34.png"
And (172 - 177):
Language: avs
# Logo
logoVideo = ImageSource(file=file, start=0, end=int((resized.FrameRate * 2) - 1), fps=resized.FrameRate) \
.ConvertToRGB32().AssumeFPS(resized)
logoAudio = BlankClip(logoVideo, audio_rate=resized.AudioRate, channels=resized.AudioChannels)
logo = AudioDub(logoVideo, logoAudio).Lanczos4Resize(resized.width, resized.height)
last = logo ++ resized
Where line 177 is instead written as:
Language: avs
last = resized