-
Notifications
You must be signed in to change notification settings - Fork 246
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
memory error analyzing chrome generated webm #285
Comments
Can you supply both a working (Firefox) and broken (Chrome) sample file for me to look at? |
sure These were created without ts-ebml intervention: These were created using ts-ebml: both were created exactly the same way using ts-ebml.js to write the meta-data both firefox files are noticeably bigger, however chrome video play fine in firefox and firefox videos play fine in chrome. both firefox videos analyze fine with getid3, however the chrome ones cause a memory problem. |
Presumably its due to an incomplete EBML implementation in getID3, but since it's a detected abnormality and not an actual crashing error I'm going to defer this for now. If someone more familiar with Matroska structure than I would like to submit a patch I would be interested. |
Ok, thanks. i've switched to decoding the video with whammy on chrome which resolved my initial issue. But like you said, its worth keeping open so anyone else with the same kind of problem has somewhere to potentially go. |
Hi,
I use mediarecorder and capturestream to record canvas animations to webm,
The video output works fine in the browser, however when I upload the generated webm to php and analyze it using:
$ThisFileInfo = $getID3->analyze($file);
If the file is created with any chromium browsers, my server errors out with a memory error:
PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 72057594037927968 bytes) in /var/www/html/objects/getid3/getid3.php on line 2063
the webm file is actually only 2mb.
If i use firefox to create the webm and upload, i have no problems at all.
any ideas why a chromium generated webm causes this issue?
The video contains no audio, just video.
The text was updated successfully, but these errors were encountered: