rust-av / grav1synth

Grain Synth analyzer and editor for AV1 files
MIT License
52 stars 3 forks source link

Eof in lr_params #6

Open doctortheemh opened 1 year ago

doctortheemh commented 1 year ago

Hey, this is more of a request for help debugging. I have a sample that fails to parse, I managed to track it down to frame.rs:1377 which yields something like: Error: VerboseError { errors: [([], Nom(Eof)), ([51, 87, 36, 5, 136, 241, 134, 134, 226, 205, 2, 8, 32, 130, 0, 0, 0, 128, 0, 183, 192, 205, 57, 244], Context("Failed parsing frame header")), ([51, 87, 36, 5, 136, 241, 134, 134, 226, 205, 2, 8, 32, 130, 0, 0, 0, 128, 0, 183, 192, 205, 57, 244], Context("Failed parsing frame obu"))] }

Do you have any idea why we could encounter Eof here? It looks like we should only be on the 7th bit (we have three planes). In the meantime, I will try to whittle the sample down for better reproduction.

Thanks!