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

how to select Audio Track ? #97

Open
fullyconv opened this issue Jan 7, 2024 · 1 comment
Open

how to select Audio Track ? #97

fullyconv opened this issue Jan 7, 2024 · 1 comment

Comments

@fullyconv
Copy link

I have a video with multiple Audio Track (like french english ...etc) How can i transcribe a spesific language from all of these languages?

@abdeladim-s
Copy link
Owner

Unfortunately the whisper model has no built-in method to do this currently. What you could do though is to extract the video with each audio track separately into multiple files using ffmpeg, then run the CLI to batch process them all, or run them manually one by one using the webui.

You can extract the video and the first audio track for example using this command:

ffmpeg -i input-video.mp4 -map 0:v:0 -map 0:a:0 out-en.mp4

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