[SOLVED]What is the best format...

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
MadPumpkin
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 484
Joined: Fri Feb 13, 2009 4:48 pm
Current Project: Octopia
Favorite Gaming Platforms: PS1-3, Genesis, Dreamcast, SNES, PC
Programming Language of Choice: C/++,Java,Py,LUA,XML
Location: C:\\United States of America\Utah\West Valley City\Neighborhood\House\Computer Desk

[SOLVED]What is the best format...

Post by MadPumpkin »

I need to know what the best format is, for audio, video, image and 3D for a game. By best format I'm referring to being efficient quality AND compression, so maybe mostly lossless? I just ripped the entire audio from Altered Beast and am now actually attempting to rip images through recording and piecing. The 3D is just for future reference. Honestly I don't care if it has basically no compression, right now I just want the highest quality of these, and then maybe one that's reasonable compression as well. Thank you!

What I like right now is:
Video: .AVI
Audio: .OGG
Image: .TIF/.PNG

Feel free to second that motion?
Last edited by MadPumpkin on Fri Dec 24, 2010 6:14 pm, edited 1 time in total.
While Jesus equipped with angels, the Devil's equipped with cops
For God so loved the world that he blessed the thugs with rock
Image
Image
Image
User avatar
cypher1554R
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1124
Joined: Sun Jun 22, 2008 5:06 pm

Re: What is the best format...

Post by cypher1554R »

Depends for what you need it.
If I wanted to have music,.ogg would be ok, if I wanted to do audio fx, I would go with .wav.

Video format for game?
You mean like.. having video rendered to a texture surface or something like that.? I don't think that that's how it's done. Video formats usually hold audio data as well.. I mean, like I said. depends for what you need it.

You know what.. on second thought.. I don't think I understood the question :P
User avatar
MadPumpkin
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 484
Joined: Fri Feb 13, 2009 4:48 pm
Current Project: Octopia
Favorite Gaming Platforms: PS1-3, Genesis, Dreamcast, SNES, PC
Programming Language of Choice: C/++,Java,Py,LUA,XML
Location: C:\\United States of America\Utah\West Valley City\Neighborhood\House\Computer Desk

Re: What is the best format...

Post by MadPumpkin »

Alright thanks for the sound help! With the video I was referring to recording games, and retaining quality :P sorry for not explaining that one better >.<
While Jesus equipped with angels, the Devil's equipped with cops
For God so loved the world that he blessed the thugs with rock
Image
Image
Image
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: What is the best format...

Post by GroundUpEngine »

Sounds about right to me ;)

Video: .AVI (i recall an OpenGL demo with .AVI)
Audio: .OGG, .WAV (sound fx)
Image: .PNG (alpha blending), .JPG
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: What is the best format...

Post by dandymcgee »

GroundUpEngine wrote:.JPG
Only if you use a lossless format.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
MadPumpkin
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 484
Joined: Fri Feb 13, 2009 4:48 pm
Current Project: Octopia
Favorite Gaming Platforms: PS1-3, Genesis, Dreamcast, SNES, PC
Programming Language of Choice: C/++,Java,Py,LUA,XML
Location: C:\\United States of America\Utah\West Valley City\Neighborhood\House\Computer Desk

Re: What is the best format...

Post by MadPumpkin »

Alright cool, well thanks everyone :P
While Jesus equipped with angels, the Devil's equipped with cops
For God so loved the world that he blessed the thugs with rock
Image
Image
Image
User avatar
wtetzner
Chaos Rift Regular
Chaos Rift Regular
Posts: 159
Joined: Wed Feb 18, 2009 6:43 pm
Current Project: waterbear, GBA game + editor
Favorite Gaming Platforms: Game Boy Advance
Programming Language of Choice: OCaml
Location: TX
Contact:

Re: [SOLVED]What is the best format...

Post by wtetzner »

MadPumpkin wrote:I need to know what the best format is, for audio, video, image and 3D for a game. By best format I'm referring to being efficient quality AND compression, so maybe mostly lossless? I just ripped the entire audio from Altered Beast and am now actually attempting to rip images through recording and piecing. The 3D is just for future reference. Honestly I don't care if it has basically no compression, right now I just want the highest quality of these, and then maybe one that's reasonable compression as well. Thank you!

What I like right now is:
Video: .AVI
Audio: .OGG
Image: .TIF/.PNG

Feel free to second that motion?
AVI and OGG are container formats, not codecs. Therefore, they are mostly unrelated to quality.

I assume with Ogg you mean Vorbis?

AVI can contain audio/video data using almost any codecs.
For example, you can use H.264 in an AVI container or an MP4 container.

I would say PNG is good for images and Ogg Vorbis should be good for audio. For video, H.264 gives good perceived quality/compression, although you might want to go with Theora, which (at least as far as anyone knows) is patent free. Theora is also typically used with the Ogg container format.
The novice realizes that the difference between code and data is trivial. The expert realizes that all code is data. And the true master realizes that all data is code.
Post Reply