|
Playing AVI files
#8437
03/05/02 12:58
03/05/02 12:58
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
I have the commercial version of 3DGS. We are trying to play a AVI as an opening sequence after the A5 logo. I have not been able to see how to set this up from the docs (just may not be digging deep enough, don't know). What do you use to set this up? Any example code anyplace? What if I want to play an AVI after a level is completed? How do you play or execute it?
Thanks
|
|
|
Re: Playing AVI files
#8438
03/05/02 13:37
03/05/02 13:37
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
if you have the commerical version go to http://www.xeroxa.comgo to downloads click on movie player picture the code is there, along with all the files you need, avi will not work with the trail version A5.
|
|
|
Re: Playing AVI files
#8439
03/05/02 23:49
03/05/02 23:49
|
Joined: Jul 2000
Posts: 1,570 Windsor, CT 06095
WildCat
Expert
|
Expert
Joined: Jul 2000
Posts: 1,570
Windsor, CT 06095
|
Also, AVI's in 3DGS react differently on different machines. (or at least did, back when I attempted them back in Version 5.05)
I had an avi file that I could view outside of 3DGS using realplayer on two different machines.
When 3DGS ran on one machine, the Avi played and worked fine, and on the other machine, the AVI did not work at all. (It seemed to ignore the AVI altogether)
I had heard that the only way to gaurentee that an AVI will be viewable on all machines from 3DGS is to make sure there is NO compression. Otherwise, it was a crap shoot as to what video codecs 3DGS could find on your machine.
I hope that's not the case anymore, but before you go to far, try your AVI code on a couple different machines, just to be safe.
- WildCat
Visit us at [url=http://www.vertexgames.com]Vertex Games[/url]!
|
|
|
Re: Playing AVI files
#8440
03/06/02 04:57
03/06/02 04:57
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
The other possibility is that you deliever the codec you used along with your game. The codec has to be a free one for this of course.
|
|
|
Re: Playing AVI files
#8441
03/06/02 05:31
03/06/02 05:31
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
AVI files are just containers with no default compression scheme (as opposed to MPEGs). Thus you always have to specify the compression to be used and make sure that the corresponding CODEC is available on the target machine. Some CODECs ar preinstalled by Windows, such as uncompressed bitmaps, RLE, Video1, etc. But they are usually not a good choice. Indeo 5 is something worth looking into.
|
|
|
Re: Playing AVI files
#8442
03/07/02 00:26
03/07/02 00:26
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
I don't understand why a outside program would have to be used... I thought the point of the commercial version was that it would play AVI's on it's own? quote: Originally posted by whisper: if you have the commerical version go to http://www.xeroxa.com go to downloads click on movie player picture the code is there, along with all the files you need, avi will not work with the trail version A5.
|
|
|
Re: Playing AVI files
#8443
03/07/02 01:17
03/07/02 01:17
|
Joined: Jul 2000
Posts: 1,570 Windsor, CT 06095
WildCat
Expert
|
Expert
Joined: Jul 2000
Posts: 1,570
Windsor, CT 06095
|
Marco,
How do we include a new codec? Lets say I wish to include AVI's with the INDEO 5 compression, as you suggest... is this something as easy as including an additional file in the path of my game, or does this require a user to go through a separte windows type of installation?
More details, Please!
- WildCat
Visit us at [url=http://www.vertexgames.com]Vertex Games[/url]!
|
|
|
Re: Playing AVI files
#8444
03/07/02 03:11
03/07/02 03:11
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
the purpose of a stand alone player is to play avi movie in a small screen at the beginning of your game,after you publish so when you copy your game to cd, it will play in small screen instead of default A5 full screen, no you don't have to have the stand alone player. a present as far as i know A5 commerical version doesn't need a avi player. play_moviefile (“filename”); Starts a full-screen movie sequence (some editions only). Filename is an AVI animation file. It can™t be played from within a resource file, but must exist as an external file, so the filename should be given in double qotes instead of angular brackets. During movie play the rendering and the entity actions will be suspended. The predefined variable movie_frame will contain the number of the frame currently displayed, or 0 if the movie has come to an end.
[QUOTE]Originally posted by dsullinger: [QB]I don't understand why a outside program would have to be used... I thought the point of the commercial version was that it would play AVI's on it's own?
|
|
|
Re: Playing AVI files
#8445
03/07/02 05:29
03/07/02 05:29
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
quote: How do we include a new codec? Lets say I wish to include AVI's with the INDEO 5 compression, as you suggest... is this something as easy as including an additional file in the path of my game, or does this require a user to go through a separte windows type of installation?
Codecs need to be copied to the hard drive and registered with the registry. I don't have the details on this (i.e. Regkeys/values) available. For the Indeo compression you should take a look at their (Ligos Inc.) current licensing agreement to see if you are allowed to redistribute their installer package. If you don't want to install any additional codecs, do a clean Windows install and check for available default Codecs. Some other commercial/semi-commercial products are: Cinepak and DivX.
|
|
|
Re: Playing AVI files
#8446
03/15/02 03:10
03/15/02 03:10
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
Sorry to dredge up an older topic, but this really caught my eye!
Is there a way to work around the codec problem? How about alternative file formats? Would an mpeg work with A5... and then, would it work on a non windows OS?
I think there are enough of us out here who wish to do "professional" presentations like this that we need to look into how this can be done consistently and effectively.
Incidentally... if you want to use the engine for your "cutscenes", you can script the events in manually, but I think it would be better to go the avi/mpeg route. This would allow high quality cutscenes to be produced with such apps as Animation Master, Maya, TruSpace, 3D Studio Max, etc.
We need to find an answer here... this could be a rather large void in A5!
|
|
|
|