Posts: 87
Threads: 5
Joined: Aug 2022
Please, read the 'Infos needed to fix&reproduce bugs,..'-sticky before you post about a problem.
Hello, I'm using the latest version: Hybrid Windows Installer: rev 2023.12.22.1
Video source is a 332x284 mp4 which I'm resizing to 1920x1080 letter box.
As soon as I run execute I get this error, so there was no output video or debug file
The error:
Target output resolution and resolution created through the script to not match!
Target: 1920x1080 vs script: 1320x1080
I've resized video in Letterbox in the past without a problem using the 2022.03.20.1 version.
I tried different Picture Resize, but same error. It is enabling the Letterbox that gives the error.
If I disable Letterbox, everything works.
Please help
Please, read the 'Infos needed to fix&reproduce bugs,..'-sticky before you post about a problem.
Posts: 10.617
Threads: 57
Joined: May 2017
Create and share a debug output which includes:
a. the analysis of the source
b. triggering the problem
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 87
Threads: 5
Joined: Aug 2022
Thank you for the quick reply. I've attached the HybridDebugOutput
Posts: 10.617
Threads: 57
Joined: May 2017
11.01.2024, 15:41
(This post was last modified: 11.01.2024, 15:43 by Selur.)
Okay, sadly that didn't help, since the output doesn't include the Vapoursynth script. :/ (also, the analysis is not included)
What does the script look like in the Vapoursynth Script View?
Does the Vapoursynth Preview work properly?
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 87
Threads: 5
Joined: Aug 2022
Posts: 10.617
Threads: 57
Joined: May 2017
What does the Vapoursynth Script View show?
atm. I can't reproduce the problem here.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 87
Threads: 5
Joined: Aug 2022
# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# source: 'M:\DownloadedClips\Anachnu\Anachnu09.mp4'
# current color space: YUV420P8, bit depth: 8, resolution: 352x288, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: progressive
# Loading M:\DownloadedClips\Anachnu\Anachnu09.mp4 using LibavSMASHSource
clip = core.lsmas.LibavSMASHSource(source="M:/DownloadedClips/Anachnu/Anachnu09.mp4")
# Setting detected color matrix (470bg).
clip = core.std.SetFrameProps(clip, _Matrix=5)
# Setting color transfer info (470bg)
clip = core.std.SetFrameProps(clip, _Transfer=5)
# Setting color primaries info (5)
clip = core.std.SetFrameProps(clip, _Primaries=5)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0) # progressive
# Resizing using 10 - bicubic spline
clip = core.fmtc.resample(clip=clip, kernel="spline16", w=1320, h=1080, interlaced=False, interlacedd=False) # resolution 1320x1080 before YUV420P8 after YUV420P16
# adjusting output color from: YUV420P16 to YUV420P8 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited", dither_type="error_diffusion")
# set output frame rate to 25fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()
Posts: 10.617
Threads: 57
Joined: May 2017
There letterbox isn't used.
=> Looking into it.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.617
Threads: 57
Joined: May 2017
Found and fixed the problem will send you a link to a dev version for testing in ~20min.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.617
Threads: 57
Joined: May 2017
Send you a link via pm.
Let me know if it fixes the problem. (jobs need to be recreated)
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.