Vinh Posted June 6, 2013 Posted June 6, 2013 Hi, I have 1 video avi format and want it show on GUI But I am having trouble with _GUICtrlAVI_Create function, it does not work, the video does not show on GUI, I see many ways in the forum but no answers for me. Please help me #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <GuiAVI.au3> $Form1 = GUICreate("Form1", 615, 438, 192, 124) $hAVI = _GUICtrlAVI_Create($Form1, 'E:\Clip\team.avi', -1, 0,0, 301, 177) GUISetState(@SW_SHOW) _GUICtrlAVI_Play($hAVI) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd This's video file: http://me.zing.vn/apps/sharefile?params=/download/downloadfile/file/NTU5NiszNDgwMzg2MQ== Note: download and rename file's name: team.rar then extract tks ^^
FireFox Posted June 6, 2013 Posted June 6, 2013 Hi,I suspect that your video encoding is not supported by Windows.Note: You should change your host file, this one is really shit (9Kb/s so I gave up).Br, FireFox.
Vinh Posted June 6, 2013 Author Posted June 6, 2013 Hi, I suspect that your video encoding is not supported by Windows. Note: You should change your host file, this one is really shit (9Kb/s so I gave up). Br, FireFox. ^^ What should I do now? Tks ^^
FireFox Posted June 6, 2013 Posted June 6, 2013 Well, convert your avi with basic encoding.Br, FireFox.
Zedna Posted June 6, 2013 Posted June 6, 2013 Install appropriate codecs (or codec packs) on target computer first. Resources UDF ResourcesEx UDF AutoIt Forum Search
FireFox Posted June 6, 2013 Posted June 6, 2013 (edited) First of all, playing a video embedded in a GUI is crap. Secondly, if the user needs to install codecs...What I mean is play it with a proper player like VLC or find another alternative. Edited June 6, 2013 by FireFox
Vinh Posted June 6, 2013 Author Posted June 6, 2013 First of all, playing a video embedded in a GUI is crap. Secondly, if the user needs to install codecs... What I mean is play it with a proper player like VLC or find another alternative. this's my video http://www.mediafire.com/download/fnc82oo5nc00gpq/team.rar Plz check for me ^^
FireFox Posted June 6, 2013 Posted June 6, 2013 This is what you need :Video Codec : MPEG-4 Video (XVID) Audio Codec : MPEG Audio layer 1/2/3 (mpga)
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