View Single Post
Old 21st July 2018, 14:53   #1  |  Link
ThePi7on
Registered User
 
ThePi7on's Avatar
 
Join Date: Jan 2017
Location: Italy
Posts: 7
output with wrong aspect ratio

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.

As you can see, the the dragon ball in the center appears deformed.

Here's my script
Code:
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
Attached Files
File Type: txt src_info.txt (7.2 KB, 17 views)
ThePi7on is offline