- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying using API to do a multiple decoder application.
If I initialize decode session with MFX_IOPATTERN_OUT_VIDEO_MEMORY, only first decode session can decode well, the others failed while calling DecodeFrameAsync with returned code -17 .
But if I initialize with MFX_IOPATTERN_OUT_SYSTEM_MEMORY, I tried maximum 16 decode sessions and all work perfectly.
I referenced IntelMediaSDK-tutorial-0.0.3/simple_2_decode_vmem and have no idea what is the problem.
Any suggestions?
penny
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Penny, can you check:
1. You are calling MFXVideoCORE_SetHandle with the same device handle for all decoder sessions
2. if not please check if pull of surfaces you are using separate for each decoder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Penny,
Check lines 174254-174310 in msdk_tracer_device_fail.txt , all fields of surface_out object have values 2048. In other words mfxFrameSurface object is corrupted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Thanks for your suggestions.
I finally made 16 decode sessions run simultaneously.
Just like Artem said, I am using the same device handle for all decoder sessions.
Thanks for your help!!!
penny
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page