Log in

View Full Version : Maximum length of ConditionalReader


damichi
21st January 2008, 09:15
Hi.

Is there a limit of lines or values for a text file which is used with ConditionalReader?

Kind regards
damichi

sh0dan
21st January 2008, 10:40
No there shouldn't be. It will however use number-of-frames x 4 bytes of memory.

damichi
21st January 2008, 11:54
Thanks a lot sh0dan.
But I'm not sure if I understand you.
You mean it depends on the length of the video the ConditionalReader is used with?
Ie. 1.048.576 frames video length x 4 bytes = 4 Mb memory consumption, no matter how the text file looks like

Or do you mean it depends on the number of frames, "addressed" in the txt file?
Ie.
file.txt:
Type int
Default -50
R 0 1048575 1
==> a range of 1.048.576 frames ==> 4 Mb

sh0dan
21st January 2008, 14:07
Ie. 1.048.576 frames video length x 4 bytes = 4 Mb memory consumption,
Correct.