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

Probe result fails for FLAC files above 96kHz #275

Open
Inrixia opened this issue Apr 20, 2024 · 0 comments
Open

Probe result fails for FLAC files above 96kHz #275

Inrixia opened this issue Apr 20, 2024 · 0 comments

Comments

@Inrixia
Copy link

Inrixia commented Apr 20, 2024

// Probe the media source.
let probed = symphonia::default::get_probe()
    .format(&hint, mss, &fmt_opts, &meta_opts)
    .expect("unsupported format");

The above code panics when attempting to check a FLAC file above 96kHz, my file MediaInfo:

Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 226 MiB
Duration                                 : 5 min 6 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 6 180 kb/s

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 5 min 6 s
Bit rate mode                            : Variable
Bit rate                                 : 6 180 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 192 kHz
Bit depth                                : 24 bits
Compression mode                         : Lossless
Stream size                              : 226 MiB (100%)
MD5 of the unencoded content             : 6F3BD4955F97940AB6D5177A3244ACAC

This is so far reproducible for multiple files.

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

1 participant