26 May '13 - 03:29 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 ... 84 85 [86] 87 88 ... 135
  Reply  |  Print  
Author Topic: BASS_DSHOW Video Library  (Read 272297 times)
Ionut Cristea
Posts: 1377


« Reply #1700 on: 4 Sep '11 - 06:22 »
Reply with quoteQuote

Hmm... i see in your code that you have option to init xVideo with multithreaded flag. Try disable that one
Logged
Alpha_
Posts: 70


« Reply #1701 on: 4 Sep '11 - 14:08 »
Reply with quoteQuote

hello,

I saw a new problem with BASS_ChannelGetLength and BASS_ChannelGetPosition when using bass_dshow as a plugin.
With certain video the length and position are false, the current position is outside of the total length, and for example block at 01:32:06 while the video is not finished.

Can you verify this ?

Thanks
Logged
zmmaj
Posts: 80


« Reply #1702 on: 4 Sep '11 - 19:26 »
Reply with quoteQuote

I gott-a work at kast... but in separate wraper fror xVideo...
Way you simply don't tell me that is imposible to  compile  bass.lib and your new lib.
You have bass lib compiled in your lib... Sad

OK.. Now problem with xVideo...
DLL problem..
How to deal with DVD menus?
Function to enable keyboard keys ( arrows, enter) etc do not work...
Something MenuSetproperties or similar...
I have FALSE as result.
I try to wrap newest xVideo ( download from your site), and almost all work as well.(without any bass libs, calls etc)
Logged
Ionut Cristea
Posts: 1377


« Reply #1703 on: 4 Sep '11 - 19:41 »
Reply with quoteQuote

You can look at DVD demo example from xVideo package. But what i do not understand: what you are trying to wrap? The xVideo(standalone version) or xVideo(BASS version)?
Logged
zmmaj
Posts: 80


« Reply #1704 on: 4 Sep '11 - 19:51 »
Reply with quoteQuote

i Found correct name xVideo_DVDChannelMenu function don't work..
In download you haven't ant DVD example...
There is  FxTest, Multioutput and OverlayBitmap

Now I wrap your latest vXideu version from http://surodev.com/downloads/xVideo.zip

Logged
Ionut Cristea
Posts: 1377


« Reply #1705 on: 4 Sep '11 - 19:54 »
Reply with quoteQuote

 In the http://surodev.com/downloads/xVideo.zip package you have in Delphi example a DVDDemo. You can look over it.
Logged
zmmaj
Posts: 80


« Reply #1706 on: 4 Sep '11 - 20:13 »
Reply with quoteQuote

yes... but how to find X and Y ... where you have function to got window handle of current playing DVD menu?
You see... In game maker , we have several X and Y position... So I am confused.
WE have , for example, mouse_x and mouse_y position in:
GM window, Desktop , or some other window...
When I start DVD first start Menu in one window, but I can see, one more window behind Menu window, and I have a GM main window...
Witch X and Y, and from what window I need to provide to xVideo function?
Help is very short and confused.
« Last Edit: 4 Sep '11 - 20:33 by zmmaj » Logged
Ionut Cristea
Posts: 1377


« Reply #1707 on: 4 Sep '11 - 20:44 »
Reply with quoteQuote

  You need to set the X and Y from the window that have the video on it playing(the window that is set via xVideo_ChannelSetWindow function)
Logged
zmmaj
Posts: 80


« Reply #1708 on: 4 Sep '11 - 20:49 »
Reply with quoteQuote

I got automatic window without setting any with any function...
Just  INIT, LoadDVD, playDVD...
But OK i will try to set one window...
And this is from CHM file
the value1 parameter should be the x coordonate value
the value2 parameter should be the y coordonate value

X and Y value of WHAT? ( window, mouse, menu?)
Logged
Ionut Cristea
Posts: 1377


« Reply #1709 on: 4 Sep '11 - 21:09 »
Reply with quoteQuote

The X and Y represents the mouse coordinates. Thanks, i will update the documentation.
Logged
zmmaj
Posts: 80


« Reply #1710 on: 4 Sep '11 - 21:21 »
Reply with quoteQuote

great..
 if do that do and next:
in xVideo_SetConfig  you haven't xVideo_Overlay in *.h .and you miss to add flag
xVideo_AudioRenderer I think... Sad
Logged
Ionut Cristea
Posts: 1377


« Reply #1711 on: 4 Sep '11 - 21:23 »
Reply with quoteQuote

Overlay renderer is not longer suported in xVideo, and xVideo audio renderer flag is only available on standalone version
Logged
zmmaj
Posts: 80


« Reply #1712 on: 4 Sep '11 - 21:57 »
Reply with quoteQuote

from latest chm file
One of this flags:

xVideo_VMR7 - set VMR7 video renderer
xVideo_Overlay - set overlay mixer renderer
xVideo_VMR9 - set VMR9 video renderer
xVideo_NULL - set NULL video renderer
etc
Logged
Ionut Cristea
Posts: 1377


« Reply #1713 on: 4 Sep '11 - 22:07 »
Reply with quoteQuote

Oops Smiley I will update the documentation. Thanks for reporting.
Logged
zmmaj
Posts: 80


« Reply #1714 on: 5 Sep '11 - 10:39 »
Reply with quoteQuote

TNX... Now is OK exept one. (Arrows and enter work)

I can't got X and Y from another window than GM window.
So, can you make some function to return X and Y from active xVideo Window, and if mouse is hower ?
« Last Edit: 5 Sep '11 - 11:17 by zmmaj » Logged
Ionut Cristea
Posts: 1377


« Reply #1715 on: 5 Sep '11 - 11:57 »
Reply with quoteQuote

Ok.i.will see what i can do
Logged
zmmaj
Posts: 80


« Reply #1716 on: 5 Sep '11 - 12:04 »
Reply with quoteQuote

Or maybe i make mistake...
you see, in Gm X=0 and Y=0 is top left corner, is that same for you?
Logged
ken
Posts: 630


« Reply #1717 on: 5 Sep '11 - 15:20 »
Reply with quoteQuote

I'm using xVideo in .NET and since you have done many changes in xVideo your .NET wrapper don't work anymore.

But I manage to get some parts working. What I like to do now is start 2 captures (webcam) and mix to one output window.

xVideo_CaptureCreate I got working, but what are the values for flags? (i use 5000 and get preview)

int _rec = VideoEngine.xVideo_CaptureCreate(-1, 1, 0, 0, 5000);
VideoEngine.xVideo_ChannelSetWindow(_rec, 0, preview1.Handle);
VideoEngine.xVideo_ChannelPlay(_rec);


How do I configure and add the capture stream to a video-mixer? I can't use xVideo_MIX_StreamCreateFile, or?

Last how do I use CaptureGetDevices with .NET?

/Ken

Logged
zmmaj
Posts: 80


« Reply #1718 on: 6 Sep '11 - 08:35 »
Reply with quoteQuote

OK... I make a wrapper for Game Maker ( functional 98%. I still need a mouse_x /y position from DVD menu window.)

I was try to mix 2 video files, but I miss something..I will repair that  tonight.

If you need Example and Game Maker wraper for xVideo here it is.
download link:
http://www.host-a.net/u/zmmaj/gmDVD.zip

To read *.gmk files you need to download GameMaker from
http://www/yoyogames.com
All help are in Scripts ( for every function exists explantation for GM usage)
Your help is not in download due great difference between usage of GM_* functions and xVideo_ functions.

Enyou !!
« Last Edit: 6 Sep '11 - 09:37 by zmmaj » Logged
Ionut Cristea
Posts: 1377


« Reply #1719 on: 6 Sep '11 - 17:15 »
Reply with quoteQuote

Quote
Insert Quote
OK... I make a wrapper for Game Maker ( functional 98%. I still need a mouse_x /y position from DVD menu window.)

I was try to mix 2 video files, but I miss something..I will repair that  tonight.

If you need Example and Game Maker wraper for xVideo here it is.
download link:
http://www.host-a.net/u/zmmaj/gmDVD.zip

To read *.gmk files you need to download GameMaker from
http://www/yoyogames.com
All help are in Scripts ( for every function exists explantation for GM usage)
Your help is not in download due great difference between usage of GM_* functions and xVideo_ functions.
I 've try it..works fine, but you don't release old streams when creating new ones.

Quote
I'm using xVideo in .NET and since you have done many changes in xVideo your .NET wrapper don't work anymore.

But I manage to get some parts working. What I like to do now is start 2 captures (webcam) and mix to one output window.

xVideo_CaptureCreate I got working, but what are the values for flags? (i use 5000 and get preview)

int _rec = VideoEngine.xVideo_CaptureCreate(-1, 1, 0, 0, 5000);
VideoEngine.xVideo_ChannelSetWindow(_rec, 0, preview1.Handle);
VideoEngine.xVideo_ChannelPlay(_rec);



How do I configure and add the capture stream to a video-mixer? I can't use xVideo_MIX_StreamCreateFile, or?

Last how do I use CaptureGetDevices with .NET?

/Ken

Mixing streams is done by specifing xVideo_STREAM_MIX flag a stream creation, but this isn't implemented in current BASS_DSHOW version. Let me a few days and i will post an update.
Logged
Pages: 1 ... 84 85 [86] 87 88 ... 135
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines