When and Where is INI file read during processing
Posted: Sun Dec 30, 2012 11:40 am
I am working on a script to automate comskip and I have a question about the INI file and where and when it is read during processing so I can make sure my script does not break anything.
I see that as of Revision 0.79.10 (at least in the donator version), you can put the INI file with the recording, and as of 0.77.59, you can specify the ini file via a command line switch
So if I run comskip like this:
Will comskip first look for "mysettings.ini" in C:\MyPath\ and if it doesn't find it, it will look in the directory of the exe?
And when are the ini file parameters read? Is everything read up front and stored in memory? Or does comskip go back to the file during processing? Reason I ask this is I am wondering what would happen if the ini were to be accidentally deleted or changed while processing a video. Would it break comskip? Or does it not need the ini after it has started?
I see that as of Revision 0.79.10 (at least in the donator version), you can put the INI file with the recording, and as of 0.77.59, you can specify the ini file via a command line switch
So if I run comskip like this:
Code: Select all
comskip "C:\MyPath\input.wtv" --ini=mysettings.ini
And when are the ini file parameters read? Is everything read up front and stored in memory? Or does comskip go back to the file during processing? Reason I ask this is I am wondering what would happen if the ini were to be accidentally deleted or changed while processing a video. Would it break comskip? Or does it not need the ini after it has started?