Edited by Ravotus, 21 February 2012 - 02:56 AM.
Gmmovie Dll - Extended Audio And Video Playing!
#1
Posted 29 August 2004 - 02:14 AM
#2
Posted 29 August 2004 - 10:28 PM
#3
Posted 30 August 2004 - 03:29 AM
Keep up the good work, and keep me informed on any changes / progress (as you said, it's kinda in a beta stage). I'll let you know if I find any issues when I start using it in my player.
the only thing I need to figure out now, is to get DVD player
If you can figure that out nintendofreak88 (I've tried for quite some time, but you seem to know a bit more than me in C++ when it comes to video), that would be a great.
~Brandon
Edited by Shaltif, 30 August 2004 - 03:33 AM.
#4
Posted 31 August 2004 - 12:27 AM
#5
Posted 31 August 2004 - 12:41 AM
#6
Posted 31 August 2004 - 11:45 PM
#7
Posted 01 September 2004 - 01:01 AM
I don't remember it but look for it....
Nipa
#8
Posted 01 September 2004 - 10:18 AM
#9
Posted 01 September 2004 - 09:07 PM
#10
Posted 03 September 2004 - 12:23 AM
#11
Posted 03 September 2004 - 11:24 AM
#12
Posted 03 September 2004 - 09:14 PM
Nah, I use SXMS.i see a media player coming
Hmm well I don't know what else to add... I do know a fair amount of api and c++ in general so if you know of something in perticular just ask.if you added something extra to it that MCI_command() cant do more people might download it.....
#13
Posted 04 September 2004 - 08:16 AM
However since u guys seem to know about MCI could someone help me ?If yes plz pm me
I dont want something simple like MCI_command('pause all') but something really complex...
ok i checked it
It sucks
It is really good and it has a lot of options that are not available in gm ...
I really liked it.Keep up the good work and don't give up this project
#14
Posted 28 September 2004 - 07:54 AM
Hi...I try this thing...Work wery good,but???
Now look this:
*.vob some *.avi-es playing well, mpeg2/3(DivX2 and DivX3) playing well...I took about video formats...
But any format with harder compresion,playing tooooo quick ,without sound...
I was trying everuthig,but I can't solved this problem.
I't is posiblle , to inplement subtitle in moovie, only if you play movie on GM window and put some place for subtitle down...
My question is...Why this playing so slow. I was try on Win98(AMD 500 Mhz-terrible ; AMD 2000+ playin very bad... with one bug...After couple minutes picture come smoutlles...And just look what procesor do...98 - 100% ocupate with this dll...)
Similar things was repeat on other OS (WIN 2000 ; WIN XP-Pro ; )...On every of these OS procesor work with maximum own resources...Why???, And How to limit this to 20 - 30%...
Thanks !!!
P.S. I have not my site but...If you interesed i can send to everyone my own ZMAJ Player who work only with this dll...With subtitles,of course...
Everuthing is on my language but I hope you will understand the code...
Of course any messages of player you can changing on script "srpske_poruke"if you translate these messages on your language...
All program with free code is about 1Mb on zip format...
Edited by zmaj, 28 September 2004 - 08:34 AM.
#15
Posted 28 September 2004 - 11:15 PM
#16
Posted 11 October 2004 - 02:50 AM
Two things I noted:
(1.) It does not auto 'close' when the video ends.
(2.) It does not 'follow' an object when given dynamic x,y coordinates. (eg. GMMovie_SetPosition(sampleMovie,mouse_x,mouse_y); )
It starts at the relative coordinates and stays there during the step event. This would be nice if it could be allowed - so we could have 'animated' videos come floating in. (eg. Powerpoint).
Question: Will it work with dynamic SetSize()? I haven't tried that either - so we can 'scale' the video as needed. Useful.
Glitch: When I skip the question "Do you want to open it in a new window?" And allow it to play directly if file exists, then the video opens (for 1 frame - or duration of LOADING of the movie file!!) at its original size, and THEN resizes and sits itself in the x,y coordinates I had defined ) and causes a glitchy jump. Not good if we are to play ingames movies. Cannot show something 'jumpy' onscreen whenever a video is to be played. (eg. Mech Commander 'comms' (mission transmissions) chatter in a specified view while game is being fought!)
Please set it to 'load' in background if possible.
Overall - fantastic.
Edited by SSNautilus, 11 October 2004 - 02:57 AM.
#17
Posted 11 October 2004 - 03:05 PM
The video your seeing is actually it's own window being cast over or embed into the GM window. If you ever noticed, if you right-click a video being played, you get the MCI default video options.
You probably could get away with making your own "dynamic" set position if you knew the window_handle of the video window. Then using some WinAPI manipulation, have the video move. I'm not sure tho if that would work when "inside" the GM window.
I never noticed the glitch you spoke of. Try setting it's position, size, etc before playing the file. This should fix that "glitch".
As for loading in the "background", I don't see that being possible...
~Brandon
#18
Posted 11 October 2004 - 07:43 PM
#19
Posted 12 October 2004 - 12:34 AM
switch(choice){
case 0:
file = get_open_filename("All Files (*.*)|*.*","");
if(file_exists(file)){
sampleMovie = GMMovie_Load(window_handle(),file,"");
GMMovie_SetSize(sampleMovie,50,50);
GMMovie_SetPosition(sampleMovie,0,0);
GMMovie_Play(sampleMovie);
}
}
break;Specify a video file (much) LARGER than 50x50. You'll see that a window first appears which is BLANK and is much larger, and then it switches to the 50x50 size. Basically, it stays blank till the file is completely loaded. This should be done in the BG - preferably without causing any 'hiccups' in GM.
Thanks.
#20
Posted 12 October 2004 - 01:15 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











