Comments (4)
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.
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.
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.
ok, thanks
from getid3.
Related Issues (20)
- php8.2 deprecated
- Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in getid3_jpg->CastAsAppropriate() HOT 6
- Encoding settings in mp3 HOT 1
- MPEG-1 pixel aspect ratio is reciprocal of actual value HOT 1
- Incorrect audio metadata with some MP4 files HOT 4
- Bit rate for MP4 audio tracks HOT 3
- Reference getID3 from Google Apps Script HOT 1
- Purchasing a commercial license HOT 1
- `fread` length error in XMP HOT 2
- PHP Error as Severity: Notice Message: Undefined index: time_scale Filename: getid3/module.audio-video.quicktime.php Line Number: 335 HOT 1
- How to add Cover Image? HOT 1
- PHP Notice: Undefined index: data
- module.tag.id3v2 crashes PHP 8.2.12 if opcache enabled HOT 10
- fread(): Argument #2 ($length) must be greater than 0 HOT 1
- libxml_disable_entity_loader is deprecated HOT 3
- Garbage extracted from a RIFF tag in an AIFF file HOT 2
- Not work WRITE function in Windows 10/php7.4
- Write Synchronised lyric (SYLT)
- Unable to determine .gpx file HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getid3.