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

[Feature Request]: 以音频流优先录制/修复 #237

Open
bakaz opened this issue Oct 22, 2024 · 4 comments
Open

[Feature Request]: 以音频流优先录制/修复 #237

bakaz opened this issue Oct 22, 2024 · 4 comments

Comments

@bakaz
Copy link

bakaz commented Oct 22, 2024

你希望开发者添加什么功能?

音频流优先录制/修复

什么使用场景?

录歌势时,希望以音频流不卡顿为优先

相关信息

No response

@CHKZL
Copy link
Owner

CHKZL commented Nov 5, 2024

然而阿B并没有提供“音频only”的流,这个功能从逻辑上就无法实现

@bakaz
Copy link
Author

bakaz commented Nov 5, 2024

当前尝试将fix的指令修改为ffmpeg -i "{before}" -c copy -async 1 -fps_mode cfr "{after}"的方式

@CHKZL
Copy link
Owner

CHKZL commented Nov 8, 2024

当前尝试将fix的指令修改为ffmpeg -i "{before}" -c copy -async 1 -fps_mode cfr "{after}"的方式

如果这样实现。。。。现在在DDTV的配置文件中提供了ffmpeg运行参数指定功能,如果要实现这样的流程,应该直接在配置文件中设置即可。

现在由于阿B并没有提供“纯音频”的流,所以该功能从录制的角度来讲,没有什么必要。如果有需要请自行设置ffmpeg参数即可。

@Janet-Baker
Copy link
Contributor

当前尝试将fix的指令修改为ffmpeg -i "{before}" -c copy -async 1 -fps_mode cfr "{after}"的方式

试试这么拼接?这样就只有音频流了

ffmpeg i {before} -map 0:a -c:a copy {after}

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

3 participants