game intro:movie-support without the need to install a codec

Advanced game related topics
SofT MANiAC
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Sep 17, 2007 10:28 am
Location: P.O.P
Contact:

game intro:movie-support without the need to install a codec

Post by SofT MANiAC »

Subj - What do you think about?

Our Product is commercial - It is possible to use only freeware technologies...

MPEG-1? ... ?
POiNT.OF.PRESENCE group
inc.
Enthusiast
Enthusiast
Posts: 406
Joined: Thu May 06, 2004 4:28 pm
Location: Cologne/GER

Post by inc. »

You can use every codec wich comes installed per default in the given operating system. In Windows WMV for instance or something similair.
But more recent codec technologies do need higher CPU capacities, so keep this in mind if you do think about intro movie sizes like 640x480 or so.
Check out OOP support for PB here!
SofT MANiAC
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Sep 17, 2007 10:28 am
Location: P.O.P
Contact:

Post by SofT MANiAC »

inc. wrote:You can use every codec wich comes installed per default in the given operating system. In Windows WMV for instance or something similair.
What about license? :)
WMV not royalty-free... IMHO
POiNT.OF.PRESENCE group
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

you don't need to ship the codec with your product, it's shipped with XP.
just use it encoding your video, it will be on the destination machine when playing the video, because it's included with XP.

....and there are other ways.
e.g. "Silent Hunter II" asked for installing QuickTime to play the Intro video...
oh... and have a nice day.
Violet
Enthusiast
Enthusiast
Posts: 106
Joined: Sun Dec 23, 2007 6:30 pm

Post by Violet »

...with X² - The Thread Windows Media Runtime Enviroment is shipped. So I think there should be redistributable Version... But that is not what you wanted I think ^^"

AVI is also a codec that is supported from the beginning. Depends on which platform you want do the software. Windows -> WMV, what else?
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

AVI is no codec but a container.... ;)
oh... and have a nice day.
SofT MANiAC
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Sep 17, 2007 10:28 am
Location: P.O.P
Contact:

Post by SofT MANiAC »

Kaeru Gaman wrote:AVI is no codec but a container.... ;)
Yep :)

Ok, I'll try WMV...

Tnx to all!
POiNT.OF.PRESENCE group
THCM
Enthusiast
Enthusiast
Posts: 276
Joined: Fri Apr 25, 2003 5:06 pm
Location: Gummersbach - Germany
Contact:

Post by THCM »

Have a look here: http://www.radgametools.com/

Bink Video! creates excuteable videos with nice quality and you can display them with RunProgram. If you don't mind a small commercial at the end of the movie, bink is free.
The Human Code Machine / Masters' Design Group
SofT MANiAC
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Sep 17, 2007 10:28 am
Location: P.O.P
Contact:

Post by SofT MANiAC »

THCM wrote:Have a look here: http://www.radgametools.com/

Bink Video! creates excuteable videos with nice quality and you can display them with RunProgram. If you don't mind a small commercial at the end of the movie, bink is free.
I came there... I searching for real free ideas
POiNT.OF.PRESENCE group
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

Ogg Theora http://www.theora.org/

Free, open source, no license, no patent issue, commercial use etc allowed.
SofT MANiAC
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Sep 17, 2007 10:28 am
Location: P.O.P
Contact:

Post by SofT MANiAC »

Rescator wrote:Ogg Theora http://www.theora.org/
it's good solve... but how to use it for PureBasic? without the need to install a codec
POiNT.OF.PRESENCE group
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

A dll maybe or similar?
If for some reason you do not want a dll floating around but a single exe I guess you could binary include it, save it out to the user's temp folder and load it from there.

But if the app is going to be installed on a system anyway then I see no issue with a dll along with the exe file.

If you are lucky there might be some windows builds of Ogg Theora already.
SofT MANiAC
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Sep 17, 2007 10:28 am
Location: P.O.P
Contact:

Post by SofT MANiAC »

Rescator wrote:A dll maybe or similar?
If for some reason you do not want a dll floating around but a single exe I guess you could binary include it, save it out to the user's temp folder and load it from there.

But if the app is going to be installed on a system anyway then I see no issue with a dll along with the exe file.

If you are lucky there might be some windows builds of Ogg Theora already.
I will try to use the libtheora.dll...
POiNT.OF.PRESENCE group
SofT MANiAC
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Sep 17, 2007 10:28 am
Location: P.O.P
Contact:

Post by SofT MANiAC »

dark wood :D

it's really hard task
POiNT.OF.PRESENCE group
User avatar
yoxola
Enthusiast
Enthusiast
Posts: 389
Joined: Sat Feb 25, 2006 4:23 pm

Post by yoxola »

WMV's license looks vague, however as I know many Japanese Windows games using it without additional cost, despite the WMV codec runtime requirement, it's the only easy/high-quality solution.

As to Theora, I don't know how to efficiently converting YUV to PB's RGBA (I know some code, but mostly patented).....
This field was left intentionally as signature.
Post Reply