Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: VFW

  1. #1

    VFW

    Hello,

    Since GLScene won't play videos.

    I'll try Video For Windows, which seems to work, but I have searched and not seen a single Video for windows tutorial or example.

    could someone please help me?
    Nicholas.
    <br />
    <br />Please join: http://holzstukka.proboards81.com

  2. #2

    VFW

    Video For Windows?
    I remember having that in windows 3.x

    Is that even used nowadays?

  3. #3

    VFW

    Yeah, I saw recommendations of it as a Delphi API.

    I think it's still used.

    "vfw.pas"

    But I would greatly appreciate it if someone could help me use video for windows or recommend a Video API/library for Delphi...

    please?

    Thank you.
    Nicholas.
    <br />
    <br />Please join: http://holzstukka.proboards81.com

  4. #4

    VFW

    try DSpack - www.progdigy.com
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  5. #5

    VFW

    Don't use VFW, its obsolete, I couldnt get it to play videos encoded with most common codecs.
    The alternative is use DirectShow to decode the videos, or use some library to do that work for you. Check out that DSPack that delfi recommended.
    www.pascalgameengine.com - Crossplatform 3D game engine

  6. #6

    VFW

    I am using Delphi 2006.

    It said: "Cannot find resource file DSPackDesign_D&.res. Recreated."

    Then when I tried to compile that package, I got the following 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'
    Nicholas.
    <br />
    <br />Please join: http://holzstukka.proboards81.com

  7. #7

    VFW

    I bet that you need to update JEDI.inc file to version that supports Delphi2006.

    Try one from here: http://delphi-dx9sdk.cvs.sourceforge...x9sdk/Headers/
    There are only 10 types of people in this world; those who understand binary and those who don't.

  8. #8

    VFW

    I did, and it gave me the same error when i tried to compile the package again, do I have to remake the package?

    I got 53 errors this time:

    [Pascal Error] Direct3D9.pas(5): E2029 'UNIT' expected but '<' found
    [Pascal Error] Direct3D9.pas(5): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(6): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(7): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(: E2038 Illegal character in input file: '!' (#$21)
    [Pascal Error] Direct3D9.pas(12): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(12): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(12): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(13): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(13): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(13): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(13): E2029 '=' expected but '/' found
    [Pascal Error] Direct3D9.pas(16): E2029 '=' expected but identifier 'language' found
    [Pascal Error] Direct3D9.pas(16): E2029 Expression expected but '<' found
    [Pascal Error] Direct3D9.pas(1: E2029 '..' expected but identifier 'head' found
    [Pascal Error] Direct3D9.pas(19): E2029 Expression expected but '<' found
    [Pascal Warning] Direct3D9.pas(19): W1023 Comparing signed and unsigned types - widened both operands
    [Pascal Error] Direct3D9.pas(20): E2029 Expression expected but '<' found
    [Pascal Error] Direct3D9.pas(20): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(20): E2029 '=' expected but ';' found
    [Pascal Error] Direct3D9.pas(25): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(25): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(30): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(30): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(47): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(47): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(50): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(52): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(52): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(52): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(52): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(52): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(52): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(52): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(60): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(67): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(67): E2038 Illegal character in input file: '?' (#$3F)
    [Pascal Error] Direct3D9.pas(67): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(6: E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(6: E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(70): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(70): E2038 Illegal character in input file: '?' (#$3F)
    [Pascal Error] Direct3D9.pas(70): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(7: E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(7: E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(7: E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(7: E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(79): E2029 Identifier expected but '=' found
    [Pascal Error] Direct3D9.pas(79): E2029 ';' expected but '=' found
    [Pascal Error] Direct3D9.pas(79): E2029 ';' expected but '=' found
    [Pascal Error] Direct3D9.pas(82): E2003 Undeclared identifier: 'select'
    [Pascal Error] Direct3D9.pas(82): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Error] Direct3D9.pas(82): E2038 Illegal character in input file: '"' (#$22)
    [Pascal Fatal Error] Direct3D9.pas(82): E2226 Compilation terminated; too many errors
    Nicholas.
    <br />
    <br />Please join: http://holzstukka.proboards81.com

  9. #9

    VFW

    Have you looked at Direct3D9.pas? Cos error messages you are getting are a bit weird. Especcially if we assume what about 40 first lines in this file are comments, and compiler can't (?) complain about them.

    After changing any INC file - it's recomended to fully rebuild all you projectes referencing that file.
    There are only 10 types of people in this world; those who understand binary and those who don't.

  10. #10

    VFW

    Yeah, Direct3D9 had the most errors i think:
    Nicholas.
    <br />
    <br />Please join: http://holzstukka.proboards81.com

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •