- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
For decoding multiple video streams purpose, I created threads for each stream and start all decoding at the same time. However, some of them will be delayed to decode their 1st frame because the threads are blocked for seconds after calling MFXInit() and MFXVideoDECODE_Init(). The more threads and streaming created the issue happens easier.
Is there a way to avoid this blocking? Or, a way to set timeout (ex: 500ms)?
Thanks a lot!
BR,
muramastu
(The previous post seems to be unreadable, so I post it again. Sorry for the duplicate post.)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the delayed reply. While we don't have a sample or example for this specific use case, one could be set up easily by launching several threads/processes of simple_2_decode from the tutorials which can be found at the Media Solutions Portal. When I've tested scenarios like this I have seen behavior like you describe, but at least in that case of the delays was disk I/O from writing many raw frames to disk.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page