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

设置的 outputDir 无效 #309

Open
qinhaitao97 opened this issue Dec 5, 2022 · 3 comments
Open

设置的 outputDir 无效 #309

qinhaitao97 opened this issue Dec 5, 2022 · 3 comments

Comments

@qinhaitao97
Copy link

const creator = new FFCreator({
cacheDir: cache_dir,
outputDir: output_dir,
output,
width: scene_width,
height: scene_height,
clarity: main_video_clarity,
fps: main_video_fps,
log: false,
debug: true,
})

output_dir:'/Users/qin/Desktop/ffmpeg/code/deduplicate/output/'

执行代码在 index.js 中,index.js 和 output 在统一目录层级中,预期的输出结果在 output 目录下,但是实际输出的结果在 output 的同级目录下,这是为什么?

@mannymu
Copy link

mannymu commented Dec 9, 2022

这个bug 感觉是最近才出现的,前几天尝试都是好的。。

@drawcall
Copy link
Member

outputDir 和ffcreatorcenter不能同时使用,可以自定义center或者不使用center方式

@YIyiyi-3
Copy link

我也是这样的情况,请问是怎么解决的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants