Morefine的M6S,N5105版本,很小的机器,本来想着JasperLake,UHD核显,想着体积小、功耗低、核显解码格式也多,太合适我这房子小的人了,结果打开硬解后提示解码失败,无法播放。后台查询日志:
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/trim/lib/mediasrv/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[h264 @ 0x7f5efa148480] Invalid setup for format vulkan: does not match the type of the provided device context.
[h264 @ 0x7f5efa148480] Invalid setup for format cuda: does not match the type of the provided device context.
[h264_qsv @ 0x7f5efa146180] Selected ratecontrol mode is unsupported
[h264_qsv @ 0x7f5efa146180] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
经过一顿排查和搜索(感谢强大又无私的网友),最后定位到问题是