Codec h264_vaapi not enabled?
Added by Markus Wölfer about 8 years ago
Hi,
I compiled Tvheadend with vaapi support.
Version:HTS Tvheadend 4.3-589~g7d0e509ba

As you can see, Codec Type is "unknown". But why? And why is the codec disabled?
Can anyone give me a hint?
Replies (4)
RE: Codec h264_vaapi not enabled?
-
Added by saen acro about 8 years ago
VideoCard (processor) with you use?
OS + Kernel is?
vaapi response is?
attach response from attached script
RE: Codec h264_vaapi not enabled?
-
Added by Markus Wölfer about 8 years ago
this is my result:
root@Transcode:~# python sys_analyzer_linux.py 3.50GHz
--------------------------
Hardware readiness checks:
--------------------------
[ OK ] Processor name: Intel(R) Pentium(R) CPU G4560
[ ERROR ] Processor not Xeon or Core. Not supported.
--------------------------
OS readiness checks:
--------------------------
[ OK ] GPU visible to OS
--------------------------
Media Server Studio Install:
--------------------------
[ ERROR ] user not in video group. Add with usermod a -G video {user}
[ ERROR ] libva.so.1 not found. Check LD_LIBRARY_PATH contains '/usr/lib64;/usr/local/lib'
[ ERROR ] libva not loading Intel iHD
[ ERROR ] vainfo not reporting codec entry points
[ ERROR ] no libdrm include files. Are Intel components installed?
-------------------------
Component Smoke Tests:
--------------------------
[ ERROR ] no Media SDK include files. Are Intel components installed?
[ ERROR ] no OpenCL include files. Are Intel components installed?@
root@Transcode:~# uname -a
Linux Transcode 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
What is the command to show vaapi result? But fyi, vvapi is running with ffmpeg without issues.
RE: Codec h264_vaapi not enabled?
-
Added by saen acro about 8 years ago
lsb_release -a report ?
vainfo
give available VAAPI version
vainfo
error: can't connect to X server!
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: 16.4.3.44985-ubit
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : <unknown entrypoint>
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointEncSlice
VAProfileH264Baseline : <unknown entrypoint>
VAProfileH264Baseline : <unknown entrypoint>
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : <unknown entrypoint>
VAProfileH264Main : <unknown entrypoint>
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : <unknown entrypoint>
VAProfileH264High : <unknown entrypoint>
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: <unknown entrypoint>
VAProfileH264ConstrainedBaseline: <unknown entrypoint>
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : <unknown entrypoint>
vainfo: VA-API version: 0.35 (libva 1.3.1)
TVH request 0.38+
RE: Codec h264_vaapi not enabled?
-
Added by Markus Wölfer about 8 years ago
root@Transcode:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.2 (stretch)
Release: 9.2
Codename: stretch
root@Transcode:~# vainfo
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit