<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><SPAN class=171301103-18052006><FONT face=Arial color=#0000ff size=2>Hi
Phil,</FONT></SPAN></DIV>
<DIV><SPAN class=171301103-18052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=171301103-18052006><FONT face=Arial color=#0000ff size=2>How is
going for this issue?</FONT></SPAN></DIV>
<DIV><SPAN class=171301103-18052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=171301103-18052006><FONT face=Arial color=#0000ff
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=171301103-18052006><FONT face=Arial color=#0000ff
size=2>Leigh</FONT></SPAN></DIV>
<DIV><SPAN class=171301103-18052006><FONT face=Arial color=#0000ff size=2><A
href="http://www.smootharm.com">www.smootharm.com</A></FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> delphi-bounces@ns3.123.co.nz
[mailto:delphi-bounces@ns3.123.co.nz]<B>On Behalf Of </B>Phil
Middlemiss<BR><B>Sent:</B> Wednesday, 17 May 2006 5:19 p.m.<BR><B>To:</B> NZ
Borland Developers Group - Delphi List<BR><B>Subject:</B> Re: [DUG] Play a
movie from a stream<BR><BR></FONT></DIV>OK, had a closer look at it and I can
see how it is supposed to work (kind of). But I can't get it to work. It's
supposed to somehow work with the standard TMediaPlayer. However, the main
technique it uses (using mmioInstallIOProc) is applicable and I've found some
sample code that I can use instead hopefully.<BR><BR>If I get it working, I'll
post the working code to the list.<BR><BR>Cheers,<BR>Phil.<BR><BR>Ben Taylor
wrote:
<BLOCKQUOTE cite=mid20060517034131.21416.qmail@web54507.mail.yahoo.com
type="cite"><PRE wrap="">well, from the 2sec i spent looking at it, it installs a custom io-handler to the
mediaplayer, then implements the iorequests using a memorystream.. there's
definately no file-based activity there. yes, you need to set a filename in the
mediaplayer, but thats only used to identify which named-memorystream to use as a
datasource..
hth,
b
--- Phil Middlemiss <A class=moz-txt-link-rfc2396E href="mailto:phil@tumonz.co.nz"><phil@tumonz.co.nz></A> wrote:
---------------------------------
Hi Ben,
yes, found that before too. Works by writing to a temporary file as faras I can tell
by looking at the source code. As I said, I spent half aday scouring the internet.
Has no one done this before?
Phil.
Ben Taylor wrote:
1min on google found this:
<A class=moz-txt-link-freetext href="http://www.wilsonc.demon.co.uk/misccomponents.htm">http://www.wilsonc.demon.co.uk/misccomponents.htm</A>"TMediaPlayerMemoryFile allows you
to play wave and AVI memory images using theregular Delphi TMediaPlayer component.
You can create the memory images on-the-flyor load them from resources."looks like a
nice workaround to the mediaplayer limitation..no idea if it works.. --- Phil
Middlemiss <A class=moz-txt-link-rfc2396E href="mailto:phil@tumonz.co.nz"><phil@tumonz.co.nz></A> wrote:
I need to play a video clip (with audio) from a memory stream instead of
Send instant messages to your online friends <A class=moz-txt-link-freetext href="http://au.messenger.yahoo.com">http://au.messenger.yahoo.com</A>
_______________________________________________Delphi mailing
<A class=moz-txt-link-abbreviated href="mailto:listDelphi@ns3.123.co.nzhttp://ns3.123.co.nz/mailman/listinfo/delphi">listDelphi@ns3.123.co.nzhttp://ns3.123.co.nz/mailman/listinfo/delphi</A>
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">begin:vcard
fn:Phil Middlemiss
n:Middlemiss;Phil
org:Vision Software, MTS Ltd
<A class=moz-txt-link-abbreviated href="mailto:email;internet:phil@tumonz.co.nz">email;internet:phil@tumonz.co.nz</A>
title:Project Leader
tel;work:+64 7 3480001
tel;cell:+64 27 4592648
x-mozilla-html:TRUE
url:<A class=moz-txt-link-freetext href="http://www.tumonz.co.nz">http://www.tumonz.co.nz</A>
version:2.1
end:vcard
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">_______________________________________________
</PRE></BLOCKQUOTE><PRE wrap="">Delphi mailing list
<A class=moz-txt-link-abbreviated href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</A>
<A class=moz-txt-link-freetext href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</A>
</PRE></BLOCKQUOTE><PRE wrap=""><!---->
Send instant messages to your online friends <A class=moz-txt-link-freetext href="http://au.messenger.yahoo.com">http://au.messenger.yahoo.com</A>
_______________________________________________
Delphi mailing list
<A class=moz-txt-link-abbreviated href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</A>
<A class=moz-txt-link-freetext href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</A>
</PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>