Author Topic: Movie file playing code in FS2!  (Read 6751 times)

0 Members and 1 Guest are viewing this topic.

Offline RandomTiger

  • Senior Member
  • 211
Movie file playing code in FS2!
This is a bit premature but I have to tell you guys. I have managed to get a subsitute movie playing as an intro. Currently its a mpg but it should work with anything a user has a codec for, I've tryed it with a basic avi. In theory it should work for divx as well.

Just to make it clear to anyone who doesnt know what codecs are, mve files cannot be played with it.

I have to put scaling support in and give the user the ability to skip. My bigest problem is that it initiates a new window and minimises the rest of FS2 until its done. Not sure how to fix that one, will just have to work on it.

Even if I get that all working I will need some help to intergrate it into fs2_open because I had to remove and add some lib files which people might be conserned about.

 

Offline Rictor

  • Murdered by Brazilian Psychopath
  • 29
Movie file playing code in FS2!
:eek: :eek: :eek: :eek: :eek: :eek: :eek:

 
Movie file playing code in FS2!
:eek2:
Ich kann nicht eine Sache des Deutschen sprechen!!

 
Re: Movie file playing code in FS2!
Quote
Originally posted by RandomTiger
This is a bit premature but I have to tell you guys. I have managed to get a subsitute movie playing as an intro. Currently its a mpg but it should work with anything a user has a codec for, I've tryed it with a basic avi. In theory it should work for divx as well.

Just to make it clear to anyone who doesnt know what codecs are, mve files cannot be played with it.

I have to put scaling support in and give the user the ability to skip. My bigest problem is that it initiates a new window and minimises the rest of FS2 until its done. Not sure how to fix that one, will just have to work on it.

Even if I get that all working I will need some help to intergrate it into fs2_open because I had to remove and add some lib files which people might be conserned about.
:shaking:


!!!!!!!!!!!!!!!KAZAN!!!!!!!!!!!!!!!!

This is something u should drop kazans way. it might be of some use.

 

Offline RandomTiger

  • Senior Member
  • 211
Movie file playing code in FS2!
Like I say, its not finished yet. Could be a fair bit of work to do still. Dont worry, when its done, i'll make sure everyone knows about it.

 

Offline Thor

  • Captain of the GTD Sparta
  • 29
Movie file playing code in FS2!
You the man.  :yes: :eek2: :D
I can't believe my profile is still active... member since  July 25, 2002

 

Offline Inquisitor

Movie file playing code in FS2!
Let's have a meeting of the minds.

Need to know what you removed, etc, and what you used to play them.
No signature.

 

Offline Ashrak

  • Not Banned
  • 210
    • Imagination Designs
Movie file playing code in FS2!
umm even i can say COOOOOOOL
I hate My signature!

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Movie file playing code in FS2!
;7:eek::yes::eek2::yes:
-C

 

Offline RandomTiger

  • Senior Member
  • 211
Movie file playing code in FS2!
Progress report:

Got user skipping in.
But still got trouble with the scaling and switching.
Got some ideas but might take some time to try and if they dont work out I might be a bit stuck.

Also I might be looking for testers soon. Need people with different OS's (mainly 98) and different graphics cards.

 

Offline AqueousShadow

  • Devil
  • 28
  • Imperial Highway
Movie file playing code in FS2!
WOW :eek: :eek2: Well now, all we need is to patch this thing up and get some people who can actually make movies!! Yay! And of course, we can totally CRUSH the stupid movies that Interplay made. I mean, they didn't even follow the correct information provided in the games. haha I wonder if there's a simple way for all of us to make our own high-quality movies. lolz :rolleyes:

 

Offline RandomTiger

  • Senior Member
  • 211
Movie file playing code in FS2!
OK, calm down there. I have issues to resolve.
And there could be many intergration problems and unforseen bugs.

The mix of DX5 and 8 is a bit of a worry.
But this is clearly the best way to try because it works with multiple codecs and not just one.

Anyone who wants to help me get this done should send me an e-mail (with OS and Graphics card and memory details) and offer to test it for me.

 

Offline Rictor

  • Murdered by Brazilian Psychopath
  • 29
Movie file playing code in FS2!
testers eh

;7 ;7

 

Offline Thor

  • Captain of the GTD Sparta
  • 29
Movie file playing code in FS2!
What would be involved in testing?
I can't believe my profile is still active... member since  July 25, 2002

 
Not much, say your firstborn computer?:eek:

Seriously all I have to say is YES! :D :D :D
Finally, now we can make intros to all the mods the way it should be! (Trembling with .... Antici...... pation!)
"and so it begins"...
Don't think of it as being outnumbered. Think of it as having a wide target selection !

ICQ#: 5256653
[email protected]

Projects: Gundam TC, Trek BTFF, REF, and Beyond Redemption
http://photo.starblvd.net/Star_Dragon

 
Movie file playing code in FS2!
I'm guessing you implemented DirectShow?

 

Offline RandomTiger

  • Senior Member
  • 211
Movie file playing code in FS2!
Yep, looks like the easiest way to do it.

EDIT: Has anyone else tryed it that way before?

Doh, divx works but wont go fullscreen!
« Last Edit: August 16, 2002, 04:17:26 am by 848 »

 
Movie file playing code in FS2!
To counter the opening in another window problem, it should be possible to bind the video window to the Freespace window.

 

Offline RandomTiger

  • Senior Member
  • 211
Movie file playing code in FS2!
How do you 'bind'?

Would you like to see a copy of the code?

 

Offline Inquisitor

Movie file playing code in FS2!
Using directshow, eh?

Yes, lets see the code, we'll probably have to put some conditionals in there to preserve the (currently stalled) linux build.

Post the code, then lets go ahead and get it into CVS.
No signature.