crashnburn Posted August 19, 2013 Share Posted August 19, 2013 I am having trouble getting _GUICtrlAVI_Create to play my avi file. I receive this error message "video1.avi is either not designed to run on Windows or it contains an error". When I run it outside of AutoIT it plays fine, but to cover all my basis I have downloaded many codec packs but none seem to fix my issue. Is there something else that needs to be done in order to get this to work? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted August 19, 2013 Share Posted August 19, 2013 I assume you're trying to play an actual video since you're talking about codecs and stuff? The AVI control is for simple animations, like the flying file animation in the copy dialog of older Windows. See the GUICtrlCreateAvi() or _GUICtrlAVI_Create() examples. If you want something heftier, I recommend looking at either of the two DirectShow UDFs. >DirectShow UDF >DirectShow .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
crashnburn Posted August 19, 2013 Author Share Posted August 19, 2013 thank you very much for the clarification. Ill have to try a different route. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now