j88
asked on
Play avi file from a stream
Hello Experts!
Please help me how to play avi file from database, i need play on memory stream not have to save to harddisk.
i known there free TMediaPlayerMemoryFile (http://www.wilsonc.demon.co.uk/misccomponents.htm) but it do not come with any demos.
Very thanks if post with full sample!
Please help me how to play avi file from database, i need play on memory stream not have to save to harddisk.
i known there free TMediaPlayerMemoryFile (http://www.wilsonc.demon.co.uk/misccomponents.htm) but it do not come with any demos.
Very thanks if post with full sample!
ASKER
Hello ciuly!
Thank you for quick reply and your demos, i ran your mciStreamPlayer and thinking it need for my program. Could you please modify your code for me? i'm not sure i can make it best.
Some events as Mediaplayer:
- mciStreamPlayer open (play) a stream.
- Stop
- Pause
- Close
- And can continuous with another stream....
Sorry for my bad Delphi.
Thank you for quick reply and your demos, i ran your mciStreamPlayer and thinking it need for my program. Could you please modify your code for me? i'm not sure i can make it best.
Some events as Mediaplayer:
- mciStreamPlayer open (play) a stream.
- Stop
- Pause
- Close
- And can continuous with another stream....
Sorry for my bad Delphi.
I don't have the time right now so you'll have to wait a few days. post a reminder message here in about 3 days (meaning next monday).
ASKER
Good morning ciuly!
As you told to me, now i post a reminder message here.
As you told to me, now i post a reminder message here.
ok. thanks :) I will get to this sometime today
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank for your help, ciuly! enhance your mciStreamPlayer when you have free time.
thanks, I will post here when it's done. I wrote some stuff yesterday evening as well, but not completed.
more maybe tomorrow or next week :)
more maybe tomorrow or next week :)
but, you can use one of my 2 examples from here: http://www.ciuly.com/delphi/multimedia/index.html
you have an MCI solution, which does not requre extra stuff, and a DSPack solution, which of course requires the DSPack components.
you can easily adapt whichever solution you prefer, using a blobstream for example. (depends though how the multimedia is stored in the DB)