- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.....
I'm using MS visual studio 2010 ultimate to debug and run the code. Pls help.....
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Regards,
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Regards,
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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page