WeTransfer / format_parser

file metadata parsing, done cheap
https://rubygems.org/gems/format_parser
Other
62 stars 18 forks source link

Improve WAV parser #243

Closed linkyndy closed 4 months ago

linkyndy commented 5 months ago

Improve WAV parser by performing a best-effort when extracting metadata from files that do not strictly follow the format spec.

This deals with a particular case when non-PCM files might not have a fact chunk defined, in which case we currently discard the entire file. With this change, we will still recognise the file as a WAV file and attempt to build all relevant metadata from the available information in the header.