We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我设置字幕旁白没有声音,旁白音频是mp3格式的,mp3文件打开正常,但生成后的视频没有声音。 .... const config = { comma: false, fontSize: item.fontSize, x: item.x + item.width / 2, y: item.y + item.height / 2, width: item.width, height: item.height, }; const subtitle = new FFSubtitle(config); subtitle.setRegexp(/(。|?|?|!|!|;|,|\n)/gi); subtitle.setSpeech(pathname + 'test.mp3'); scene.addChild(subtitle);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我设置字幕旁白没有声音,旁白音频是mp3格式的,mp3文件打开正常,但生成后的视频没有声音。
....
const config = {
comma: false,
fontSize: item.fontSize,
x: item.x + item.width / 2,
y: item.y + item.height / 2,
width: item.width,
height: item.height,
};
const subtitle = new FFSubtitle(config);
subtitle.setRegexp(/(。|?|?|!|!|;|,|\n)/gi);
subtitle.setSpeech(pathname + 'test.mp3');
scene.addChild(subtitle);
The text was updated successfully, but these errors were encountered: