- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
linux medis sdk 1.8
h264decode,i have a problem:
memset(&mfxVideoParams, 0, sizeof(mfxVideoParams));
//mfxVideoParams.mfx.CodecId =MFX_CODEC_JPEG;
mfxVideoParams.mfx.CodecId =MFX_CODEC_AVC;
mfxVideoParams.IOPattern = MFX_IOPATTERN_OUT_SYSTEM_MEMORY;
......
sts = ReadBitStreamData1(&mfxBS, data, length); ==>sts =0;
sts = pmfxDEC->DecodeHeader(&mfxBS, &mfxVideoParams);==>sts =0;
......
mfxFrameAllocRequest Request;
memset(&Request, 0, sizeof(Request));
sts = pmfxDEC->QueryIOSurf(&mfxVideoParams, &Request); ==>sts =0;
sts = pmfxDEC->Init(&mfxVideoParams);==>sts =-8, MFX_ERR_NOT_INITIALIZED why?
i don't know the error,what's mean it?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it'ok,on window sdk,but same code on linux sdk have error,it's MFX_ERR_NOT_INITIALIZED,see it's no easy,only replace the platform library。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are a few differences to keep in mind between the Windows and Linux implementations:
1. Windows has SW and HW implementations, Linux only has HW.
2. In Windows, setHandle is only required when you wish to allocate your own video memory surfaces. In Linux, ALL sessions require setHandle after init.
The code to do this is in the Linux samples. When the next release of the tutorials is available (should be very soon) they will illustrate initialization in a simpler way. For now, there is more information to get you started in this thread.
Best regards,
Jeff
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page