input resoultion change while capturing

Discussion in 'Windows Vista Drivers' started by Pawel, Nov 9, 2004.

  1. Pawel

    Pawel Guest


    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

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

    Pawel, Nov 9, 2004
    1. Advertisements

  2. Pawel

    Max Paklin Guest

    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.
    Max Paklin, Nov 10, 2004
    1. Advertisements

  3. Pawel

    Pawel Guest

    You can't change resolution on the fly.
    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, Nov 15, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.