Git Product home page Git Product logo

Comments (4)

JamesHeinrich avatar JamesHeinrich commented on August 23, 2024

2GB file size limit is a limitation of PHP 32-bit. The only solution is to use 64-bit PHP, but if your Linux is 32-bit then that is not an option.

Many things will still work fine on 32-bit PHP, but it cannot read data past 2GB, so data at the end of large files (e.g. ID3v1) will not be read. Data at the beginning of files (e.g. ID3v2, and basic metadata for most file formats) should be read fine.

It will be .mp3 files most affected by not being able to read to the end of the file, but it's very rare to have a MP3 file larger than 2GB, so I assume most of your large files are video files. They will probably work mostly correctly, but it's possible that playtime or bitrate could be missing or incorrect.

getID3 v2.x won't make any difference, the only real fix is 64-bit PHP.

from getid3.

UweW60 avatar UweW60 commented on August 23, 2024

Thanks for your quick answer, James :)
Yes, it should become a movie library with mp4 files (mostly > 2GB). Do you know if it is possible to prepare the mp4 files in that way, that i convert the ID3v1 tags into ID3v2 on another 64bit system (e.g. win10,win11) so that the basic metadata is at the beginning of the file?
Best regards
Uwe

from getid3.

JamesHeinrich avatar JamesHeinrich commented on August 23, 2024

As I said, only .mp3 files are likely to have important data at the end of the file, and they're unlikely to be anywhere close to 2GB.
Most video files should have all the needed data near the beginning of the file, and as long as getID3 can determine the correct filesize then the data is probably correct.

from getid3.

UweW60 avatar UweW60 commented on August 23, 2024

ok, thanks

from getid3.

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.