该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

我装的ubt20,intel显卡已经GVT-t直通给群晖虚拟机,再映射给EMBY的docker了,权限什么都给了,命令测试都正常一播放就只会选择软解,CPU100%,不知道怎么回事

root@ds918:~# docker exec -it EMBY ls -l /dev/dri

crwxrwxrwx 1 root root 226, 0 Dec 6 09:57 card0

crwxrwxrwx 1 root root 226, 128 Dec 6 09:57 renderD128

root@ds918:~# docker exec -it EMBY /bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json

ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC

built with gcc 8.3.0 (crosstool-NG 1.24.0)

configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static

libavutil 56. 36.100 / 56. 36.100

{

"ProgramVersion": {

"Version": "4.3.0-emby_2020_05_23",

"Copyright": "Copyright (c) 2018-2019 softworkz for Emby Llc",

"Compiler": "gcc 8.3.0 (crosstool-NG 1.24.0)",

"Configuration": "--cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-amf --disable-debug --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-pic --enable-version3 --enable-cuda-llvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --extra-libs='-ldrm -lva-drm' --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --pkg-config=pkg-config --pkg-config-flags=--static --enable-shared --disable-static"

},

"Devices": [

Begin GetVaAdapterInfo

Found 31 device entries

Begin get_nodes

Found 3 drm entries

End GetVaAdapterInfo

{

"DeviceIndex": 0,

"DeviceInfo": {

"VendorName": "Intel Corporation",

"DeviceName": "8th Gen Core Processor Gaussian Mixture Model",

"SubsytemVendorName": "ASRock Incorporation",

"VendorId": 32902,

"DeviceId": 16017,

"SubsytemVendorId": 6217,

"SubsytemDeviceId": 16017,

"DevPath": "/sys/bus/pci/devices/0000:06:01.0",

"DrmCard": "/dev/dri/card0",

"DrmRender": "/dev/dri/renderD128",

"IsEnabled": 1,

/dev/dri/renderD128: VA-API version: 1.7 (libva 1.7.0)

"IsBootVga": 1,

"ApiVersionMajor": 1,

/dev/dri/renderD128: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 (ac0a19f)

"ApiVersionMinor": 7,

"Driver": "Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 (ac0a19f)"

},

"Decoders": [

{

"CodecName": "MPEG2VIDEO",

"CodecProfile": "MPEG2_SIMPLE",

"CodecId": 2,

"MaxWidth": 2048,

"MaxHeight": 2048,

"ColorFormats": "NV12 ",

"RTFormat": 131075,

"DecSliceMode": 1,

"DecProcessing": 0,

"MaxPictureWidth": 1920,

"MaxPictureHeight": 1920,

"ProcessingRate": 2,

"CustomRoundingControl": 0

},

播放看log就显示自动选择软解,***。。。

>>>>>> User policy for rootEnablePlaybackRemuxing: TrueEnableVideoPlaybackTranscoding: TrueEnableAudioPlaybackTranscoding: True >>>>>> Affected codecsEncoder libx264 Software EncoderProfiles: Baseline Profile (Level 6.2), Main Profile (Level 6.2), High Profile (Level 6.2), High 10 Profile (Level 6.2), High 4:2:2 Profile (Level 6.2), High 4:4:4 Predictive Profile (Level 6.2) >>>>>> FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: CustomInfo Checking: 'libx264 Software Encoder'Info Check successful - selecting 'libx264 Software Encoder' >>>>>> FindVideoDecoder - MediaType: hevc, Mode: CustomInfo Checking: 'Automatic software decoder'Info Check successful - selecting 'Automatic software decoder'

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐