Crop/Resize - 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: Crop/Resize (/thread-1593.html) |
Crop/Resize - serg - 30.10.2020 I'm trying to use "Hybrid" for pre-process video before up-conversion in "Topaz Enhance AI". The procedures as follow: - Deinterlace - Rezise (i.e for 4x3 NTSC to 720x540 or to 960x720 or for 16x9 NTSC to 960x540) - Filtering ... Everything works fine. However in many cases I need to remove borders (i.e 6px from the right) and resize cropped video back to 720x540/960x540, preserving aspect ratio (in order to do this I need to crop top/bottom as well). What the proper procedure and settings to do that using Hybrid's "Crop/resize"? RE: Crop/Resize - Selur - 31.10.2020 What you should do is:
Cu Selur RE: Crop/Resize - serg - 31.10.2020 Trying to follow your suggestions: 1. Even without cropping, adjusting 4x3(10/11) 720x480 NTSC to output square pixel PAR sometimes gives 736x540 output resolution (instead of 720x540) Sometimes 720x528 (instead of 720x540) 2.Attempt to crop right border with auto adjust (let's say "width") doesn't resize picture to preserve PAR RE: Crop/Resize - Selur - 31.10.2020 Wild guess is that there is some problem with the refreshing when the input par is changed,... Which is what you did, correct? -> I'll try to reproduce it. -> Yes, it's a small bug, which doesn't update the resolution when inputPAR is changed manually. Will fix and send you a link to a dev version. Cu Selur RE: Crop/Resize - Selur - 31.10.2020 Send you a link to my current dev version which should fix the issue. Cu Selur RE: Crop/Resize - serg - 31.10.2020 New dev version gives me: RE: Crop/Resize - Selur - 31.10.2020 Can't reproduce that here. What did you do step by step? RE: Crop/Resize - Selur - 31.10.2020 Ha, I know what you did, you entered the 48 manually and Hybrid doesn't do anything for width or height >= 48 since that is the supported minimum resolution in Hybrid. use higher values than 48 and you should be fine. Cu Selur RE: Crop/Resize - serg - 31.10.2020 (31.10.2020, 19:53)Selur Wrote: Ha, I know what you did, you entered the 48 manually and Hybrid doesn't do anything for width or height >= 48 since that is the supported minimum resolution in Hybrid. I did not enter 48 manually. On every new load it behaves unpredictably. New load gives: 720x528 instead 720x540. RE: Crop/Resize - Selur - 31.10.2020 Why do you think 720x528 is wrong? To me it seem to be the correct resolution for what you configured. Input is 720x480 with PAR 10/11 (=MPEG-4 NTSC 4:3), so output resolution with square pixel (1/1) should be 720x 480*11/10 = 720x528. Ah,... I know why you expected 720x540 since you expected the input PAR to be 8/9 which is "Generic NTSC 4:3", if you want Hybrid to use generic enable 'Force input PAR type' and set it to 'generic', this way Hybrid should change the 10/11 to 8/9. Further details, by default Hybrid does just take the PAR reported by MediaInfo, enforcing a specific par type Hybrid adjust the par. See: [INFO] About pixel aspect ratios,.. Cu Selur |