MCI / DirectShow

Everything else that doesn't fall into one of the other PB categories.
Perni
New User
New User
Posts: 4
Joined: Mon Mar 28, 2005 7:04 pm
Location: Austria/Vienna

MCI / DirectShow

Post by Perni »

Hi folks,

I'm experimenting with the Win32 MCI Interface. It seems to be the better way for me, because I have almost only MPEG-Movies to play. And there are some files, which MCI can play and the BuildIn MoviePlayer can not.

But I need the feature to capture images from the playing movies. After opening a movie with the BuildIn MoviePlayer, I can access the IBasicVideo and call GetCurrentImage. That works very fine.

The Key-Question is now: How can I access IBasicVideo after opening the movie with an MCI-Commando? I think, it should be possible (theoretical), because MCI is also using DirectShow.

Does anybody know what I mean and can help me?

Many thanks in advance, Perni.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Re: MCI / DirectShow

Post by traumatic »

Perni wrote:[...] because MCI is also using DirectShow.[...]
I'm sorry I can't really help with your problem but in case my life wasn't a
pure waste of time, I can assure you MCI (Windows Media Control Interface)
is _not_ using DirectShow.

MCI is outdated and deprecated, DirectShow is the way to go ;)

Whatever, DirectShow comes with a built-in MPEG1 decoder, others are
available through filters. There are however some hardware-based decoders
that only have MCI drivers, maybe this is your problem?
Good programmers don't comment their code. It was hard to write, should be hard to read.
Perni
New User
New User
Posts: 4
Joined: Mon Mar 28, 2005 7:04 pm
Location: Austria/Vienna

Post by Perni »

Hi traumatic.

That are bad news. I was sure MCI is based on DirectX.
OK, I'll give it a third try. It will be a hard work for me to read in in DirectShow :? But stuff it, that's our job. In my next live, I want to be a sheep-herder :wink:

Thanks, Perni
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

Perni wrote:But stuff it, that's our job. In my next live, I want to be a sheep-herder :wink:
So true... :P
Good programmers don't comment their code. It was hard to write, should be hard to read.
Post Reply