PDA

View Full Version : Video library-for any language.



Voltrox
24-11-2006, 08:07 PM
Could someone please recommend a video library?

Regardless of language, as long as it's good and not too complicated.

Thank you.

JernejL
24-11-2006, 09:20 PM
video? for video playback or 3d graphics?

for first: dspack, for second: opengl.

Voltrox
25-11-2006, 02:39 AM
Video Playback.

I already tried DSPack and it didn't work.

WILL
25-11-2006, 03:08 AM
Didn't you already have a thread about this?

Voltrox
25-11-2006, 04:11 AM
Yes,

But I don't see it anymore.

JernejL
25-11-2006, 11:05 AM
Tried this?
http://www.pascalgamedevelopment.com/search.php?search_author=Voltrox

here it is:
http://www.pascalgamedevelopment.com/viewtopic.php?p=26671&highlight=#26671

dude, just tell us what is wrong with dspack, and well try to tell you how to make it work, dspack works i tell you..

Voltrox
25-11-2006, 09:04 PM
For the package without design:

First error on load: Could not find resource file "DSPACK_D7.res. Recreated".

Then when I tried to compile it and got these errors:

[Pascal Error] DirectDraw.pas(359): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(366): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(376): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(383): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(395): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(835): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(837): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Fatal Error] DirectX9_D7.dpk(43): F2063 Could not compile used unit '..\src\DirectX9\DirectDraw.pas'

So I tried the DSPack_Design_D7 one and:

First error on load: "DSPACK_Design_D7.res not found. Recreated."

Then when I tried to compile it I got these errors:

[Pascal Error] DirectDraw.pas(359): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(366): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(376): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(383): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(395): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(835): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Error] DirectDraw.pas(837): E2154 Type 'IDirectDrawSurface' needs finalization - not allowed in variant record
[Pascal Fatal Error] DirectX9_D7.dpk(43): F2063 Could not compile used unit '..\src\DirectX9\DirectDraw.pas'

Could someone please help me fix this or find a video library?

Thanks.

JernejL
25-11-2006, 10:35 PM
which delphi are you using?

Voltrox
26-11-2006, 06:19 PM
Borland Developer Studio 2006.

savage
26-11-2006, 11:06 PM
What type of movies are you trying to view?

Voltrox
26-11-2006, 11:32 PM
MPEG, AVI, etc.

JeZuS
03-02-2007, 02:39 AM
According to this artical (http://thecoadletter.com/article/0,1410,10365,00.html), the way you were declaring the variable became invalid in D5.

You can change the declaration to a pointer to get around the issue. The artical itself explains why this was done.