Giter Club home page Giter Club logo

Comments (5)

Foxtrot0711 avatar Foxtrot0711 commented on June 16, 2024

I've noticed the same errror, not only for small files, but for almost every file I tried until now (except for CBR 320)
Bitrate is always double as it should be -> duration is half.
I've tested it with version 1.6 and 1.

test.zip
7

from tinytag.

mathiascode avatar mathiascode commented on June 16, 2024

@Foxtrot0711 This branch should fix the issue (for files with Xing headers). Could you check if it works fine with your files? https://github.com/mathiascode/tinytag/tree/vbr-incorrect-duration

I believe files with VBRI headers still have issues, but I haven't looked into that. tinytag reports a bitrate of 125 kb/s for tinytag/tests/samples/vbri.mp3, while MediaInfo reports 233 kb/s, but that file seems strange in general.
Edit: tinytag might actually be more accurate here, it seems like MediaInfo still returns information that was valid before the file was truncated.

from tinytag.

Foxtrot0711 avatar Foxtrot0711 commented on June 16, 2024

works fine.
Thank you!

from tinytag.

enzanki-ars avatar enzanki-ars commented on June 16, 2024

I just ran into this same issue myself, and testing out that branch also fixed the issue for me.

from tinytag.

devsnd avatar devsnd commented on June 16, 2024

FYI, I've applied @mathiascode fix to the master branch and will release a new version containing the fix shortly.

from tinytag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.