-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
运行的时候render.js会报这样的错:
Error: Command failed: ffmpeg -i ./public/templates/sorry/template.mp4 -r 8 -vf ass=./public/cache/sorry-3675ff262e22928d0f18d41cc9b323d6.gif.ass,scale=300:-1 -y ./public/cache/sorry-3675ff262e22928d0f18d41cc9b323d6.gif render.js:31
手动终端命令的时候会报这样的错:
[AVFilterGraph @ 0x7ff39ac11380] No such filter: 'ass' Error opening filters!
然后将命令字符串修改为:
ffmpeg -i ${videoPath} -r 8 -vf ass=.${assPath},scale=300:-1 -y ${gifPath}
之后会报:
Unable to find a suitable output format for 'scale=300:-1' scale=300:-1: Invalid argument
请问是为什么呢?(:з」∠)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels