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

Leave a message for corrupted audio instead of raising error #471

Merged
merged 3 commits into from
Jan 23, 2025

Conversation

jhj0517
Copy link
Owner

@jhj0517 jhj0517 commented Jan 23, 2025

Related issues / PRs. Summarize issues.

Summarize Changes

  1. Add audio file validation for some cases that the audio file is corrupted and can't be opened with soundfile. And right now it raises error if the file is corrupted, so just leave a log message for corrupted audio instead of raising error.

This is example corrupted file that is not able to open with soundfile:

corrupted_audio.mp4

@jhj0517 jhj0517 merged commit 2b34a16 into master Jan 23, 2025
9 checks passed
@jhj0517 jhj0517 deleted the fix/handle-silent-audio branch January 23, 2025 11:49
@jhj0517 jhj0517 mentioned this pull request Jan 23, 2025
@jhj0517 jhj0517 added the enhancement New feature or request label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant