🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.lang.borland.delphi
3 messages
3 total messages Started by INTERFACE Wed, 17 Mar 1999 00:00
Time Problem (Media Player)
#3
Author: INTERFACE
Date: Wed, 17 Mar 1999 00:00
7 lines
1173 bytes
Hi to all programmers,
I'm sure that somebody can help me on this:
I wrote a media player program and I would like to have on the screen
information like time (total, elapsed) or analysis etc, from the playing
file (avi, wav). I know about mci functions but the lenth that is returned
does not mean anything but only if I use it in cdplayer.
Thanks
Re: Time Problem (Media Player)
#4
Author: Anatoly
Date: Mon, 22 Mar 1999 00:00
13 lines
1366 bytes
> Hi to all programmers,
> I'm sure that somebody can help me on this:
> I wrote a media player program and I would like to have on the screen
> information like time (total, elapsed) or analysis etc, from the playing
> file (avi, wav). I know about mci functions but the lenth that is returned
> does not mean anything but only if I use it in cdplayer.
> Thanks

You don't need to use mci functions.
See description of TMediaPlayer,
properties Length and Position.

Anatoly
Re: Time Problem (Media Player)
#5
Author: Antony Giblin
Date: Sun, 04 Apr 1999 00:00
9 lines
1283 bytes
Anatoly,
  its simple to calculate the percentage of the file played and the amount
of time played.
I have created my own basic Media Player and would be willing to give you
the source
code (in Delphi 3) to see how its done.  If so, please let me know.

Best Regards
Antony Giblin.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads