Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装filebrowser enhanced以后硬件解码无法工作 #164

Open
iamydp opened this issue Aug 25, 2022 · 3 comments
Open

安装filebrowser enhanced以后硬件解码无法工作 #164

iamydp opened this issue Aug 25, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@iamydp
Copy link

iamydp commented Aug 25, 2022

描述 Bug
因为box默认安装的fbe不支持硬件解码并且默认挂载的目录不是我想要的,所以修改了.service文件,其中加入了--device=/dev/dri/renderD128:/dev/dri/renderD128,加入之后关于处硬件加速提示启用,但实际播放视频时转码却无法使用,也查看不了视频文件详情
Ps.确实是intel核显,正常来说也支持硬解我尝试播放的视频
屏幕截图 2022-08-25 152250
屏幕截图 2022-08-25 152304
屏幕截图 2022-08-25 152219
屏幕截图 2022-08-25 152408

sudo systemctl status [email protected] 显示problem serving screenshot: could not create cache dir: /myfiles/.hls/.frames/1d/1db1d90f0c6364b1990f5c422f5c7b0f0d4e4a33, err: mkdir /myfiles/.hls/.frames: permission denied 尝试将puid和pgid改为0后不报错,但仍然无法工作


  • 操作系统: ubuntu 22.04
  • 浏览器:chrome
  • 版本:104
@amefs amefs added the bug Something isn't working label Aug 25, 2022
@amefs
Copy link
Owner

amefs commented Aug 26, 2022

我建议你进行如下尝试:
首先删除映射目录下的 .hls 文件夹,然后修改 .service 文件。将文件中 UMASK_SET 修改为 002,重新载入配置并重启服务。这可以解决你遇到的 permission denied 问题。我没有可以用来测试的核显环境,因此假设你还遇到问题,需要在这里继续反馈。

@iamydp
Copy link
Author

iamydp commented Aug 27, 2022

然鹅还是不行,但确实permission denied没有了.通过尝试80x86/filebrowser:latest镜像发现能解码,通过交叉使用:latest/:amd64镜像和quickbox生成的filebroswer.db/正常解码的filebrowser.db发现问题应该出在.db上.两个内容我都没又改过,都是自己生成的.

@amefs
Copy link
Owner

amefs commented Aug 27, 2022

目前我发现切换画质没有反应似乎是 docker 镜像获取转码后的文件路径有问题,这个我认为应当是 filebrowser ee 本身的问题。我会尝试联系作者,看一下能不能修。假如你不使用反代 subpath 则不会遇到这个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants