🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TMediaPlayer and dtAVIVideo

#796
From: Dave Mikesell
Date: Thu, 15 Aug 2002 13:36
24 lines
1905 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 uncompressed and jpeg compressed).  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: <3D5BAE42.664EF1D7@computer.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!134.243.19.22!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,53ff197c898fe757,start
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2002-08-15 06:38:53 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!134.243.19.22!not-for-mail
From: Dave Mikesell <d.mikesell@computer.org>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: TMediaPlayer and dtAVIVideo
Date: Thu, 15 Aug 2002 09:36:02 -0400
Lines: 24
Message-ID: <3D5BAE42.664EF1D7@computer.org>
NNTP-Posting-Host: 134.243.19.22
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: fu-berlin.de 1029418563 44587828 134.243.19.22 (16 [137404])
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en