Sign in to follow this  
Followers 0

xVideo 1.2.2 UDFv0.1

25 posts in this topic

#1 ·  Posted (edited)

Hello

Here is the UDF for xVIDEO.dll 1.2.2

Autoit 3.3.8.0

xVideo is a Directshow wrapper that will help it’s users create multimedia aplications.It’s compatible with any language that supports STDCALL calling convention.

Features

-Any media playback(require necessary codec installed)

-Plays multiple videos at once

-Extract audio

-Streaming file from internet

-Plugins Support (Decoders, DSP and others)

-Text Overlay Support

-VMR,VMR9,EVR support,VMR7/9 WindowsLess Mode

-Image overlay support

-Audio Pitch, Tempo, Channel Process

-Color Controls(brightness,hue,saturation,contrast)

-Mixing Videos Support

-DVD playback

-Multiple Video Output

-Support for capture devices

-Convert media files support

-Users audio DSP’s

-Build in audio Equalizer,Reverb,Echo,Compressor,Flanger

-Play media files from Memory/User file system

-Winamp DSP plugin Support(via addon)

-Real time audio level

-waveform draw

Download : http://surodev.com

_xVideo.au3

_xVideoUDFv0.1.au3

xVideo.dll

Edited by bladem2003

Share this post


Link to post
Share on other sites



#3 ·  Posted

Tried with xvid encoded avi without success.

did you put the xVideo.dll in the same folder as the udf?

I have tested it on three different computers (all with windows 7)

excuse my bad english, I'm from Germany

Share this post


Link to post
Share on other sites

#5 ·  Posted

did you put the xVideo.dll in the same folder as the udf?

I have tested it on three different computers (all with windows 7)

excuse my bad english, I'm from Germany

Ciao,

I've tried to run _xVideo.au3 but autoit crashes :-(

I have tried win Windows XP and Windows 7.

I've putted xVideo.dll and the udf in the "include" folder.

The error message is:

Firma problema:

Nome evento problema: BEX

Nome applicazione: autoit3.exe

Versione applicazione: 3.3.6.1

Timestamp applicazione: 4bc81615

Nome modulo con errori: StackHash_0a9e

Versione modulo con errori: 0.0.0.0

Timestamp modulo con errori: 00000000

Offset eccezione: 0061f2fb

Codice eccezione: c0000005

Dati eccezione: badc0de1

Versione SO: 6.1.7601.2.1.0.256.1

ID impostazioni locali: 1040

Informazioni aggiuntive 1: 0a9e

Ulteriori informazioni 2: 0a9e372d3b4ad19135b953a78882e789

Ulteriori informazioni 3: 0a9e

Ulteriori informazioni 4: 0a9e372d3b4ad19135b953a78882e789

Are other examples to try? Where I wrong? Thanks

Marco

Share this post


Link to post
Share on other sites

#6 ·  Posted

What the hack is this ?

DllCall($__xVideo_DLL, "ubyte"

i didn't see any return type as "ubyte", from the documentation? Posted Image


73 108 111 118 101 65 117 116 111 105 116

Share this post


Link to post
Share on other sites

#8 ·  Posted

I think Digisoul more so hit the nail on the head.

ubyte is not an autoit return data type.

Form looking at xVideo.h for c++ the return type is BOOL (in every function that has used ubyte for return), in autoit bool/uint/int would be usable as a return type (as a guess).

Share this post


Link to post
Share on other sites

#9 ·  Posted

I think Digisoul more so hit the nail on the head.

ubyte is not an autoit return data type.

Form looking at xVideo.h for c++ the return type is BOOL (in every function that has used ubyte for return), in autoit bool/uint/int would be usable as a return type (as a guess).

Yaps! actually i read the documentation of xVideo, this UDF is not properly written, many parms from DLLCALL are miss.


73 108 111 118 101 65 117 116 111 105 116

Share this post


Link to post
Share on other sites

#10 ·  Posted

Actually, it appears ubyte is valid.

http://www.autoitscript.com/autoit3/docs/history.htm

v3.2.6.0

Added: byte and ubyte type to DllCall().

Unless it was removed in a later release.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

The UDF for the 1.2 final version of xVideo ( surodev.com/ )

_xVideo.au3

_xVideoUDF.au3

Edited by bladem2003

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

Cheers.

I think there is a function missing.

I believe its this.

Func xVideo_ErrorGetCode()
  $xVideo_ErrorGetCode = DllCall($__xVideo_DLL, "dword", "xVideo_ErrorGetCode")
  If @error Then
    Return SetError(@error, 0, 0)
  EndIf
  Return $xVideo_ErrorGetCode[0]
EndFunc   ;==>xVideo_ErrorGetCode

:D

EDIT: I looked for this trying to figure why I cannot get fullscreen to work.

tried ubyte as bool without success and I do not get an error returned either, well sorry error = 0

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

#13 ·  Posted

Cheers.

I think there is a function missing.

I believe its this.

Func xVideo_ErrorGetCode()
  $xVideo_ErrorGetCode = DllCall($__xVideo_DLL, "dword", "xVideo_ErrorGetCode")
  If @error Then
    Return SetError(@error, 0, 0)
  EndIf
  Return $xVideo_ErrorGetCode[0]
EndFunc   ;==>xVideo_ErrorGetCode

:D

EDIT: I looked for this trying to figure why I cannot get fullscreen to work.

tried ubyte as bool without success and I do not get an error returned either, well sorry error = 0

fullscreen is disablet by xVideo.dll.

you have to resize the windows

Share this post


Link to post
Share on other sites

#15 ·  Posted

_xVideo_SetConfig("xVideo_CONFIG_VideoRenderer", "xVideo_VMR9");"xVideo_EVR")

For me it does not work with the above code. Got it to work by changing "xVideo_CONFIG_VideoRenderer" to 4096 (0x1000) and "xVideo_VMR9" to 2 (VMR9) or 5 (EVR) as declared in the "xVideo.h" library.

Share this post


Link to post
Share on other sites

#16 ·  Posted

UDF ubdated

new version v0.1

Share this post


Link to post
Share on other sites

#17 ·  Posted

My English very bad!

I want register file xVideo.dll, it show MsgBox "Unregistered version of xVideo"!

Share this post


Link to post
Share on other sites

#18 ·  Posted

Dll link busted. :(


BeatsPlayer - My Music player

"Know what really grinds my gears? Those people who quote whole posts for no reason." Peter Griffin

Share this post


Link to post
Share on other sites

#19 ·  Posted

Dll link busted. :(

http://surodev.com/downloads/xVideo.zip

That is a direct link to the xVideo dll download, I believe that is version 1.3.1 of the dll but the help file in it is for 1.2.2. The source code in the C folder lists 1.3.1 as the version it's for.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

#20 ·  Posted

Yeah, i didn't go to the site and assumed the attached files would link to the same thing.


BeatsPlayer - My Music player

"Know what really grinds my gears? Those people who quote whole posts for no reason." Peter Griffin

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