- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I am using Intel H264 Codec for video conference application.
I can successfully encode the frames, i have problem in using H264VideoDecoder class. My application is getting crashed while instantiating this class.
VideoDecoder *p_vidDecoder;
p_vidDecoder = new H264VideoDecoder;
When i debugged this class inside VC++ .NET, the constructor of H264VideoDecoder class is getting crashed while initialising ColorConversionParams class.
If does anybody has encountered this problem or anybody know the cause for this problem. Please reply to this message.
Thanks,
Anand
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Exactly it is getting crashed in ColorConversionInfo class inside reset() function
void Reset(void)
{
FormatSource = NONE;
FormatDest = NONE;
memset(&SizeSource, 0, sizeof(SizeSource));
memset(&SizeDest, 0, sizeof(SizeDest));
memset(&SrcCropRect, 0, sizeof(SrcCropRect));
memset(&SrcFmtConsts, 0, sizeof(SrcFmtConsts));
memset(&DstFmtConsts, 0, sizeof(DstFmtConsts));
lInterpolation = 0;
lFlags = 0;
lDeinterlace = 0;
}
The error is "Access violation".
Please help me.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please check IPP media sample, it demonstrates how to use UMC classes to build media player (including H.264 video decoder)
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HiVladimir,
Thanks for the response.
I have solved the aboveproblem, this problem was coming because of some shared data types between H264 encoder and decoder.
Since i include bothe the encoder and decoder into one workspace there are lot of similar data types between decoder and encoder.
I had to rename the name space as suggested by you in the other thread.
Now, i am facing problem while decoding the frames. The GetFramefunction returns with an error number -996(not enough data).
I am attaching the source code with this mail, plese look into the code and please suggest me what is wrong with my code.
Thanks & Regards,
Anand

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page