Compresion on 1080 or 4K n DecklinkCapture sample or somelse

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Tony Hernandez

  • Posts: 66
  • Joined: Sun Dec 23, 2012 11:06 pm

Compresion on 1080 or 4K n DecklinkCapture sample or somelse

PostWed Apr 01, 2015 8:39 pm

Hello,
We succesfull compile an tune DecklinkCapture sample located at directshow samples under Blackmagic SDK.
Problem is that Im unable to set the compression mode, as for resolutions higher than SD
Code says

Code: Select all
// update compression control, we don't have an HD compression filter so disable compression for HD formats
            if (576 < m_vihDefault.bmiHeader.biHeight)
            {
               m_compressor = 0;
               m_compressionCtrl.SetCurSel(m_compressor);
               // save the new state
               EXECUTE_ASSERT(ERROR_SUCCESS == m_regUtils.SetBinary(TEXT("VideoCompressor"), reinterpret_cast<const BYTE*>(&m_compressor), sizeof(m_compressor)));
               m_bEnableCompressionCtrl = FALSE;
            }
            else
            {
               m_bEnableCompressionCtrl = TRUE;
            }


Question so, is ¿Is it possible to customize recoding in HD and UHD, etc .. using one of the available compressors (MJpeg and DPX) ?


Last question. I can preview almost fullscreen at 8-Bit but on 10-Bit the preview object only renders the first frame and then freezes, but it is able to record, any ideas ?

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 24 guests