首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Flatpack的Linux服务器上的HandBrake命令行不起作用- hb_stream_open PATH_TO_FILE失败

使用Flatpack的Linux服务器上的HandBrake命令行不起作用- hb_stream_open PATH_TO_FILE失败
EN

Stack Overflow用户
提问于 2020-03-09 17:53:53
回答 1查看 424关注 0票数 0

通过flatpack运行HandBrakeCLI -无法打开任何文件。

代码语言:javascript
复制
flatpak run --filesystem=host --command=HandBrakeCLI fr.handbrake.ghb -i "/var/www/html/mit4mit.co.il/httpdocs/vimeo/drop.avi" -o "/var/www/html/mit4mit.co.il/vimeo/converted.mp4"
Cannot load libnvidia-encode.so.1
[09:47:25] hb_init: starting libhb thread
[09:47:25] thread 7f4d70c25700 started ("libhb")
HandBrake 1.3.1 (2020020500) - Linux x86_64 - https://handbrake.fr
2 CPUs detected
Opening /var/www/html/mit4mit.co.il/httpdocs/vimeo/drop.avi...
[09:47:25] CPU: Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
[09:47:25]  - Intel microarchitecture Broadwell
[09:47:25]  - logical processor count: 2
[09:47:25] hb_scan: path=/var/www/html/mit4mit.co.il/httpdocs/vimeo/drop.avi, title_index=1
disc.c:323: failed opening UDF image /var/www/html/mit4mit.co.il/httpdocs/vimeo/drop.avi
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/var/www/html/mit4mit.co.il/httpdocs/vimeo/drop.avi/) failed
[09:47:25] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't stat /var/www/html/mit4mit.co.il/httpdocs/vimeo/drop.avi
No such file or directory
libdvdread: Could not open /var/www/html/mit4mit.co.il/httpdocs/vimeo/drop.avi
libdvdnav: vm: failed to open/read the DVD
[09:47:25] dvd: not a dvd - trying as a stream/file instead
[09:47:25] hb_stream_open: open /var/www/html/mit4mit.co.il/httpdocs/vimeo/drop.avi failed
[09:47:25] scan: unrecognized file type
[09:47:25] libhb: scan thread found 0 valid title(s)
No title found.

无论我做什么,我都不能让HandBrakeCLI找到输入文件。我在网上看到,这里最重要的一行是hb_stream_open -上面的所有故障都是正常的。

EN

回答 1

Stack Overflow用户

发布于 2020-03-09 17:53:53

这是因为flatpack正在沙箱它的应用程序-

Flatpak docs on sandbox-permissions#filesystem-access

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60598081

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档