Skip to content
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

Using the library without loading the file into memory? #3

Open
jpmurray opened this issue Nov 7, 2018 · 0 comments
Open

Using the library without loading the file into memory? #3

jpmurray opened this issue Nov 7, 2018 · 0 comments
Assignees

Comments

@jpmurray
Copy link

jpmurray commented Nov 7, 2018

Is it at all possible? Would it be?

I'm using the library for the getTotalDuration() function, and, I just hit a (kind of) large file of 480mb that, of course, hits the allowed memory size (which is set to 512m in php.ini).

Sure, I could change the value in php.ini, and probably could use ini_set('memory_limit', '1024M') before the library runs, but I have to wonder... Is there no other way to get this info other than loading the file into memory / reading it all?

@falahati falahati self-assigned this Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants