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

WAV file parser fails with "Invalid Header Format" for some valid files #52

Open
sjmurdoch opened this issue Nov 14, 2024 · 3 comments
Open

Comments

@sjmurdoch
Copy link

When using a file source for decoding, for some valid files QSSTV will fail with the error message "Invalid Header Format". This appears to be due to the decoder requiring that the first two chunks of the RIFF file are fmt and data. However, programs that create WAV files will often have chunks like INFO and auxi before the data chunk.

As a workaround, sox can be used to remove these chunks, e.g.

sox SOURCE.wav DESTINATION.wav
@dl8dtl
Copy link
Collaborator

dl8dtl commented Nov 14, 2024

Do you have an example WAV file to reproduce?

@sjmurdoch
Copy link
Author

Here's one, I think generated by SDR Angel

out_2024-11-14T11_35_12_758.zip

@seacat17
Copy link

I have the same issue with WAV files produced by Audacity and receiving software on my phone.

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

3 participants