This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] Letterbox error
#1
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.
Reply
#2
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.
Reply
#3
Thank you for the quick reply.  I've attached the HybridDebugOutput
Reply
#4
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.
Reply
#5
yes, preview works fine
Reply
#6
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.
Reply
#7
# 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()
Reply
#8
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.
Reply
#9
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.
Reply
#10
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.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)