wuziq
12th August 2006, 01:47
writefilestart works for me, but the other writefile functions do not work. By "do not work", I mean that a text file gets created but nothing gets written into the file. I have tried doing "Scan video for errors", playing the whole clip through, even compressing it.
Examples that do not work:
filename = "test.txt"
clip = blankclip()
writefile(clip, filename, "current_frame", append=true, flush=true)
filename = "test.txt"
clip = blankclip()
writefileend(clip, filename, """ "goodbye" """, append=true)
filename = "test.txt"
clip = blankclip()
writefileif(clip, filename, "I CAN PUT ANYTHING HERE AND I GET NO ERRORS OR COMPLAINTS AT ALL", "current_frame")
Do I need to do anything in particular to get them to work?
Example of what works:
filename = "test.txt"
clip = blankclip()
writefilestart(clip, filename, """ "hello" """)
I am using AviSynth v2.5.6, WinXP.. I tried both vdub and vdubmod.. any other info that I need to put here, let me know.
I sense I might be doing something fundamentally wrong.. but, even with the simplest case of writefileend, it doesn't work, while writefilestart does. Anyone experiencing these problems?
Examples that do not work:
filename = "test.txt"
clip = blankclip()
writefile(clip, filename, "current_frame", append=true, flush=true)
filename = "test.txt"
clip = blankclip()
writefileend(clip, filename, """ "goodbye" """, append=true)
filename = "test.txt"
clip = blankclip()
writefileif(clip, filename, "I CAN PUT ANYTHING HERE AND I GET NO ERRORS OR COMPLAINTS AT ALL", "current_frame")
Do I need to do anything in particular to get them to work?
Example of what works:
filename = "test.txt"
clip = blankclip()
writefilestart(clip, filename, """ "hello" """)
I am using AviSynth v2.5.6, WinXP.. I tried both vdub and vdubmod.. any other info that I need to put here, let me know.
I sense I might be doing something fundamentally wrong.. but, even with the simplest case of writefileend, it doesn't work, while writefilestart does. Anyone experiencing these problems?