Debug Assertion Failed in using MVC in Intel Media SDK

Debug Assertion Failed in using MVC in Intel Media SDK

karthick1990r的头像

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 帖子 / 0 new
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项.
Petter Larsson (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); to virtual 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) to mfxStatus 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

登陆并发表评论。