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

python demo.py video_data/test video_data/audio0.wav 1.mp4 然后输出呢? #72

Open
LeviArckman opened this issue Nov 23, 2024 · 1 comment

Comments

@LeviArckman
Copy link

LeviArckman commented Nov 23, 2024

运行上述代码后没看到1.mp4啊
image
跑到这里就莫名终止了

@LeviArckman LeviArckman changed the title TypeError: 'int' object is not subscriptable运行python data_preparation.py YOUR_VIDEO_PATH遇到错误 python demo.py video_data/test video_data/audio0.wav 1.mp4 然后输出呢? Nov 23, 2024
@Asongguo
Copy link

你这个应该是音频格式不对,按照这个方式转换音频
ffmpeg -i input.wav -vn -ac 1 -ar 16000 -acodec pcm_s16le -ab 256k output.wav

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