|
Post by DJLinux on May 11, 2009 5:25:19 GMT -5
Simple ActiveX decoder Plug-in audio: *.wav, *.mp3, *.mid video: *.avi, *.mpg, *.wmv *.mp4 False or True = DecoderLoadFile(FileName$) DecoderFreeFile() SizeHeight% = DecoderGetHeight() SizeWidth% = DecoderGetWidth() DecoderSetLayout(x%,y%,w%,h%) Frames% = DecoderGetNumberOfFrames() FPS# = DecoderGetFPS() hWin% = DecoderGethWin() ' get handle from Basic4GL Window DecoderStart(hWin) ' if 0 a new resizeable window will be opened DecoderPause() DecoderResume() ' after pause DecoderStop() ' next start from 0 DecoderSetFrame(NewPosition%) CurentPosition% = DecoderGetFrame()
Download: DecoderPlugin.zip(with plugin sourcecode) Happy coding :-) Joshy
|
|