Jump to content


Photo

Gmmovie Dll - Extended Audio And Video Playing!


  • Please log in to reply
151 replies to this topic

#41 Ace

Ace

    GMC Member

  • New Member
  • 348 posts

Posted 21 May 2005 - 01:14 AM

Actually, I was referring to taking the image directly from video memory and replacing a background with that image each step the video is played.

Then, all you'd have to do is set that BG to the room BG and keep replacing it every step. You can play with sprites, etc on top of it, and you'd never have to worry about the player right-clicking and getting all those options, and you'd have full control over your display of the movie.

You know, something even neater would be if you could make buttons and thingies in GM and have them on top of the video and you could even interactively play a game on top of a video, kind of how they do in Final Fantasy 7 and 8.

Just food for thought... ^_^
  • 0

#42 Sindarin

Sindarin

    Indie Game Developer

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

Posted 22 May 2005 - 03:39 PM

NNFreak 88, I have created an example along with Cursor Clip dll!
You can display a movie full screen, with no cursor and no right click menu!
:skull:
I will post it as soon as I can!
sorry I misunderstood your dll but it needed some second hand for doing the job right.

Still I can't find a good compression tool for avi movies... :lol:


You know, something even neater would be if you could make buttons and thingies in GM and have them on top of the video and you could even interactively play a game on top of a video, kind of how they do in Final Fantasy 7 and 8.


yep.

Edited by kio, 22 May 2005 - 03:40 PM.

  • 0

#43 Flashback

Flashback

    Lord of the Ferrets

  • New Member
  • 489 posts
  • Version:Unknown

Posted 22 May 2005 - 06:44 PM

@kio http://ziplib.com/_s...download_2.html

Very nice DLL, I might use it in Scoperta Solare
  • 0

#44 ColdShellProductions

ColdShellProductions

    GMC Member

  • New Member
  • 317 posts

Posted 22 May 2005 - 11:57 PM

when i try to load a file it says ' the MCI device you are using does not suport the specefied command.' what do i do?
  • 0

#45 Timber

Timber

    GMC Member

  • New Member
  • 4 posts

Posted 22 May 2005 - 11:59 PM

Most of that is over my head (i know what you're talking about, though, just couldn't join in. :skull:), however...

Can you control the initial load's coordinates? Or is that the actual problem?

If you could, just throw it way offscreen until the file is loaded (like x=0, y=30000), then have it appear in place with the proper height, width, and so on. That way it would still be doing the same thing, but elsewhere, where it wouldn't be seen.

Again, i may be misunderstanding the problems due to ignorance of the coding involved.
  • 0

#46 SkaterD

SkaterD

    Bloody Stick

  • New Member
  • 108 posts

Posted 11 July 2005 - 10:11 PM

It is a way cool dll. Its possible to play movies in GM (without a dll, and without using show_video). Just use
MCI_command('open file type AVIVideo alias video parent '+string(window_handle())+' style child');

The code above doesnt allow you to play a movie if the path is too long. Your dll makes it possible to play the video from anywhere. Thats what makes it so usefull.

SkaterD
  • 0

#47 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 11 July 2005 - 10:35 PM

Ok, first, don't topic bump. And secondly, i know about MCI commands and quite frankly I don't care. Thank you and have a nice day.
  • 0

#48 SkaterD

SkaterD

    Bloody Stick

  • New Member
  • 108 posts

Posted 12 July 2005 - 03:36 AM

Ok, first, don't topic bump. And secondly, i know about MCI commands and quite frankly I don't care. Thank you and have a nice day.

<{POST_SNAPBACK}>

Truely I didnt realize it was a bump and I apologize for that. (I didnt look at the last post date.) You seem to have thought I was trying to down your dll. I wasnt in any way. I just wanted to tell everyone that it has been possible to do this without a dll for quite some time now, but with some limitations. I really do like your dll and appreciate that you took the time and effort of creating it.
  • 0

#49 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 12 July 2005 - 11:54 AM

Truely I didnt realize it was a bump and I apologize for that. (I didnt look at the last post date.)

Oh ok don't worry about it. :P

I just wanted to tell everyone that it has been possible to do this without a dll for quite some time now, but with some limitations.

Well, some don't like it when alternatives are offered to their dll in their own topic, it can be taken as offending. Also, the MCI thing is pretty common knowlage. I plan on looking into ways to improve this in the future (like multi threading).
And if you would have read the first post:

This uses MCI so you could do it directly from Game Maker. However, I am not sure about speed imporvment but this is also easier and is well documented. Generally things with DLL's are faster so I think this could be faster but I'm not sure. Just please don't go around saying you could do most of it with MCI. If you know you can, then go make your own scripts, etc. :P


Edited by Nintendofreak88, 12 July 2005 - 11:56 AM.

  • 0

#50 Flashback

Flashback

    Lord of the Ferrets

  • New Member
  • 489 posts
  • Version:Unknown

Posted 19 July 2005 - 06:47 PM

Hmmm, will it be capable of playing FLV files ever?
  • 0

#51 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 19 July 2005 - 08:15 PM

Probably not unless Microsoft adds that functionality to MCI.
  • 0

#52 Flashback

Flashback

    Lord of the Ferrets

  • New Member
  • 489 posts
  • Version:Unknown

Posted 20 July 2005 - 10:30 PM

Drat. I need to find a DLL to play FLV's for my game (FLVs have awesome compression).
  • 0

#53 bassman

bassman

    GMC Member

  • New Member
  • 19 posts

Posted 29 July 2005 - 10:43 PM

I just found this. I wanted to tell you It is exactly what I need for a few of my audio related projects. Thanks for all your work.
  • 0

#54 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 29 July 2005 - 10:49 PM

Thanks! I'm glad you like it! :P
  • 0

#55 bassman

bassman

    GMC Member

  • New Member
  • 19 posts

Posted 30 July 2005 - 05:40 PM

While playing an mp2 I tried using mci commands to record a wav of the mp2 that was playing and It didnt work. Is there a reason that MCI commands dont work when GMMovie dll is being used? If so is there a workaround?
  • 0

#56 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 30 July 2005 - 05:51 PM

I didn't know MCI could record to mp2... I think it can only record as wave. That's probably your problem.
  • 0

#57 The_code

The_code

    Coding

  • New Member
  • 133 posts

Posted 13 September 2005 - 11:12 AM

I don't know if someone have said this already. but you should add a function to see if the loaded file is suported. //The_code
  • 0

#58 sn0wb0arder381

sn0wb0arder381

    GMC Member

  • New Member
  • 1153 posts

Posted 05 October 2005 - 08:54 PM

i just found this and am planing to use it for my media player :-) thank you for supplying this great dll
  • 0

#59 3dcoder

3dcoder

    GMC Member

  • New Member
  • 278 posts

Posted 13 November 2005 - 08:21 AM

The problem is in games the drop-down menu! If I make intro with this, player can click the video with right mouse button and a menu comes up. This is stupid and also in some Windows versions, pressing arrow keys, stops the video.

Even if you set GM to hide mouse, it still comes up when you move cursor above the video!

Otherwise this is good and easy to use.

Edited by 3dcoder, 13 November 2005 - 08:24 AM.

  • 0

#60 Ravotus

Ravotus

    GMC Member

  • GMC Member
  • 327 posts

Posted 13 November 2005 - 03:17 PM

Please read the help file before posting stupid questions. If the last argument in GMMovie_Load is false, there will be no right click menu.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users