[Libva] linux vaapi without graphical env

Nik Orlov nikitos1550 at yandex.ru
Thu Mar 27 06:32:57 PDT 2014


Hello!

As I have read here (http://www.freedesktop.org/wiki/Software/vaapi/)

The current video decode/encode interface is window system independent, so that potentially it can be used with graphics sub-systems other than X. In a nutshell it is basically a scheme to pass various types of data buffers from the application to the GPU for decoding or encoding. Feedback on the API is greatly welcomed, as this is intended to be a community collaborative effort. 

So, there is some way to setup debian or ubuntu without Xorg to use libva.
Maybe someone show me right way? At the moment I don`t know infrustructure of libva.

There is schem from wiki (http://en.wikipedia.org/wiki/Video_Acceleration_API) http://en.wikipedia.org/wiki/File:Vaapi_illustration.svg
I don`t understand VA Hardware Driver needs to use all DRILib, DRMLib and direct access to hardware OR it can use one of them?

According to sources of h264encoding test from libva-1.1.1 it uses some functions with display 


    va_dpy = va_open_display();
    va_status = vaInitialize(va_dpy, &major_ver, &minor_ver);
    CHECK_VASTATUS(va_status, "vaInitialize");

It seems I still Xorg to use this features, or there is another way?


-- 
Ник Орлов mailto:nikitos1550 at yandex.ru


More information about the Libva mailing list