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

Error "Shazam failed: Unrecognized format" with Opus file #436

Open
olad32 opened this issue Jan 5, 2025 · 4 comments
Open

Error "Shazam failed: Unrecognized format" with Opus file #436

olad32 opened this issue Jan 5, 2025 · 4 comments

Comments

@olad32
Copy link

olad32 commented Jan 5, 2025

Great software, but I have this error when using shazam detection on all my opus files (works ok with other format) : "Error Shazaming file: Unrecognized format"
Version: Latest dev version from "actions"

@olad32
Copy link
Author

olad32 commented Jan 5, 2025

@olad32
Copy link
Author

olad32 commented Jan 6, 2025

this file decodes fine with most players i have tried, and also with ffmpeg, is it possible to fallback to ffmpeg when rodio returns an error, this has been implemented like this in SongRec : https://github.com/marin-m/SongRec/blob/8026bc30da07268644cffdfda9f5cb83cd4a7d63/src/fingerprinting/algorithm.rs#L39

@Marekkon5
Copy link
Owner

Thank you for the test file and effort, originally 1T did ship with ffmpeg however it caused a lot of issues so we deprecated that. I'll look into this issue when I have bit more time.

@olad32
Copy link
Author

olad32 commented Jan 10, 2025

Thanks, don't know if it can help but if i just rename the file to .ogg extension instead of .opus i get another error message : "Error Shazaming file: Vorbis: File missing magic signature"

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