Hi,

I wrote a streaming driver for my capturing device.
My capturing device supports many resolutions and may switch while
capturing, and as far as I know streaming devices usually do not
change resolutions.

In such case I have following solutions: scale down or up to static
resolution, or generate black screen in case resolution changes.
Programs of course handle all resolutions if I'll stop and start
recording.

Is there a way to handle?
Or is there a better way to handle it than scale picture in driver for
capturing device?

Pawel

Re: input resoultion change while capturing by Max

Max
Wed Nov 10 12:59:22 CST 2004

You can't change resolution on the fly.
I can't really imagine why you would want to do that.

Normally you set the resolution you need when you build the graph.
Properties of many filters in the graph depend upon the size of image you
select. In particular it is the allocator properties that must be chosen to
support particular resolution.
Take a look at IAMStreamConfig from DX SDK.

Some filters can support dynamic format configuration, but most don't. So if
you are looking to create a generic solution don't try it.

-- Max.



"Pawel" <pawciu2@poczta.gazeta.pl> wrote in message
news:b5fe92a4.0411091005.769d9f2a@posting.google.com...
> Hi,
>
> I wrote a streaming driver for my capturing device.
> My capturing device supports many resolutions and may switch while
> capturing, and as far as I know streaming devices usually do not
> change resolutions.
>
> In such case I have following solutions: scale down or up to static
> resolution, or generate black screen in case resolution changes.
> Programs of course handle all resolutions if I'll stop and start
> recording.
>
> Is there a way to handle?
> Or is there a better way to handle it than scale picture in driver for
> capturing device?
>
> Pawel



Re: input resoultion change while capturing by pawciu2

pawciu2
Mon Nov 15 06:44:07 CST 2004

> You can't change resolution on the fly.
> I can't really imagine why you would want to do that.

I want to capture video from both, my camera and my PC at the same time,
and archive it in file. PC resolution is 1024x768 and camera is 720x576.
I switch input, by changing input signal.

I would like give a possibility to guys, that will write a software
for archiving, to save or stream it, without significant loss of quality,
that is scaling down or up.
The best solution would be to save it with Windows Movie Maker.
I have to be sure, that there is no simple mechanizm, for doing it.
Now I am.

Thank you very much,
and I'll investigate on IAMStreamConfig and filters.

Pawel