Skip to main content
GameDev.net gamedev.net
🔒 Locked

File Format help

Started by JCBrockway Dec 24, 2001 at 1:47 PM 3 replies 300+ views
Original Post
JCBrockway
JCBrockway
I am currently working on writing the Movie Player/Manager for my game and I want to parse the file (none of the video players I have found, have what I need for the right price) and I haven''t been able to find any good resources for the mpeg-4 file format. I am new to video and I all I really need is a simple spec stating which byte(s) of the file are which values for rendering (I dont even care about most of the file, all I need is a play command, and a go to the end). Any help would be great, thx.
JCBrockway
JCBrockway
1 more thing... I am not really locked down to the mpeg-4 format, I just was reading that it is the best quality, any opinions about a better format and I''m all ears. thx again
S1CA
S1CA
quote:

(none of the video players I have found, have what I need for the right price)



How about DirectShow ?

It supports MPEG4 (and 2, 3, WMA etc).

And it doesn''t cost anything whatsoever to use.


--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site
JCBrockway
JCBrockway
DirectShow is Microsoft only isn''t it? If it isn''t that would be awesome, but from what I understand its only Windows, and I need cross platform.
S1CA
S1CA
Ah right, yep, DirectShow is Windows only and uses the codecs from media player...

...MPEG4 might not be so suitable then, depending of course how cross platform you want it (i.e. Linux<->Windows ? Mac<->Windows<->Linux, NGC<->PS2<->Xbox etc).

The other problem with using that codec could be licensing - of either the playback codec or a per file encoding royalty. (In DShow MS have paid the royalty/codec license on your behalf provided you only use that code in Windows).


MPEG2 has more widely available players for many more platforms.

You''ll find links to players for most platforms and licensing info for most forms of MPEG at the http://www.mpeg.org site.


One widely used commercial solution is Bink from RAD Game Tools (http://www.radgametools.com/) - its on a few platforms, and they''re quite flexible if you wanted it porting to other platforms.


--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.