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.
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'scapture()
method as well as expose the appropriate DeckLink SDK video input flags includingmacadam.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