Thema: Delphi Bink Player

Einzelnen Beitrag anzeigen

Benutzerbild von lbccaleb
lbccaleb

Registriert seit: 25. Mai 2006
Ort: Rostock / Bremen
2.037 Beiträge
 
Delphi 7 Enterprise
 
#2

AW: Bink Player

  Alt 5. Sep 2011, 17:37
Hast du mal dezent den Einleitungstext von der *.pas gelöscht?

Der da währe:

Zitat:
{-------------------------------------------------------------------------------

BINK 1.0q LIBRARY HEADER FOR DELPHI
- By Lars Peter Christiansen.

http://home1.stofanet.dk/nitezhifter

PLEASE READ THIS :
"Bink" is a video library from RAD Tools. You have to be licensed in order
to use bink commercially.
Visit RADTools for legal info : www.smacker.com


This file is a hack !
Alot of record fields are still incomplete.
Not all functions exists!
I don't have the Bink SDK, and regardless of hours of search on the net, i
haven't found any info/extracts of the SDK. All i had to go on, was the tiny
info on RADTools website. Here is a list of approaches i used :
- Reading any written info of the Bink (sdk overview, changelogs)
- Reading any info of the Smacker (they might have things in common)
- Disassembling of the Binkw32.dll (names, parameters)
- Disassembling and debugging of games using the lib. ( Diablo2 )
- Creating various testing programs.(automating bitflags and stuff)


Binkw32.dll versions:
There are difference in function names and existence between the different
library versions. They are not always backwards-compatible!


DON'T RELEASE ANYTHING USING THIS FILE BEFORE YOU'VE READ AND UNDERSTOOD
THE LEGAL INFO AT www.smacker.com !


02-08-2000:
First version of the binkw32.pas.
We can open and display a binkfile. Can't get the audio to work though!

22-10-2001:
Did some research of the different versions of binkw32.dll. Seems that i've
been working on some beta version, which caused the switch of colors on
movies compiled at later dates. Movies play nicely now and works great with
a standard windows bitmap.

23-10-2001:
After some heavy analysis, the surfacetype constants fell into place. Still
not sure about 8bit. Is it supported at all?
After some _serious_ disassembling of Diablo2 and Red alert2 i finally solved
the great puzzle of the sound system. Those callbacks really bugged me.
Still can't create a custom sound system.

24-10-2001:
After a bit RedAlert2 debugging, support for playing off a stream
with offset has beed added.
Added a GetBinkVersion() function.


-------------------------------------------------------------------------------}
Intressant ist das:
Zitat:
"Bink" is a video library from RAD Tools. You have to be licensed in order
to use bink commercially.
Visit RADTools for legal info : www.smacker.com


This file is a hack !
Alot of record fields are still incomplete.
Not all functions exists!
I don't have the Bink SDK, and regardless of hours of search on the net, i
haven't found any info/extracts of the SDK.
Der Grund dafür, steht auf der Seite der Firma!

Zitat:
The best way to learn about Bink is to just try it! Download the RAD Video Tools to compress files into Bink format. Email us to get an evaluation SDK.
Sprich, das was du da gerade machst, ist illegal! Genauso, wie der hier gepostete Code
Martin
MFG Caleb
TheSmallOne (MediaPlayer)
Die Dinge werden berechenbar, wenn man die Natur einer Sache durchschaut hat (Blade)
  Mit Zitat antworten Zitat