Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th June 2024, 10:48   #2961  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 289
Quote:
Originally Posted by DTL View Post
Try to load your image with alpha channel and use Overlay() - http://avisynth.nl/index.php/Overlay . If fixed opacity is enough - you can load RGB image without alpha channel and control with
float opacity = 1.0
Set overlay transparency. The value is from 0.0 to 1.0, where 0.0 is transparent and 1.0 is fully opaque. This value is multiplied by mask luminance to form the final opacity.

Or you can load grey mask as separate image too.
Thanks DTL, but how do I add a .png file as the "watermark" ??

TBH, on the RipBot264 thread, the dev provided a pretty fancy script that I cannot get to work as displayed:-

Script:-
https://forum.doom9.org/showthread.p...10#post2002510

Result:- (top right corner)
https://forum.doom9.org/showthread.p...13#post2002513

Completely stumped, and more annoying the op who asked for help, got it work first go
__________________
RipBot264 v1.27.3 (08-06-2024)
FTLOY is offline   Reply With Quote
Old 5th June 2024, 12:22   #2962  |  Link
DTL
Registered User
 
Join Date: Jul 2018
Posts: 1,145
Try
Code:
logo=ImageReader("mylogo.png", fps=25, use_DevIL=true, pixel_type="RGB32")
Overlay(logo, x=10, y=10, opacity=0.2, mask=logo.ShowAlpha("yv12"))
DTL is online now   Reply With Quote
Old 6th June 2024, 02:22   #2963  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 289
Quote:
Originally Posted by DTL View Post
Try
Code:
logo=ImageReader("mylogo.png", fps=25, use_DevIL=true, pixel_type="RGB32")
Overlay(logo, x=10, y=10, opacity=0.2, mask=logo.ShowAlpha("yv12"))
Thanks again, DTL,

I will see if I can get this work, but in the meantime, back on the RipBot264 thread, the op has found an issue that might be why I couldn't get that script to work.

It's an 8 bit vs 10 bit issue....

UPDATE:-

pdr came to the "rescue", it's working perfectly.
__________________
RipBot264 v1.27.3 (08-06-2024)

Last edited by FTLOY; 6th June 2024 at 05:31.
FTLOY is offline   Reply With Quote
Reply

Tags
avisynth, dogway, filters, hbd, packs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.