|
|
Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Hello WME group,
I have an interesting problem... When I try to Index a local file using WMEncBasicEdit on a single processor, it completes quickly, even for large files (in maybe 1 or 2 minutes). When I try the exact same process on the exact same file on a dual processor (XP and 2000) machine, it takes over 2 hours. I have tried setting the process affinity to run on a single processor, as well as changing the priority everywhere from High to Below Normal. Still no luck. Any ideas? Here is the code.
.... BasicEdit.MediaFile = inFileName; BasicEdit.OutputFile = outFileName; BasicEdit.Index = true; BasicEdit.OnStateChange += new _IWMEncBasicEditEvents_OnStateChangeEventHandler(OnStateChange); BasicEdit.Start(); ....
I handle start and stop events properly, and I do not query for the progress, just straight processing.
The reason for Indexing is because I need to export scripts using wmvcopy and re-specify a header with no scripts using BasicEdit.ConfigFile = '...' . I have tried this process without indexing and it occasionally fails (on non indexed files I'm guessing). Is there some way to remove scripts from a file without indexing? If not, does anyone have insight on how to solve the dual processor issue? Any help would be greatly appreciated.
Thank you,
T
|
|
|