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

Error: Cannot find ffmpeg #6

Open
erduoniba opened this issue May 12, 2024 · 5 comments
Open

Error: Cannot find ffmpeg #6

erduoniba opened this issue May 12, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@erduoniba
Copy link

VideoSubtitleGenerator $ npm start

[email protected] start
node index.js

开始处理文件: demo.mp4
转换任务出错: Error: Cannot find ffmpeg

@erduoniba
Copy link
Author

fluent-ffmpeg/node-fluent-ffmpeg#748
根据这个链接解决了。

@erduoniba
Copy link
Author

另外我配置了 baidu_key 和 baidu_ secret ,在执行到翻译的时候,会获取不到值。

@buxuku
Copy link
Owner

buxuku commented May 12, 2024

另外我配置了 baidu_key 和 baidu_ secret ,在执行到翻译的时候,会获取不到值。

请问你是在 .env 文件里面配置的吗?

buxuku added a commit that referenced this issue May 12, 2024
buxuku added a commit that referenced this issue May 12, 2024
@buxuku buxuku added the bug Something isn't working label May 12, 2024
@buxuku
Copy link
Owner

buxuku commented May 12, 2024

开始处理文件: demo.mp4 转换任务出错: Error: Cannot find ffmpeg

因为我之前在是系统里面安装了 ffmpeg 的,所以我这边没的报错。目前已经在项目中集成了 @ffmpeg-installer/ffmpeg 了,非常感谢反馈。

@buxuku
Copy link
Owner

buxuku commented May 12, 2024

另外我配置了 baidu_key 和 baidu_ secret ,在执行到翻译的时候,会获取不到值。

别外看下 config.js 文件里面的 export const translateServiceProvider = supportedService.volc; 这里是否改成了百度。 默认是配置的火山翻译。

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