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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th July 2013, 12:04   #1  |  Link
gwendolien
Registered User
 
Join Date: Nov 2005
Posts: 70
READING data froma txt file

I'm writing kind of "intermediate" data on a clip to a .txt textfile.
These are data on each individual frame.
In a second processing script I would like to read these per frame data and use them as starting point for further processing.
How do I read the data into script variables?
gwendolien is offline   Reply With Quote
Old 8th July 2013, 14:02   #2  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Take a look at ConditionalReader.
You will need a separate file for each variable.

Perhaps one of StainlessS's utilities would also help - I'm sure he will be along in a minute.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 8th July 2013, 15:12   #3  |  Link
gwendolien
Registered User
 
Join Date: Nov 2005
Posts: 70
Thanks Gavino.
I found something usefull in the RT_Stats package there indeed.
But I wonder what precisely is meant by the "Lines" parameter?
The number of lines read, or the number of the one line read...
Rereading everything is clear already, apologies for too early a reaction...

Last edited by gwendolien; 8th July 2013 at 15:19.
gwendolien is offline   Reply With Quote
Reply


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:06.


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