[Libva] vaInitialize() from multiple processes

Nikita Orlov nikitos1550 at yandex.ru
Mon May 9 20:57:05 UTC 2016


Hello!

I am using vaapi for decoding h.264 video in Linux env (only DRM).

If I an starting several processes, second process can`t vaInitialize.
Now I am solving it, using several decoding streams in one process with same VADisplay, setting lock for decoding, so only one thread really decoding in one time slot.

How to so it with several independent processes? Should I just share VADisplay? or are there some trick?

-- 
Nikita Orlov
Skype: nik_stet
QQ: 2717846083


More information about the Libva mailing list