Sign in to follow this  
Followers 0
MePHiTiC

AVI is messed up when playing through AutoIT

1 post in this topic

I'm using the below code to play an AVI video, however from the screen shot you can see it's messed up pretty bad. It plays fine in Windows Media Player 11. I created it using Ulead MediaStudio Pro 8. I made sure it was uncompressed. Any ideas?

#include <GUIConstants.au3>

$X = BitOr($WS_POPUP, $WS_BORDER)
GUICreate("", 500, 500, -1, -1, $X, $WS_EX_TOPMOST)
$AVI = GUICtrlCreateAvi(@ScriptDir & "\Random_Drawing.avi", -1, -1, -1)
GUISetState(@SW_SHOW)

GUICtrlSetState($AVI, 1)

While 1
    Sleep(1000)
Wend

Exit

Screen shot of video

Thanks,

MePH

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0