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
My hybrid open matte releases
#31
(2017-12-21, 09:42 AM)random.next Wrote:
(2017-12-21, 03:24 AM)Colek Wrote: Decided to have some fun with the plugin, but sadly my Russian isn't really great, but it is working very well right now!

I had HDTV capture of Taxi 3 on HDD and Bluray, so I decided to test it along with these two.

HDTV capture isn't logo free, but the framing is very different throughout the movie. ColorAdjust function sadly didn't do much for me, but I had to use ColorYUV on Bluray and some saturation tweaks on HDTV capture (as it had very bleached out reds). Looks very good! Looking forward to seeing development of this plugin Smile

Could you tell me how would I go about using this plugin with two sources like one is HDTV with logo, and other Web-DL logo free? I would want to use Web-DL to cover up logos from HDTV capture.
If input video has logo you must use sourceMask or overlayMask parameter:
starz=ImageSource("M:\MEDIA\FLLV\SOURCE\STARZ.png", pixel_type="Y8").ColorYUV(levels="TV->PC")
OverlayEngine(OM.ConvertToYV8(), WS.ConvertToYV8(), sourceMask=starz...
Mask is the black&white image where logo is purely black.
Unmasked logo causes high diff values. The diff must be lower than OverlayEngine.maxDiff if it possible. Otherwise each frame will be proccesed separatly without full scene (very slow).

Thanks for the reply, appreciated. Sadly, I've followed your steps and overlay just masks whole video, not just masked out part. I've tried changing from sourceMask to overlayMask, inverting colours on the .png file, but I always end up with overlay just going onto the whole video, not just the logos.
Reply
Thanks given by:
#32
Could you upload sample video of both sources from the same position about 1000 frames? Then I can give an example script.
Reply
Thanks given by: Colek
#33
Thanks! There you go.

https://mega.nz/#!wLAySRwZ!P1E64W4yR1j5o...4QVMwOeFdo
https://mega.nz/#!tbRnDCrB!ICV7rp5jmqwjy...iNsvJcuGX8
Reply
Thanks given by:
#34
(2017-12-21, 03:53 PM)Colek Wrote: Thanks! There you go.

https://mega.nz/#!wLAySRwZ!P1E64W4yR1j5o...4QVMwOeFdo
https://mega.nz/#!tbRnDCrB!ICV7rp5jmqwjy...iNsvJcuGX8

Looks like the same transfer with different small cropping and color matrix. Are you sure that AutoOverlay is needed here? Maybe static overlay with mask for logo will be more useful.
I guess that Taxi 3 will be better for example script because the sources have significantly different aspect ratio.
If you can upload the samples in the original quality without reencoding please.
Reply
Thanks given by:
#35
There it is, I just remuxed original files with mkvtoolnix. Trim first 25 frames from Bluray sample and they're in sync. Also AssumeFPS(25) on Bluray.

https://mega.nz/#!5GxHXIJJ!DG-Aq_-h-4GOe...JVlkjV9GIQ
https://mega.nz/#!pHZRSQ7D!p6xnTA2ByeAeB...pyY-r7wBQg
Reply
Thanks given by:
#36
OK.
First of all download latest build: https://github.com/introspected/AutoOver...ses/latest
Try this script. Mask image attached.
Code:
logo=ImageSource("E:\MEDIA\Taxi\Logo.png", pixel_type="Y8").ColorYUV(levels="TV->PC")
HDTV=LWLibavVideoSource("E:\MEDIA\Taxi\Taxi 3 - 1080i HDTV.mkv").Trim(3,0).yadifmod2().ColorYUV(off_u=-2, off_v=-2, cont_v=50, cont_u=50)
BD=LWLibavVideoSource("E:\MEDIA\Taxi\Taxi 3 - Bluray (1).mkv").Trim(28,0).Crop(2, 134, -2, -132)

# High perfomance MT functions from resampleMT plugin.
fastResizeFunction="BilinearResizeMT"
bestResizeFunction="Spline64ResizeMT"
# Analysis pass is recommended. Stat file is not overwritable.
analysisPass=false
statFile="E:\MEDIA\Taxi\Overlay.stat"
# Editor may be used after analysis pass
editor=false

OverlayEngine(editor ? HDTV.ConvertToYV24() : HDTV.ConvertToY8(), editor ? BD.ConvertToYV24() : BD.ConvertToY8(), \
                     sourceMask=logo, editor=editor && !analysisPass, maxDiff=8, statFile=statFile, upsize=fastResizeFunction, downsize=fastResizeFunction, \
                     configs=OverlayConfig(subpixel=2, aspectRatio1=2.379, aspectRatio2=2.381))

if (analysisPass || editor) { return last }

HDTV=HDTV.FilmGrain1(amp=4, r=2) # regrain

OverlayRender(HDTV.ConvertToYV24(), BD.ConvertToYV24(), sourceMask=logo, colorAdjust=2, matrix="", gradient=0, noise=60, upsize=bestResizeFunction, debug=true)

Overlay(HDTV, mode="chroma", opacity=0.5, mask=logo)


Attached Files Thumbnail(s)
   
Reply
Thanks given by: Colek
#37
Thanks, that worked flawlessly, now I get how this works. Thanks a lot for your work! Smile
Reply
Thanks given by:
#38
I'm too busy with Harry Potter, and don't dare to run an avisynth script while x264 is encoding another script - probably nothing would happen, but you know, 20+hrs encoding and then discover you got glitches is not a nice discovery! Wink

But happy to see the plugin is working well! Hope to test it in the next weeks!

Meanwhile, random.next and Colek, if you would like to write a simple "how to" guide with images - like explaining how a script work to a 5yrs old avisynth genius Big Grin - it will be great!
Reply
Thanks given by:
#39
First I need to release a stable build and publish a reference guide in english including.
At the moment you can create a separate thread to discuss about but without my active techincal support.
Reply
Thanks given by: spoRv , Colek
#40
Thanks again for this great plugin!

Eagerly waiting for stable build and eventual English guide!
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  Excited to find the Harry Potter open matte movies maracuchos 0 169 2024-10-04, 06:26 AM
Last Post: maracuchos
  Qualms with official releases mousebird 1 567 2024-01-23, 09:14 AM
Last Post: Stamper
  Open Matte Fan TNC78 2 1,327 2023-05-26, 09:59 AM
Last Post: Bilbofett
  Open Matte and Laserdisc fiend saying hello laserripper 5 3,440 2021-01-27, 12:15 PM
Last Post: Kynch
Heart Hello everyone! I Love IMAX/Open Matte Release! riccardo4685 2 2,356 2020-12-10, 08:24 PM
Last Post: Kynch

Forum Jump:


Users browsing this thread: 6 Guest(s)