playing a video as a sprite

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
User avatar
Mycroft
Posts: 5
Joined: Fri Feb 18, 2005 2:46 am

playing a video as a sprite

Post by Mycroft »

G'Day
I have purchased G-Force and see that it will play a video
if placed in the sprites directory or the "use external directory" link is
used

When I try to play a avi or mpg I get an error message

What codec must the video be for G-force to play it?

Thank you

m

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

Unless I'm mistaken, G-Force can play only files with the .mov tag.

It may be, though, that running some of your incompatible files through something like DivX may help.

Then again, I'm not 1000% knowledgable in this regard.
"God is syntax."

User avatar
Mycroft
Posts: 5
Joined: Fri Feb 18, 2005 2:46 am

Post by Mycroft »

Gottit
when I moved the sprite directory somewhere else to test video
I created a new directory and did not put a "default.txt" file in the
new directory

Mov video files seem to be the one although mpgs will play but cause onload
hangs and crashes
I have not got an avi to play at all

Next is to get the video to play full screen
At the moment the video is playing in a small square in the middle

I will continue experimenting

m

User avatar
Mycroft
Posts: 5
Joined: Fri Feb 18, 2005 2:46 am

Video plays in the center and small

Post by Mycroft »

Video plays in the center and small, need to know how to
set it up to fill the screen

Thank you


m

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

Does your system allow you to reset the dimensions of the video in question?
If so, then you'll most likely need to refit to the current resolution you have when G-F is running.
"God is syntax."

User avatar
Mycroft
Posts: 5
Joined: Fri Feb 18, 2005 2:46 am

Post by Mycroft »

JayPro wrote:Does your system allow you to reset the dimensions of the video in question?
If so, then you'll most likely need to refit to the current resolution you have when G-F is running.
The video is, lets say, 352x288
I can make it any size when playing it in a media player such as zoom
or vlc but this won't affect the size when G-force is running it as a sprite

Unless you are sugesting recoding it to a different size such as 706x485?
In that case what size do you suggest?

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

Well since the M key is used in the standalone to switch resolution when GF is running full-screen, you should get an idea of the allowable sizes available to you. Then you can (hopefully) resize your vid/clip to match.

But when in it's windowed mode, I'm honestly not quite sure what to do.


Hope this helps.
"God is syntax."

User avatar
andy55
Site Admin
Posts: 570
Joined: Sat May 01, 2004 4:38 pm
Contact:

Post by andy55 »

Mycroft wrote:
JayPro wrote:Does your system allow you to reset the dimensions of the video in question?
If so, then you'll most likely need to refit to the current resolution you have when G-F is running.
The video is, lets say, 352x288
I can make it any size when playing it in a media player such as zoom
or vlc but this won't affect the size when G-force is running it as a sprite

Unless you are sugesting recoding it to a different size such as 706x485?
In that case what size do you suggest?
Video auto-sizing is currently not present in G-Force athough we plan to add this in the future. I've added it to our feature enhancement db for tracking.

Thanks,
Andy

brightblack
Posts: 34
Joined: Wed Sep 08, 2004 12:47 am
Location: Tokyo, Japan

Quicktime

Post by brightblack »

One thing that always helped me was using video Quicktime natively supports on the codec level, and having Quicktime installed (if using Windows). FWIW.
GForce 3.6.2 on a
Core Duo Intel 2GHz MacBook // Core Duo Intel MacMini 1.83GHz

Athlon64 3700+ Windows XP / NV 6800GS

not on:
Athlon XP2500+ Zenwalk Linux 4.2 / NV GF2 MX400

Post Reply