 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Raymond Kennington Guest
|
Posted: Sat Mar 17, 2007 9:51 pm Post subject: How to play MOV video clips using TMediaPlayer? |
|
|
I've installed the latest QuickTime viewer, so I expected the required
drivers to be installed.
Windows Media Player doesn't recognise the file type, but it offers to
try to play it anyway - and presto, it plays.
Delphi 7's TMediaPlayer still does not recognise the file type. Is there
a way to force TMediaPlayer to play a QuickTime .MOV file?
I've tried using DSPack to play a MOV file, and it works to a degree. I
cannot get it to move one frame backward/forward on the development pc.
One the user pc, it always shows the ClipDuration to be zero. Playing
works, but other positioning does not work. This was based on the
PlayWin demo.
For something so common, it should be easy.
Could someone provide me with precise steps how to make it possible to
use Delphi 7 to play MOV files at various speeds, move to beginning and
end, and step forward/backward one frame?
Thanks,
Raymond. |
|
| Back to top |
|
 |
Warrick Wilson Guest
|
Posted: Sun Mar 18, 2007 12:38 am Post subject: Re: How to play MOV video clips using TMediaPlayer? |
|
|
"Raymond Kennington" <raymondwk (AT) dot (DOT) dot.dot.com> wrote in message
news:45fc1951$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I've installed the latest QuickTime viewer, so I expected the required
drivers to be installed.
Windows Media Player doesn't recognise the file type, but it offers to try
to play it anyway - and presto, it plays.
|
Do you have something like Quicktime Alternative also loaded? I've not run
across WMP playing recently produced Quicktime files without some extra
"wedge" like Quicktime Alternative, or the filter that Medialooks.com makes
available. Something to bring Quicktime into the DirectShow world.
| Quote: | Delphi 7's TMediaPlayer still does not recognise the file type. Is there a
way to force TMediaPlayer to play a QuickTime .MOV file?
|
I don't think so...
| Quote: | I've tried using DSPack to play a MOV file, and it works to a degree. I
cannot get it to move one frame backward/forward on the development pc.
One the user pc, it always shows the ClipDuration to be zero. Playing
works, but other positioning does not work. This was based on the PlayWin
demo.
|
This makes me think you've got something special on your dev PC. Did you
install something like the K-Lite Codec Pack on that machine?
| Quote: | For something so common, it should be easy.
|
You and me both wish this, but it ain't...Quicktime is Apple, and Microsoft
isn't, and there's politics, egos and money involved. So there's not much
cooperation and doing things like this ends up being hard.
| Quote: | Could someone provide me with precise steps how to make it possible to use
Delphi 7 to play MOV files at various speeds, move to beginning and end,
and step forward/backward one frame?
|
I'm not sure that this will be possible using Windows Media Player or
DSPack. You might, however, look at embedding the Quicktime ActiveX Control
into a form and dealing with that. I'm doing a variant on that, since I ran
into some stability problems with what I was trying, and I'm only playing
the files at normal speed. There's a book by John Cromie called "QuickTime
for .NET and COM Developers" that shows how to do most of what you ask
(though in VB or C#, but the translation to Delphi wouldn't be too hard). |
|
| Back to top |
|
 |
Raymond Kennington Guest
|
Posted: Sun Mar 18, 2007 6:32 am Post subject: Re: How to play MOV video clips using TMediaPlayer? |
|
|
Warrick Wilson wrote:
| Quote: | "Raymond Kennington" <raymondwk (AT) dot (DOT) dot.dot.com> wrote in message
news:45fc1951$1 (AT) newsgroups (DOT) borland.com...
I've installed the latest QuickTime viewer, so I expected the required
drivers to be installed.
Windows Media Player doesn't recognise the file type, but it offers to try
to play it anyway - and presto, it plays.
Do you have something like Quicktime Alternative also loaded? I've not run
across WMP playing recently produced Quicktime files without some extra
"wedge" like Quicktime Alternative, or the filter that Medialooks.com makes
available. Something to bring Quicktime into the DirectShow world.
|
The .MOV files currently being played were created in 1997.
| Quote: |
Delphi 7's TMediaPlayer still does not recognise the file type. Is there a
way to force TMediaPlayer to play a QuickTime .MOV file?
I don't think so...
I've tried using DSPack to play a MOV file, and it works to a degree. I
cannot get it to move one frame backward/forward on the development pc.
One the user pc, it always shows the ClipDuration to be zero. Playing
works, but other positioning does not work. This was based on the PlayWin
demo.
This makes me think you've got something special on your dev PC. Did you
install something like the K-Lite Codec Pack on that machine?
|
I've installed so many things, like a Panasonic video reader, google
video player, plusdeck2 and realplayer reader, and others.
| Quote: |
For something so common, it should be easy.
You and me both wish this, but it ain't...Quicktime is Apple, and Microsoft
isn't, and there's politics, egos and money involved. So there's not much
cooperation and doing things like this ends up being hard.
Could someone provide me with precise steps how to make it possible to use
Delphi 7 to play MOV files at various speeds, move to beginning and end,
and step forward/backward one frame?
I'm not sure that this will be possible using Windows Media Player or
DSPack. You might, however, look at embedding the Quicktime ActiveX Control
into a form and dealing with that. I'm doing a variant on that, since I ran
into some stability problems with what I was trying, and I'm only playing
the files at normal speed. There's a book by John Cromie called "QuickTime
for .NET and COM Developers" that shows how to do most of what you ask
(though in VB or C#, but the translation to Delphi wouldn't be too hard).
|
Thank you for the info and the 'hard' facts.
Raymond. |
|
| Back to top |
|
 |
Mark Jacobs Guest
|
Posted: Sun Mar 18, 2007 10:00 pm Post subject: Re: How to play MOV video clips using TMediaPlayer? |
|
|
This is from my web page at http://www.jacobsm.com/mjsoft.htm#mjplyr :-
If you can't, you'll need to add a couple of strings to the registry at
location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\MCI
Extensions. I added strings called mov, rm, and ram, and set their strings
to MPEGVideo. The player will now play these extra formats and you no longer
need Quicktime player with its iPod adornments, or Real Player with its
snoopy habits.
HTH,
--
Mark Jacobs
www.jacobsm.com |
|
| Back to top |
|
 |
Raymond Kennington Guest
|
Posted: Mon Mar 19, 2007 4:43 am Post subject: Re: How to play MOV video clips using TMediaPlayer? |
|
|
Mark Jacobs wrote:
| Quote: | This is from my web page at http://www.jacobsm.com/mjsoft.htm#mjplyr :-
If you can't, you'll need to add a couple of strings to the registry at
location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\MCI
Extensions. I added strings called mov, rm, and ram, and set their strings
to MPEGVideo. The player will now play these extra formats and you no longer
need Quicktime player with its iPod adornments, or Real Player with its
snoopy habits.
HTH,
|
Thanks, Mark. I've added the HKLM\... item above, but WMP still states
it doesn't recognise it. Do I need to install a codec?
I've sent you a message via your web page.
Raymond. |
|
| Back to top |
|
 |
Mark Jacobs Guest
|
Posted: Mon Mar 19, 2007 4:41 pm Post subject: Re: How to play MOV video clips using TMediaPlayer? |
|
|
"Raymond Kennington" <raymondwk (AT) dot (DOT) dot.dot.com> wrote in message
news:45fdcb5d (AT) newsgroups (DOT) borland.com...
| Quote: | Thanks, Mark. I've added the HKLM\... item above, but WMP still states it
doesn't recognise it. Do I need to install a codec?
|
OK. I'd suggest now that we download Quicktime Alternative (latest version)
and install that. Get version 1.78 from
http://home.hccnet.nl/h.edskes/mirror.htm - install it and reboot your PC.
If these MOVs still won't play after that, email one to me at mark 'at'
jacobsm 'dot' com and I'll see what I can "discover" about it! Regards,
--
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk |
|
| Back to top |
|
 |
Warrick Wilson Guest
|
Posted: Mon Mar 19, 2007 11:44 pm Post subject: Re: How to play MOV video clips using TMediaPlayer? |
|
|
"Mark Jacobs" <mark (AT) jacobsm (DOT) com> wrote in message
news:45fd7025$1 (AT) newsgroups (DOT) borland.com...
| Quote: | This is from my web page at http://www.jacobsm.com/mjsoft.htm#mjplyr :-
If you can't, you'll need to add a couple of strings to the registry at
location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\MCI Extensions. I added strings called mov, rm, and ram,
and set their strings to MPEGVideo. The player will now play these extra
formats and you no longer need Quicktime player with its iPod adornments,
or Real Player with its snoopy habits.
|
When you say "player", do you mean your mjplayer, or is Wndows Media Player
(10 or 11 in my case, on a couple of different machines) going to pick those
up too?
In a later message, you suggest installing Quicktime Alternative - do you
have that installed for your system that you're referencing? Or were the
instructions above meant to work without QA?
Thanks. |
|
| Back to top |
|
 |
Mark Jacobs Guest
|
Posted: Tue Mar 20, 2007 12:59 am Post subject: Re: How to play MOV video clips using TMediaPlayer? |
|
|
"Warrick Wilson" <warrickw (AT) mercuryonline (DOT) com> wrote in message
news:45feda1d$1 (AT) newsgroups (DOT) borland.com...
| Quote: | When you say "player", do you mean your mjplayer, or is Wndows Media
Player (10 or 11 in my case, on a couple of different machines) going to
pick those up too?
|
After installing QA and then adding those keys, I can play all sorts of .mov
files inside WMP11.
| Quote: | In a later message, you suggest installing Quicktime Alternative - do you
have that installed for your system that you're referencing? Or were the
instructions above meant to work without QA?
|
You either need QA installed or Quicktime itself, for those keys to work.
However, I do not know whether you can play .movs under wmp with Quicktime
itself, rather than QA.
I also recommend Real Alternative for playing Real Media files.
--
Mark Jacobs
www.jacobsm.com |
|
| Back to top |
|
 |
Raymond Kennington Guest
|
Posted: Tue Mar 20, 2007 4:48 pm Post subject: Re: How to play MOV video clips using TMediaPlayer? |
|
|
Mark Jacobs wrote:
| Quote: | "Warrick Wilson" <warrickw (AT) mercuryonline (DOT) com> wrote in message
news:45feda1d$1 (AT) newsgroups (DOT) borland.com...
When you say "player", do you mean your mjplayer, or is Wndows Media
Player (10 or 11 in my case, on a couple of different machines) going to
pick those up too?
|
After installing Quicktime Alternative, WMP plays the files without
questioning if should try. This is progress.
| Quote: |
After installing QA and then adding those keys, I can play all sorts of .mov
files inside WMP11.
|
Me too.
| Quote: |
In a later message, you suggest installing Quicktime Alternative - do you
have that installed for your system that you're referencing? Or were the
instructions above meant to work without QA?
|
Now using TMEdiaPlayer in Delphi, the clip plays well. However, it still
does not move to beginning/end or step, even though the buttons on
TMediaPlayer are active.
Strangely, it plays a video on the user pc, but on my dev pc it states
that it doesn't know what type it is.
| Quote: |
You either need QA installed or Quicktime itself, for those keys to work.
However, I do not know whether you can play .movs under wmp with Quicktime
itself, rather than QA.
I also recommend Real Alternative for playing Real Media files.
|
Now the latest QT and QA have been installed without there being a
noticeable improvement.
Raymond. |
|
| Back to top |
|
 |
Mark Jacobs Guest
|
Posted: Wed Mar 21, 2007 6:36 pm Post subject: Re: How to play MOV video clips using TMediaPlayer? |
|
|
"Raymond Kennington" <raymondwk (AT) dot (DOT) dot.dot.com> wrote in message
news:45ffc69b$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Now using TMEdiaPlayer in Delphi, the clip plays well. However, it still
does not move to beginning/end or step, even though the buttons on
TMediaPlayer are active.
|
The buttons will not work properly on MOVs, QTs, RAMs, RMs, and certain DivX
encodings. No great shakes though, 'cos they don't work in Media Player
Classic either on those file types. On-the-fly decompressed file types make
it difficult to decide where in the file the data is coming from when
seeking to a different part of the movie.
--
Mark Jacobs
www.jacobsm.com |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|