🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #921

TMediaPlayer and dtAVIVideo

#921
From: Dave Mikesell
Date: Sat, 22 Jun 2002 12:19
24 lines
1961 bytes
I've read the online docs and various threads on this topic, but still
can't get a simple example working with a media player and an avi file
(both compressed and uncompressed).  I'm using CPP Builder 6 Personal,
and here is what I have tried:

- Create new app
- Add TPanel to main form
    - set Caption to nothing
- Add TMediaPlayer to main form
    - set DeviceType to dtAVIVideo (tried dtDigitalVideo too)
    - set Display to Panel1
    - set AutoOpen to true
    - set FileName to my .avi file

When I run the app and press the play button, nothing happens and
the TMediaPlayer->Error is set to 274 (The MCI device you are
using does not support the specified command).  I've got the latest
CPP Builder and Windows XP patches.  This sounds like a
configuration issue, no?

FWIW, TAnimate works fine with the uncompressed AVI file.  I want to use
TMediaPlayer,
however, so that I can use a compressed AVI.   Thanks for any help you may
be able to offer.
Technical Details
Message-ID: <af1q1f$askot$1@ID-137404.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!supernews.com!yellow.newsread.com!netaxs.com!newsread.com!netnews.com!fr.clara.net!heighliner.fr.clara.net!213.73.101.75.MISMATCH!eusc.inter.net!fu-berlin.de!uni-berlin.de!cov-oh19-238.rasserver.NET!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,f0822fbadf79ba4e,start
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2002-06-22 05:24:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!supernews.com!yellow.newsread.com!netaxs.com!newsread.com!netnews.com!fr.clara.net!heighliner.fr.clara.net!213.73.101.75.MISMATCH!eusc.inter.net!fu-berlin.de!uni-berlin.de!cov-oh19-238.rasserver.NET!not-for-mail
From: "Dave Mikesell" <d.mikesell@computer.org>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: TMediaPlayer and dtAVIVideo
Date: Sat, 22 Jun 2002 08:19:51 -0400
Lines: 26
Message-ID: <af1q1f$askot$1@ID-137404.news.dfncis.de>
NNTP-Posting-Host: cov-oh19-238.rasserver.net (199.35.219.238)
X-Trace: fu-berlin.de 1024748400 11424541 199.35.219.238 (16 [137404])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000