The Game Creators
The Game Creators Home Online Shop Click to Login
 
DarkBASIC Professional
Order Online
Hands on DB Pro
International Sites
Brazilian DarkBASIC Professional site Brazil
French DarkBASIC Professional site France
German DarkBASIC Professional site Germany
Italian DarkBASIC Professional site Italy
Japanese DarkBASIC Professional site Japan
Newsletter
Issue 82 is out now
The Game Creators Newsletter
Get our free newsletter
Forums
Join thousands of game developers in our forums and read over 1.4 million messages
Free Software
Download a free version of FPS Creator
Twitter
Keep up to date with all the latest events at The Game Creators
Programming
GBN
Game Creator Store
Get Firefox!
Dark Video

Dark Video is a complete movie encoder and decoder solution, targeted at anyone interested in adding hyper speed movie playback into their game. Built from the ground up to focus on extreme speed and quality, Dark Video opens the gateway for ultra high quality movies but with a very low impact to your game. Designed for ease of use and ease of integration, Dark Video makes adding movie functionality to your game a cinch.

Dark Video
Features
  • Speed. Dark Video is seriously fast. Both the encoder and decoder feature whole portions of code written in hand optimized MMX, SSE and SSE2 assembler.
  • Video quality. Dark Video is designed from the ground up so that quality is of paramount importance. Using Deep Cove Software's proprietary video compression on high or highest, your encoded movies are pretty much indistinguishable from the original source material, looking fantastic.
  • Audio quality. Dark Video leverages the amazing Ogg Vorbis audio compression to offer sound quality almost indistinguishable from the origrinal source material and thus, sounding phenomenal.
  • Stand-alone Encoder. Dark Video not only comprises the decoder but also, an Encoder program, dedicated to getting your movies into the Dark Video format as quickly as possible. Built on top of DirectShow, Dark Video Encoder, with critical parts also hand optimized in assembler, can quickly transcode your AVI (for non-standard formats like x264, the correct filters must be installed; we recommend uncompressed AVIs for maximum encoding speed) into a Dark Video DVF movie, for use in your game. With a responsive preview, you'll be able to see how the transcode is progressing.
  • Stand-alone DLL. All of Dark Video's substantial capability is packed into a single, tiny 300kb DLL. You don't need anything else! You don't need to worry about any required runtimes, libraries or CODECs. With Dark Video, you just ship with its DLL and that's that!
  • Dark Video comes with full documentation and samples so you'll quickly be able to get up and running, whether you use DarkBASIC Professional or Dark GDK.
  • Unencumbered. As Dark Video is a technology owned by Deep Cove Software, you don't have to worry about license, patent or royalty issues. Just encode and ship!
  • Multi-core. Dark Video runs on multiple cores to ensure fastest encoding and decoding.
Dark Video
Requirements

DarkBASIC Professional or Dark GDK is required to use this product. It runs on Windows 2000, XP, Vista and Windows 7 (x86 and x64 variants)

Download Trial

The trial version of Dark video is a time limited version. It contains all of the functionality, demos and documentation.

Download the trial version of Dark Video

Order Now

Dark Video

Dark Video

  $ Dollar € Euros £ Sterling Click to Buy
Price: $49.99 €35.99 £30.99 Click here to buy

Dark Video is distributed electronically.
You must download this product. Download instructions are sent after purchase.
DarkBASIC Professional or Dark GDK is required to use this product.

Special Offer

Take advantage of this special offer and get all of these packs for a low price of $99 giving you a massive 35% discount. Click here for more information.

DarkBASIC Professional Add-on Pack 2009

DarkBASIC Professional Add-on Pack 2009 - Dark Data, Dark Video, Dark Net, Dark Ink, 2D Plugin Kit and the X Quad Editor

  $ Dollar € Euros £ Sterling Click to Buy
Price: $99.99 €67.99 £59.99 Click here to buy

This product is distributed electronically.
You must download this product. Download instructions are sent after purchase.
DarkBASIC Professional 7.4 + is required to use these add-ons.

Sample Code

The following code demonstrates how easy it is to utilise Dark Video in DarkBASIC Professional.


rem Dark Video DarkBASIC Professional sample
rem Based on the 3DVideo sample by The Game Creators
rem Dark Video (C) 2008-2009, Deep Cove Software, Ltd.

rem init
sync on : sync rate 30 : hide mouse

rem switch display mode if available
if check display mode(1024,768,32)=1 then set display mode 1024,768,32

rem set default screen
color backdrop rgb(0,32,32)

rem open our Dark Video movie and get the dimensions
movieId = darkvideo open movie( "sample.dvf" )
movieWidth = darkvideo get movie width( movieId )
movieHeight = darkvideo get movie height( movieId )

rem set the movie volume (between 0-255), no effect of course if there's
rem no audio in the movie.
result = darkvideo set movie volume( movieId, 255 )

rem arbitrary ids we'll use
memBlockId = 32
imageId = 32

rem create a blank 32-bit image of the same dimensions as the Dark Video
rem movie. Dark Video will decode each frame to this image.
make memblock memBlockId, movieWidth * movieHeight * 4 + 12
write memblock dword memBlockId, 0, movieWidth
write memblock dword memBlockId, 4, movieHeight
write memblock dword memBlockId, 8, 32
make image from memblock imageId, memBlockId
delete memblock memBlockId

rem create 3D projection
for p=1 to 3
 make object box p,320,240,10
 scale object p,p*250,p*250,p*250
 if p>1 then ghost object on p,2
 texture object p,imageId
next p
set object light 1,0

rem setup camera
position camera 0,0,-700
rotate camera 0,0,0

rem main loop
begin=1
disable escapekey
while mouseclick()=0 and escapekey()=0

 rem begin movie playback
 if begin=1
 begin=0
 result = darkvideo play movie( movieId, imageId, 1, 0 )
 endif

 rem move projection around
 for p=1 to 3
 a#=wrapvalue(a#+1.0)
 position object p,cos(a#)*20,sin(a#)*10,p*75
 yrotate object p,cos(a#)*20
 zrotate object p,(p-1)*10
 next p

 rem update screen
 sync

rem end loop
endwhile

rem stop and close the Dark Video movie. this isn't required
rem but it's good practice. all movies will be stopped
rem and closed at the end of the program automatically.
result = darkvideo stop movie( movieId )
result = darkvideo close movie( movieId )

Send this page by Email Printer Friendly Page Web Site Assistance



Dark Data
A library that gives one the ability to create a database with keyed filing systems, and resuable direct access records Read >
DarkCLOUDS
Creates a live, real-time sky for your DarkBASIC Professional games Read >
Dark Video
A complete movie encoder and decoder solution Read >
DarkNet
Multiplayer library Read >
Green-Ear
Integrated voice and text chat, voice morphing, private channels and more. Read >
Dark Physics
A complete royalty-free physics engine. Read >
Tree Party
Realistic tree system built for real time game renderings Read >
Dark Source
Source code snippet collection Read >
PureGDK
Dark Basic for Pure Basic Read >
Dark Ink
Brand new print library Read >
2D Kit
Extension new 2D commands. Read >
Enhanced Anims
Comprehensive 3D animation DLL. Read >
Dark Shader
Easy and impressive shader creation. Read >
Dark Lights
Fast light mapping system. Read >
Dark A.I.
Pathfinding, teams and zones. Read >
STYX
ActiveX, Flash, XML and much more. Read >
eXtends
Hundreds of exciting new commands. Read >
Unity
LUA scripting support for your games. Read >
EZ Rotate
Easy object and world rotation. Read >
Enhancement Pack
OGG replay, File Blocks, EAX and more. Read >
Texture Max
One model, infinite variations! Read >
Nuclear Glory
A comprehensive collision system. Read >
Pure Plugin
DLL creation system. Read >
Cloth & Particles
3D Cloth & Particles. Read >
Newsletter 82
Read our free monthly newsletter online

10 year anniversary, DarkBASIC Pro FREE, Lee Bamber Interview & loads more!

Subscribe for free:

DB Pro
GBN
Latest Releases

FPSC Model Pack 36
DB Pro Add-on Pack 2009
FPSC Model Pack 35
FPSC Model Pack 34
Dark Data
FPSC Model Pack 33
FPSC Model Pack 32
FPSC Model Pack 31
DB Pro Upgrade 7.4
DarkCLOUDS
Dark Video
Magic Particles
FPS Creator Bonanza

User Gallery
Who (2)
Delphi
VR-arena2 botmania
VR-arena2:botmania
Who
Inside The Horror
Visit our new screen shot Gallery