Jump to content


Photo

Gmmovie Dll - Extended Audio And Video Playing!


  • Please log in to reply
151 replies to this topic

#21 zmaj

zmaj

    GMC Member

  • GMC Member
  • 323 posts

Posted 01 November 2004 - 11:04 AM

^_^ HI...Here I am again...

Now take look ...
If you simultaneosly play GMMovie_Play(movie) (only video...very important thikg is to set volume to 0 GMMovie_SetVolume(movie)) and sound separately thry
SXMS.dll (SXMS_C_Play) you will be ablle to watch DivX format movies...

Also very important is to put volume back (to 1000) after finising movie
thry GMMovie_SetVolume(1000,movie)becouse when you set volume to zero(0)
you set on main mixer of your computer WAVE out to zero(0)

Of course you mast to have some DivX codec(I have last Divx-pro and ffd-show)

I was sad before that DivX movies run to faaaast and without sound
This is simply solution to catch the rabit...!!!???
Gretings from ZMAJ
Http://zmmaj@hotmail.com
  • 0

#22 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 01 November 2004 - 01:28 PM

Thats interesting although I've already played movies encoded with the DivX codec on GmMovie without SXMS... But yeah you have to have the codec.
  • 0

#23 zmaj

zmaj

    GMC Member

  • GMC Member
  • 323 posts

Posted 03 November 2004 - 08:10 AM

[quote name='Nintendofreak88' date='Nov 1 2004, 01:28 PM']
Thats interesting although I've already played movies encoded with the DivX codec on GmMovie without SXMS... But yeah you have to have the codec.
:skull:
I am just think...
Does nobody know how to wrote one dll for DivX format...
I don't know C++ even tip,but someone who knows C++ culd see
how that work on everu LINUX sites...They have all on free code...
(even I have free DivX code wroten on C ++)but I don't know how to
using them on GM...

Gretings ZMAJ
  • 0

#24 Sindarin

Sindarin

    Indie Game Developer

  • New Member
  • 1644 posts
  • Version:GM:HTML5

Posted 03 November 2004 - 09:56 PM

Ehh...sorry to say it but.. it sucks..at least for me.
Okay,I'll state my reasons.
-It just summons mci commands
thus if you lack codecs,you can't play movies
-Some mci commands do not work
-If you right click on the movie a context menu appears
with the mci actions
-The cursor it's shown
-When you zoom in then sometimes you can't zoom out.
-There's no command to add a movie control/slider?

sorry for being hard..

Edited by kio, 03 November 2004 - 09:57 PM.

  • 0

#25 Shaltif

Shaltif

    The Audio Master

  • Retired Staff
  • 1185 posts

Posted 04 November 2004 - 02:49 AM

It extends GM in an area that is still lacking, and that is all that matters :)

Actually, a few of your "points" can easily be corrected.

If you lack the codecs, you can easily get them. The internal GM video functions also require the user to have the correct codecs installed. So this isn't really a factor, since your only alternative to display video is GM itself, which has the same issue.

So far, all the MCI commands I've tested worked fine. I'm using this in my SXMS Player 3.0 and done quite some testing with it. If you could explain which functions aren't "working" I assume NintendoFreak88 (and myself) would greatly appeciate it.

This has been taken care of (in a future release). I'm not sure if NintendoFreak88 released this version yet or if he is still making updates, but the user will have the ability to "shut off" this default menu.

It depends on the "enviroment" whether the cursor being shown is a bad thing. In my media player, having the cursor display is a plus. Having the cursor display isn't a huge problem. If the user wants to see the image, just move the cursor aside, that simple.

I haven't had any issues with the zoom feature, and I've done many tests with it. Could you explain in more detail how you caused this issue to occur?

You can easily make your own "controls" or "slider" in GM. The nice thing about this dll is that it actually gives the ability to have the video display in the actual GM window. And by using the return functions, you can easily make your own "interface". In the SXMS Player 3, you control the video the same way you control all the other media, so the video having it's "own" controls or slider would look out of place. (Just an example)

Conclusion:

So I wouldn't go as low as saying "it sucks". Instead, try something a little more contructive (ex: It's a good idea and it has potential, but here are a few points I thought could be improved) or something of that nature.

There are two things I would like to see in a future release, and that is the ability to set the video to fullscreen with a function call rather than having to set the video's size to match that of the screen and set the window (GM's or it's own) to "Ontop". And the ability to switch from embeded to it's own window (and vise versa) on the fly.

A very good job NintendoFreak with the current product. I am happy to say it works great in my media player setting. Now if I can just get DVD support to be just like this movie dll :chikin

~Brandon
  • 0

#26 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 04 November 2004 - 02:57 AM

Lol thanks for the nice comments Shaltif and for defending me (I owe ya one!) I really didn't think people cared about this anymore. I might release the new version (or add some more stuff) if people are still actually interested
(shaltif I might try to get that other stuff done for you anyway.)
  • 0

#27 digitalwar

digitalwar

    GMC Member

  • New Member
  • 321 posts

Posted 04 November 2004 - 01:07 PM

Hey , the dll is great , it has good use !! I'using it i my RTS game , but I have a question :
Can you please tell me if it is possible to make a dll that lets you play avi files in the background , in sead of using large gif files ?
  • 0

#28 Sindarin

Sindarin

    Indie Game Developer

  • New Member
  • 1644 posts
  • Version:GM:HTML5

Posted 04 November 2004 - 03:14 PM

okay.. not anyone wants this dll for a media player, so the cursor is a minus to me
(While I was playing Resident Evil 2 [commercial game] yesterday I noticed that in videos no cursor was shown?)

When I opened a clip of Silent Hill I zoomed and zoomed in and I wasn't able to reach the main options anymore so to Play Stop n Stuff.

That the in-built Video Player of gm needs the codecs too,yes that's true.
but why then don't you make a dll that it doesn't need them,it just supports
internally mpeg,avis,wmv and any other format just like the jmod dll?


Plus I don't need the context menu when I right click on the movie.

Ah, yes a detail on your dll's version information you write:
'Gmmovie dll for Gamemaker'
I don't think anyone wants to show to people that the game was made with GM?
Isn't this one reason that people register?
(To get rid of the gm logo?)

  • 0

#29 SSNautilus

SSNautilus

    S.S.Nautilus

  • New Member
  • 137 posts

Posted 04 November 2004 - 03:25 PM

Nintendofreak88, please continue to refine this dll. It is fantastic and very useful for playing videos from 'within' GM. :medieval: Please check out the *glitch* about video sizes in the above Post#20.

Many thanks. :D

Edited by SSNautilus, 04 November 2004 - 03:26 PM.

  • 0

#30 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 04 November 2004 - 03:38 PM

okay.. not anyone wants this dll for a media player, so the cursor is a minus to me
(While I was playing Resident Evil 2 [commercial game] yesterday I noticed that in videos no cursor was shown?)

i may be wrong, but arent there dlls and now a function in gamemaker itself to show/hide the cursor? :medieval:
  • 0

#31 Sindarin

Sindarin

    Indie Game Developer

  • New Member
  • 1644 posts
  • Version:GM:HTML5

Posted 04 November 2004 - 04:15 PM

Please check out the *glitch* about video sizes in the above Post#20.

Maybe is the same as the zoom problem I have.
  • 0

#32 Shaltif

Shaltif

    The Audio Master

  • Retired Staff
  • 1185 posts

Posted 05 November 2004 - 02:45 AM

okay..  not anyone wants this dll for a media player, so the cursor is a minus to me
(While I was playing Resident Evil 2 [commercial game] yesterday I noticed that in videos no cursor was shown?)

When I opened a clip of Silent Hill I zoomed and zoomed in and I wasn't able to reach the main options anymore so to Play Stop n Stuff.

That the in-built Video Player of gm needs the codecs too,yes that's true.
but why then don't you make a dll that it doesn't need them,it just supports
internally mpeg,avis,wmv and any other format just like the jmod dll?


Plus I don't need the context menu when I right click on the movie.

Ah, yes a detail on your dll's version information you write:
'Gmmovie dll for Gamemaker'
I don't think anyone wants to show to people that the game was made with GM?
Isn't this one reason that people register?
(To get rid of the gm logo?)

<{POST_SNAPBACK}>


It is very hard to make something that doesn't require something to already be installed on the operating system. Heck, if the user doesn't have directX, your kinda in a bind already. Most software requires that you have the pre-installed componets for it to work. Codecs are no different. If the user doesn't have the things required, they either 1, don't use the software, or 2, update so they can use the software.

This is why the thing called "minimum requirements" was created, it tells the user what they require in order to use the software. It's up to the user to have the requirements, don't limit your games based on the lowest end computers around (but don't go making your game for the highest spec computers either). Most people will have the codecs, and if not, well, they might have issues playing the GM game anyway, since GM isn't the fastest thing on older end computers anyway.

For your last note, he can put anything he want's in his version information. Also, most people I know always display (usually in the credits tho) that their product was made in GameMaker. Which they should, since a lot of credit to the completed project was cause of the hard work by Mark Overmars.

But again, I understand your point. However, just consider that most of your "clients" are probably not going to check the version information of the dll's that come with your program (let alone knowing what GameMaker is or even caring if it's made by it) You make it sound like a bad thing that you mention that your program was made using GameMaker...

Anyway,
Keep up the excellent work NintendoFreak88, on this and other dlls/projects. Now go make a DVD dll, mwahaha...ok, I guess that would be to much to ask :)

~Brandon
  • 0

#33 zmaj

zmaj

    GMC Member

  • GMC Member
  • 323 posts

Posted 30 November 2004 - 11:53 AM

[quote name='Shaltif' date='Nov 5 2004, 02:48 AM']
[quote name='kio' date='Nov 4 2004, 10:14 AM']okay..  not anyone wants this dll for a media player, so the cursor is a minus to me
(While I was playing Resident Evil 2 [commercial game] yesterday I noticed that in videos no cursor was shown?)

Sorry Brandon But EVERU OS have some DirectX who comes with OS
when I say ever i did'nt think WIN98...
WinMe have DirectX-7
And so on Xp have built on DirectX 8 ,and Microsoft alredy have on site DirectX 9c
That is a fact...

I nedd dll for DivX format for GM...If you have one...


ZMAJ...
  • 0

#34 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 30 November 2004 - 10:19 PM

Thanks for the comments guys. BTW kio and such, do you have ANY idea how hard most image/sound formats are to decode? For instance, the JPGLib for C++ has about 30 files of 1000 lines each. Mabye if you can find someone with LOTS of time on their hands, but if not, then you'll just have to stick with the formats that MCI allows. :GM6:
  • 0

#35 Shaltif

Shaltif

    The Audio Master

  • Retired Staff
  • 1185 posts

Posted 01 December 2004 - 05:18 AM

Zmaj, maybe do a spell check next time? (that's took awhile to read, lol).

For DirectX, just update to 9.0c. The only OS that can't use the latest version of DirectX are Win95 and earlier (at least, I know Win95 can only use up to DirectX 7.1 or something like that)

But since GameMaker doesn't officially work under Win95 anyway, that's a mute point.

As for the DivX issue, just download the DivX codec. That isn't much of a big deal. Just state in the Minimum Requirements that the DivX codec is required to view video and/or have a link where people can download the codec from if they don't have it.

~Brandon
  • 0

#36 zmaj

zmaj

    GMC Member

  • GMC Member
  • 323 posts

Posted 02 December 2004 - 01:22 PM

Zmaj, maybe do a spell check next time?  (that's took awhile to read, lol).

As for the DivX issue, just download the DivX codec.  That isn't much of a big deal.  Just state in the Minimum Requirements that the DivX codec is required to view video and/or have a link where people can download the codec from if they don't have it.

~Brandon

<{POST_SNAPBACK}>



Well thanks for reading this...My speling is unusefful becouse I dont know English so well...
Yes I know everuything, and i alredy have DivX codec...I dont know how to use them in GM aplication...If you know how,please share with as you knowlege...

Zmaj
  • 0

#37 digitalwar

digitalwar

    GMC Member

  • New Member
  • 321 posts

Posted 04 December 2004 - 12:06 AM

I have a question, can you make the dll play the movie in the background, and let the user draw sprites over the playing movie ?
Is it possible in any way ? and if it is , please tell me how to do this.THAnx verry much , and I hope you can help.
  • 0

#38 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 04 December 2004 - 02:12 AM

No, unfortunately it isn't. That's because if the movie weren't drawn over the gm window, it would be behind it. Then, the user wouldn't even see it.
  • 0

#39 Ace

Ace

    GMC Member

  • New Member
  • 348 posts

Posted 20 May 2005 - 11:41 PM

Actually it would be possible, IF you were able to put the video image into a BMP or JPEG file and replace a current background with that current image.

This method works very well for 3D wrappers and GM's 2D functionality to mix~! I don't see a reason why it wouldn't work here besides you not being able to get the current image of the video.
  • 0

#40 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 21 May 2005 - 12:09 AM

Well if you tell me how I could get a multi frame movie into a single background... The only way would be to take screenshots of a movie playing then draw them to the background. A process which would be extremely slow.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users