Debug Assertion Failed in using MVC in Intel Media SDK

Debug Assertion Failed in using MVC in Intel Media SDK

I'm trying to run the sample api given for MVC encoder in intel media sdk. I have given input as two files i.e left and right views of a video to get MVC encoded output. But I'm getting a Debug assertion failed message.
I'm using MS visual studio 2010 ultimate to debug and run the code. Pls help.....

2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Best Reply

Hi,

This is a known issue (forsample_encode debug build) we will resolve in Media SDK Gold Update 2012, planned for release early April.

Until then please modify the following in your sample_common project.sample_utils.h: Replace the signature for the Init function in theCSmplYUVReader class from:virtual mfxStatus Init(const TCHAR *strFileName, const mfxU32 ColorFormat, const mfxU32 numViews, std::vector srcFileBuff);tovirtual mfxStatus Init(const TCHAR *strFileName, const mfxU32 ColorFormat, const mfxU32 numViews, std::vector &srcFileBuff);And the same change insample_utils.cpp:mfxStatus CSmplYUVReader::Init(const TCHAR *strFileName, const mfxU32 ColorFormat, const mfxU32 numViews, std::vector srcFileBuff)tomfxStatus CSmplYUVReader::Init(const TCHAR *strFileName, const mfxU32 ColorFormat, const mfxU32 numViews, std::vector &srcFileBuff)

Note that only change applied is using a parameter "&" reference instead of copy call to the function.
Regards,Petter

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui