![]() |
vhs-bordercontrol, telecide() and (ml)degrain in vapoursynth - 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: vhs-bordercontrol, telecide() and (ml)degrain in vapoursynth (/thread-3713.html) |
RE: vhs-bordercontrol, telecide() and (ml)degrain in vapoursynth - Selur - 19.07.2025 Quote:what did i expect and what would be the proper way:Then you can't use Hybrid. Hybrid does not support a random order for crop, rotate, resize, letterbox. The order needs to be always: crop < rotate < resize < letterbox. Quote:you take 480x576 source and crop xx pixels from the bottom (if one selects cropping and inputs the number)That will only affect the DAR not the PAR, PAR does not change by resize. If you want to go from anamorphic SDR to HDR, you should:
Cu Selur RE: vhs-bordercontrol, telecide() and (ml)degrain in vapoursynth - i4004 - 20.07.2025 if everything works as expected, there should be no vertical stretch in produced video, i believe. here's the video: https://www.mediafire.com/file/d0i0ysxgkh36qr7/VHS_maskenbal+2000_trimmed_FFV1-PCM.avi/file and according to https://www.doom9.org/capture/capture_window.html and https://www.doom9.org/capture/par.html that 480x576 clip has source PAR of 1.56468 ("You are now reading the (v4.0) version of the guide. This time the changelog is substantional. Many things are added or rewritten by the Version4 team (Wilbert, trevlac, arachnotron and i4004 (Ivo))." arachnotron was much more into PAR details, i didn't really bother) if you would be so kind to apply process (that you mention in your reply above) to that clip to produce 1440x1080 x264 clip (with 1:1PAR) and then i make same encoding but totally disregarding PAR, comparison of both might be interesting. thanks ps/inspect lipsync when you encode audio too, with settings from this screenshot. video was bobbed with qtgmc and compressed with x264 in crf mode. oh yeah, when one inputs external audio, the resulting mp4 file (audio) is not trimmed properly by hybrid, ie file has duration of audio clip no matter (shorter) duration of video. RE: vhs-bordercontrol, telecide() and (ml)degrain in vapoursynth - Selur - 20.07.2025 Quote: oh yeah, when one inputs external audio, the resulting mp4 file (audio) is not trimmed properly by hybrid, ie file has duration of audio clip no matter (shorter) duration of video.cutting is an experimental setting, without a debug output and files to reproduce the problem I won't look at that. ------------------ Your source is signaled with a PAR (Pixel aspect ratio) of 1:1, looking at the Vapoursynth preview one can see that this is not the correct PAR. => you need to let Hybrid know what the correct PAR is. Let's assume the correct PAR of your source is 4:3 (<>720:480) So by setting 'Crop/Resize->Pixel Aspect Ratio (PAR)->Input PAR' to 4:3 you need Hybrid know that it should use this PAR. Cropping the black borders: clip = core.std.Crop(clip=clip, left=14, right=18, top=18, bottom=16)# cropping to 448x542 Quote:1440x1080 x264 clip (with 1:1PAR)Okay. (side note, on Blu-rays 1440x1080 normally too has a PAR of 4:3) Since you want 1:1 PAR you need to enable 'Crop/Resize->Pixel Aspect Ratio (PAR)->Convert output to PAR' and set it to 'Square Pixel (1:1)'. To get your desired 1440x1080 you now need to change 'Crop/Resize->Picture Resize->Auto adjust' to 'width' and the width to 1080. Hybrid will then adjust the target width so that the output isn't distorted (width = 1190). Now to get 1440x1080 you enable letterbox and set it to 1440x1080 and end up with: ![]() ![]() side note: You might want to fix the chroma shift of the source. Sure, you can archive the same result by totally disregarding Hybrids workflow, by not adjusting the input par, disabling the audio adjust and manually setting the correct resolution and letterbox, but then you have to do the whole aspect ratio calculations yourself and it doesn't really make sense to use Hybrid. Cu Selur Ps.: according to http://web.archive.org/web/20111228005412/http://lipas.uwasa.fi/~f76998/video/conversion/ 128:78 might be the correct PAR, so with my cropping and the 108ß0 target height, you would get 1440x1062. With letterboxing to 1440x1080 it would look like this: ![]() |