Skip to content

Support DeckLink's automatic format detection #15

@rezonant

Description

@rezonant

The DeckLink SDK supports automatic detection of video format when using the Capture functionality. Macadam should expose this functionality for applications which find it useful.

Proposed implementation would add videoInputFlags option to Macadam's capture() method as well as expose the appropriate DeckLink SDK video input flags including macadam.bmdVideoInputEnableFormatDetection.

Additionally, an onVideoInputFormatChanged callback would be added to the Capture options, allowing the application to receive the format detection event and reopen the capture session with the appropriate display mode / pixel format and make any adjustments needed for incoming resolution changes.

Work in progress at https://github.com/rezonant/macadam/commits/feat/format-detection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions