![]() |
[BUG] Letterbox error - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [BUG] Letterbox error (/thread-3538.html) Pages:
1
2
|
Letterbox error - zspeciman - 11.01.2024 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. RE: Letterbox error - Selur - 11.01.2024 Create and share a debug output which includes: a. the analysis of the source b. triggering the problem Cu Selur RE: Letterbox error - zspeciman - 11.01.2024 Thank you for the quick reply. I've attached the HybridDebugOutput RE: Letterbox error - Selur - 11.01.2024 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 RE: Letterbox error - zspeciman - 11.01.2024 yes, preview works fine RE: Letterbox error - Selur - 11.01.2024 What does the Vapoursynth Script View show? atm. I can't reproduce the problem here. RE: Letterbox error - zspeciman - 11.01.2024 # 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() RE: Letterbox error - Selur - 11.01.2024 There letterbox isn't used. => Looking into it. RE: Letterbox error - Selur - 11.01.2024 Found and fixed the problem will send you a link to a dev version for testing in ~20min. Cu Selur RE: Letterbox error - Selur - 11.01.2024 Send you a link via pm. Let me know if it fixes the problem. (jobs need to be recreated) Cu Selur |