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

When multiple audio streams exist, pick the correct one for whisper to process #2688

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

JaiZed
Copy link
Collaborator

@JaiZed JaiZed commented Sep 30, 2024

ffmpeg uses the older ISO 639-2 code when extracting audio streams based on language.
If we give it the newer ISO 639-3 code it won't find the audio stream because its trying to match it by name.
So, convert the newer code to the older code only for use by ffmpeg when determining which audio stream to extract.

ffmpeg uses the older ISO 639-2 code when extracting audio streams based on language.
If we give it the newer ISO 639-3 code it won't find the audio stream because its trying to match it by name.
@JaiZed JaiZed self-assigned this Sep 30, 2024
@JaiZed JaiZed merged commit e544e1f into morpheus65535:development Sep 30, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants