server 群辉emby_群晖容器中搭建支持硬件编码的Emby Server教程及注意事项

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

我装的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'

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值