-
Notifications
You must be signed in to change notification settings - Fork 144
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
bug: ADTS timebase missing #196
Comments
I think there are probably two problems:
I believe @dedobbin is already investigating this issue, but I figured I should make a note of these observations here. |
Yes, this is the workaround that my project is currently using.
Sounds good :) |
Hey! Been some time, sorry about that. Lazy solution would be to just go through the entire file to find the individual sizes and determine the amount using that, but that's not great. I found another decent solution by just parsing a few blocks and using the average size to estimate the total length. It's obviously not super accurate but it doesn't seem to be an uncommon approach. Do you agree with this approach @pdeljanov ? |
Hi, I just ran into this issue as well. I tried out the fix in dedobbin:bug/aac-missing-timeline and it seemed to work for me as well. I see that the PR #222 might be related to the milestone for v0.5.4? Is there any timeline for releasing the version with this fix? Thanks! |
Hi @BSteffaniak, We are probably a few days away from a v0.5.4 release, however we've identified some issues with PR #222 when probing variable bitrate files. In some cases the estimated duration may be way off. To that end, I'm probably going to release v0.5.4 without it, but I'll cut a v0.5.5 release once the issue gets resolved since it's an isolated change. |
Approximate the duration of ADTS streams by sampling the average bitrate at multiple locations. Fixes #196.
Hello.
I use this crate as a dependency in my project. A user ran into an issue with a missing timebase for an ADTS file.
Here is the sample file I was provided.
Using
symphonia-play
, the file is able to be played. However, there is no information about the position or duration (as expected with a missing timebase). Playing the file in VLC works as expected (duration + position are shown).The text was updated successfully, but these errors were encountered: