🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TMediaPlayer Question - How to play MPEG

#1229
From: Michael Crapo
Date: Thu, 02 Aug 2001 13:33
83 lines
3353 bytes
Hello John

	Actually it will play mpeg files.  The problems I overcame
were these.  One the file name has to be set to .mpg or .mpeg.
TMediaPlayer uses filename extensions to determine what type it is.
Next I needed to trim off all excess information from the filename I
got back from the Open File Dialog.  Last I had problems running it in
the IDE.  I could only get it to run from a compiled application.

	If you still cannot get it to run, drop me an Email at
mjcrapo@home.com and I will be glad to Email you a sample that I got
to work.

Mike


On Wed, 1 Aug 2001 19:40:52 +0100, "John Blackburn"
<john.blackburn@lintonhealy.co.uk> wrote:

>no I cant as this will only play AVI files not MPEG encoded streams sadly :(
>
>Thanx neway
>
>John
>
>"html" <leonnbm@hotmail.com> wrote in message news:3b675621_2@dnews...
>> Hello,
>>
>> I think you can use Tmediaplay component.What ever your mediaplayer can
>play
>> this component can also.
>>
>>
>>
>> John Blackburn <john.blackburn@lintonhealy.co.uk> wrote in message
>> news:3b63354e_1@dnews...
>> > Hello Michael,
>> >
>> >     Saw your posting on playing MPEG-1 video files but you didn't go
>into
>> > how it is actually done.
>> > Can you help me - what components to use and where you got them from and
>> how
>> > they are used
>> > - do you have a little code sample ?
>> >
>> > I would be most grateful
>> >
>> >
>> > John Blackburn
>> >
>> >
>> > "Michael Crapo" <mcrapo@tng-ida.com> wrote in message
>> > news:3b3ca58a.6431538@newsgroups.borland.com...
>> > > OK - I figured it out.....   Just had some garbage on the filename.
>> > > Ran it through Trim() and it works great.
>> > >
>> > > Mike
>> > >
>> > > On Fri, 29 Jun 2001 14:29:32 GMT, mcrapo@tng-ida.com (Michael Crapo)
>> > > wrote:
>> > >
>> > > >Hello.
>> > > >
>> > > > I was wondering how to get the mediaplayer control to play
>> > > >Mpeg files.  I was able to get one application to work playing the
>> > > >files, but all other attempts have failed.  I can not reporduce it in
>> > > >another application.  Everytime I try this error comes up. "Cannot
>> > > >determain the device type from the given filename extension."  The
>> > > >device type is set to dtAutoSelect in both applications.  Can someone
>> > > >please help me.
>> > > >
>> > > >
>> > > >Thanks
>> > > >
>> > > >Mike
>> > >
>> >
>> >
>>
>>
>
>
Technical Details
Message-ID: <3b6955a2.1350471@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b3c9037.972027@newsgroups.borland.com> <3b3ca58a.6431538@newsgroups.borland.com> <3b63354e_1@dnews> <3b675621_2@dnews> <3b68502a_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,4453f98645eebc0
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2001-08-02 06:42:13 PST
From: mcrapo@tng-ida.com (Michael Crapo)
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Re: TMediaPlayer Question - How to play MPEG
Date: Thu, 02 Aug 2001 13:33:36 GMT
Message-ID: <3b6955a2.1350471@newsgroups.borland.com>
References: <3b3c9037.972027@newsgroups.borland.com> <3b3ca58a.6431538@newsgroups.borland.com> <3b63354e_1@dnews> <3b675621_2@dnews> <3b68502a_1@dnews>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 207.170.242.1
X-Trace: dnews 996759313 207.170.242.1 (2 Aug 2001 06:35:13 -0700)
Lines: 84
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews