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

Different length of input and output #22

Open
FinallyKiKi opened this issue May 10, 2023 · 1 comment
Open

Different length of input and output #22

FinallyKiKi opened this issue May 10, 2023 · 1 comment

Comments

@FinallyKiKi
Copy link

FinallyKiKi commented May 10, 2023

Hello auther, I have successfully run your code with my video and gotten some output.
I run completely according to the tutorial. However, the midi output has 313s music is different from the length of my input 8s.

Is there someting wrong with it?

您好!我按照教程成功跑通您的程序了。但是我却获得了313s的音频,与我输入的8s视频不相符。
我看到模型中生成音乐的部分,cur_vlog应该代表生成的音频帧数,len_vlog代表总帧数。但最终生成的音频长度却远长于len_vlog,是否是我操作的问题导致的?

@LebudiPrince
Copy link

MIDI转mp3的时候有个tempo参数,tempo在视频的metadata.json里

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

2 participants