Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AutoOverlay (PKA AutoAlign) discussion
10 print "Too old to start to learn another programming language..."
20 goto 10

run
Reply
Thanks given by:
Hey, I started out with BASIC too, so that's no excuse. Big Grin
Reply
Thanks given by:
5 print "is this an excuse?"
10 input $excuse
15 if $excuse = "yes" goto 20 then goto 30
20 print "you caught me!"
25 end
30 print "I'm too old for this s*it!"
35 end
40 rem "I programmed on BASIC first on a Spectrum, sometimes without even be connected to the TV, go figure..."
45 rem "so maybe I forgot some commands, please forgive me!"

run
Reply
Thanks given by:
hehehe

Edit: That brings back memories of that one game I started programming in BASIC, but then the laptop died and the hard drive was not compatible with any other system, so it was lost forever.
Reply
Thanks given by:
(2018-02-27, 05:00 AM)spoRv Wrote: So, as I wrote before, I give it 99% - and the missing 1% to be perfect is not that previous problem - I can live with it - but a missing feature... yes, you know, custom border color! Wink

I know I could get the mask running twice the plugin - one for the video, one for the mask - but it takes twice the time... so, getting a new optional custom border color would help. More, the best thing would be to have the chance of setting corners and borders colors separately - and the perfect thing to have top left and right and bottom left and right corners colors, as well as top/bottom and left/right borders.

Why? Well, sometimes you get just one "empty" corner, and would like to fill it using inpaint; having just that corner with a given color would help a lot - I know that inpaint is far from perfection, but sometimes would be possible to get good result... sometimes! Wink

I am going to change OverlayRender interface and implementation in the future. Make it more customizable. Param list will be changed. So it will be possible to set backgwround clip. As for now it's impossible to set pure color to the back because overlay is processed at fixed resoultion (as in debug info) and then resized to the output resolution. So it will produce interpolation artifacts at borders as now in mask mode.
As I said before at this moment you are free to use OverlayRender in mask mode. To prevent interpolation artifacts use ColorRangeMask.
>I know I could get the mask running twice the plugin - one for the video, one for the mask - but it takes twice the time
Use the same OverlayEngine with two renders to save your time. And of course using statFile is highly recommended for many reasons.
Reply
Thanks given by:
Thanks for the answer! Every day it passes I'm more amazed by this great plugin; fantastic job, thank you! Ok

As for the interpolation artifacts: it would be possible to expand the mask with the mt_expand - even if it may "eat" some pixels near the borders, it would always be compensated by inpaint - in the few cases it would work properly, of course! Wink
Reply
Thanks given by:
This is an example of properly overlaid clips in overlay editor. Look at frame sequences with equal align values. The intersection area is almost pure grey. With statFile you are able to check each scene after analysis pass and edit it.
[Image: editor.png]
Reply
Thanks given by:
I'm thinking to test another UAR triple sources; which is the best method?

I mean, I combine first two sources, then the result would be combined with a third one; but, as the previous combination will have variable height or width, how can I mask the borders to feed the third one?

THANKS!
Reply
Thanks given by:
(2018-03-04, 11:23 PM)spoRv Wrote: I'm thinking to test another UAR triple sources; which is the best method?

I mean, I combine first two sources, then the result would be combined with a third one; but, as the previous combination will have variable height or width, how can I mask the borders to feed the third one?

THANKS!

Code:
engine1=OverlayEngine(src1, src2)
hybrid=engine1.OverlayRender(src1, src2, mode=3)
mask=engine1.OverlayRender(src1, src2, mode=6)
engine2=OverlayEngine(hybrid, src3, sourceMask=mask)
engine2.OverlayRender(hybrid, src3, sourceMask=mask, mode=3)
Reply
Thanks given by: spoRv
Thanks, I'll try it ASAP...

(now I understand why it didn't work... I put the mask only on the render!)
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  home 7.1 releases - general discussion spoRv 7 3,022 2021-10-11, 05:51 PM
Last Post: spoRv
  Recordable blu-ray disc general discussion spoRv 6 7,888 2017-05-20, 11:37 AM
Last Post: spoRv

Forum Jump:


Users browsing this thread: 27 Guest(s)