Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

Can IMFMediaEngineEx support output stereoscopic 3D video side by side?

$
0
0

Using following code, to play a stereoscopic 3D video

   ::MFStartup(MF_VERSION);
    CComPtr<IMFMediaEngineClassFactory> spCF;
    spCF.CoCreateInstance(CLSID_MFMediaEngineClassFactory);
    CComPtr<IMFAttributes> spAttr;
    ::MFCreateAttributes(&spAttr, 0);
    spAttr->SetUINT64(MF_MEDIA_ENGINE_PLAYBACK_HWND, (UINT64)hWnd/*(UINT64)GetSafeHwnd()*/);
    spAttr->SetUnknown(MF_MEDIA_ENGINE_CALLBACK, &nn);

    HRESULT  hr = spCF->CreateInstance(0, spAttr, &m_spEngine);
    m_spEngine->QueryInterface(__uuidof(IMFMediaEngineEx), (void**)&m_spEngineEx);
    m_spEngine->SetSource(CComBSTR(L"g:\\mdjsj3-sbs.mp4"));

    m_spEngine->Play();

I got only left or maybe right view,

but what I want is side by side view,

Can IMFMediaEngineEx support output MVC 3D video side by side?






Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>