Log in

View Full Version : output with wrong aspect ratio


ThePi7on
21st July 2018, 14:53
Hi, VapourSynth beginner here, and also fist time poster, so I hope I'm in the right section.

So I was experimenting a bit, and I realized the output has the wrong aspect ratio, even if ClipInfo reports the correct resolution.

Problem also persists if I only output the source without any filer applied.
https://i.imgur.com/CM8f0y4.png
As you can see, the the dragon ball in the center appears deformed.

Here's my script

import vapoursynth as vs
import havsfunc as haf
core = vs.get_core()

video = core.lsmas.LWLibavSource(r"G:\DOWNLOAD TORRENT 2\01. Son Goku Saga\[Pendekar] Dragon Ball - 001 [Dragon Box] [Dual Audio].mkv.!ut").text.ClipInfo()

src=video

super = core.mv.Super(video, pel=2, sharp=1)

backward_vec3 = core.mv.Analyse(super, blksize = 4, isb = True, delta = 3, overlap=2)
backward_vec2 = core.mv.Analyse(super, blksize = 4, isb = True, delta = 2, overlap=2)
backward_vec1 = core.mv.Analyse(super, blksize = 4, isb = True, delta = 1, overlap=2)

forward_vec1 = core.mv.Analyse(super, blksize = 4, isb = False, delta = 1, overlap=2)
forward_vec2 = core.mv.Analyse(super, blksize = 4, isb = False, delta = 2, overlap=2)
forward_vec3 = core.mv.Analyse(super, blksize = 4, isb = False, delta = 3, overlap=2)

video = core.mv.Degrain3(video, super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,backward_vec3,forward_vec3, thsad=400)

#video = haf.EdgeCleaner (video, 10)
#video = haf.DeHalo_alpha (video)
video = haf.ContraSharpening(video, src, radius=1)

## double video
#out=core.std.StackHorizontal([video, src])
#out.set_output()

video.set_output()


Thanks in advance for the help

Wilbert
21st July 2018, 16:29
Please have a look at the forum rules. Especially rule 6. Thanks. Thread closed.