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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 10th June 2023, 13:03   #1  |  Link
Rob105
Registered User
 
Join Date: Oct 2021
Posts: 43
Use custom variable with ConditionalReader()

How to make this work so box_width is read from box_width.txt right now its fixed on value 70 regardless what ConditionalReader outputs 130.

PHP Code:
v1 colorbars(1920,1080).converttoyuy2()

box_width 70
#Make box overlay
box BlankClip(width=box_widthheight=130color=$000000).AddBorders(5,5,5,5,color=color_white)

#place overlay in video
Overlay(v1boxx=740y=600)

ConditionalReader("C:\Users\User\Downloads\AVISynth\box_width.txt""box_width"true
Rob105 is offline   Reply With Quote
 

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 03:10.


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