Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (fogman, Grant, AndrewAMD, juanex), 989 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: ogg Theora for 3dgs [Re: LarryLaffer] #159248
12/01/07 08:12
12/01/07 08:12
Joined: Aug 2005
Posts: 1,012
germany, dresden
ulf Offline
Serious User
ulf  Offline
Serious User

Joined: Aug 2005
Posts: 1,012
germany, dresden
can you play .ogg directly with the snd_ commands without the need of a filter? i thought whenever you play .ogg in gamestudio you need a filter installed previously.

this is straight from the manual:

For playing .ogg files, an installer for Ogg Vorbis DirectShow filters (oggds0994.exe) is included. Install them by starting the exe. The Ogg Vorbis filter was created by Tobias Waldvogel (http://tobias.everwicked.com ) and can be freely used and distributed for private and commercial purposes.

thanks for clearing this up, if you can play .ogg without a filter with the snd_ commands than this passage is a bit confusing in the manual.

Re: ogg Theora for 3dgs [Re: ulf] #159249
12/01/07 09:31
12/01/07 09:31
Joined: Jul 2004
Posts: 1,205
Greece
LarryLaffer Offline
Serious User
LarryLaffer  Offline
Serious User

Joined: Jul 2004
Posts: 1,205
Greece
Well, the passage is written under media_play, so i guess that's alright. The snd_ functions don't use DirectShow filters but an internal ogg player afaik, so you don't have to install anything. The reason someone would use media_play according to the manual is if you want to stream your files (snd_create loads the whole thing in memory), play other formats than wav and ogg, and play stereo sounds(it does suck that snd_ don't support stereo...)


Cheers,
Aris


INTENSE AI: Use the Best AI around for your games!
Join our Forums now! | Get Intense Pathfinding 3 Free!
Re: ogg Theora for 3dgs [Re: LarryLaffer] #159250
12/01/07 09:39
12/01/07 09:39
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Using OGG with the snd_ commands does not help much. OGG is decompressed and then remains in memory with full uncompressed size (can be several 100s of MB!) Not very useful for background music.

The media_ commands stream music and video...

Re: ogg Theora for 3dgs [Re: LarryLaffer] #159251
12/01/07 19:11
12/01/07 19:11
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline
Member
CBSection31  Offline
Member
C

Joined: Oct 2005
Posts: 131
Quote:

Although, since like you said, Theora is not really ideal, have you considered using Xvid instead?




I've always wished I could use Xvid, but there are two major problems with it:

- There are legal issues with distribution of the codec itself in many countries, including the United States. So, for a commercial game, you can use Xvid to compress your videos, but gamers would have to download and install the codec on their own; you can't include the installer on the CD.

- On many systems, if Divx is installed, then Xvid will not play properly in GameStudio. I've tested this on around a dozen PCs, and about half of them have had this problem. Those computers need to uninstall DivX for Xvid to play properly.

DEMO APP: ogg Theora for 3dgs [Re: CBSection31] #159252
02/08/08 20:13
02/08/08 20:13
Joined: Sep 2002
Posts: 1,604
Deutschland
ChrisB Offline OP
Serious User
ChrisB  Offline OP
Serious User

Joined: Sep 2002
Posts: 1,604
Deutschland
Hi,
finally i had some time to work on this (Damn, i must get rid of this crazy monkey in my room, he really distracts me from work). I've created a simple movie player, so you can test it with your ogg theora videos. Its still very buggy, so please report any problems (though there are no bugs, never, i call them issues )

Download
Usage:
Just copy your ogg theora videos to the same folder as the theoratheatre.exe.
You can convert you videos to theora using Super(c) for example. You can also download 2 sample videos here:
Elephants Dream HiQuality 278mb
Elephants Dream 59mb


Features so far:
- multiple decoding of theora videos
- supports vorbis as sound stream
- pause
- stop
- play
- quit
- mouse cursor (ehm, whatever)
already there but not in this demo:
- vorbis sound in a different file then the video

CAUTION: THIS APPLICATION USES SHADERMODEL 1.4!
(colorspace transformation on the gfxcard is way faster then on the cpu)

uh, i musst stop here, the monkey need some food.

ChrisbB


www.Swollen-Eyeballs.org
ICQ:169213431
#3dgs@quakenet
Re: DEMO APP: ogg Theora for 3dgs [Re: ChrisB] #159253
02/09/08 05:23
02/09/08 05:23
Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
sPlKe Offline
Expert
sPlKe  Offline
Expert

Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
err whats wrong with WMV?

dont get me wrong, its a great plugin, and im really curious about testing it, but till now i am using wmv and was happy with that, so whats wrong with that?

Re: DEMO APP: ogg Theora for 3dgs [Re: sPlKe] #159254
02/09/08 17:11
02/09/08 17:11
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
wmv isnt a good video codec, and shows some stretching, and it's low quality, the interlacing is really bad...

i am interested in this ogg filter, it seems very good, and i'm a fan of ogg encoding, so keep up the good work

Last edited by mpdeveloper_B; 02/09/08 17:12.

- aka Manslayer101
Re: DEMO APP: ogg Theora for 3dgs [Re: ChrisB] #159255
02/09/08 17:18
02/09/08 17:18
Joined: Aug 2002
Posts: 673
Las Cruces, NM
JimFox Offline
User
JimFox  Offline
User

Joined: Aug 2002
Posts: 673
Las Cruces, NM
This is a nice piece of coding.
But I am struggling to understand how this would fit into a game.
If I understand what you are doing, you want to use OGG to play ingame videos, is this right?
Will your app plug into an existing game, or is it now a standalone?
Thanks for clearing this up.
Regards,


Jim
Re: DEMO APP: ogg Theora for 3dgs [Re: JimFox] #159256
02/11/08 01:44
02/11/08 01:44
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
Thanks. Theora was always on my want list along with Speex but that's a different beast all together.

@JimFox: OGG is a container that uses Vorbis for sound (like MP3) and Theora for video. It's just an open video format an requires no licensing. Speex is an audio compression format from the same developers and is specially used for speech. It's high compression with good quality.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Page 2 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1