Log in

View Full Version : READING data froma txt file


gwendolien
8th July 2013, 12:04
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?

Gavino
8th July 2013, 14:02
Take a look at ConditionalReader (http://avisynth.nl/index.php/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. :)

gwendolien
8th July 2013, 15:12
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...