Comments (8)
Well first of all you have to upload the whole file to the web server so the space consumption in the temporary directory will be at least the filesize of whatever file you're uploading via browser because the web server has to store the file somewhere.
If you're planning on uploading 100GB videos you won't be able to do that via browser anyway because most web servers have hard limits built in that are several orders of magnitude smaller. Also, you just don't want to upload 100GB via web browser, period. For that kind of job you should use the batch media importer (Import > Media in the main menu bar) or a custom importer.
As for the giant temp file: At the time of the upload CollectiveAccess has no idea what kind of file it's about to deal with. So it tries all media processing plugins one by one and asks them if they can handle this kind of file. These plugins usually rely on some kind of external tool - like ImageMagick, GraphicsMagick, ffmpeg, whatever - which is why they try to open the file with that tool. Some of these tools have a tendency to crash or do weird things if you throw particular files at them. This identification process happens way before the actual processing so the queue setting doesn't come into play yet.
What kind of *Magick are you using? You can look that up under Manage > Administration > Configuration Check. One of these *Magick entries in the table should have "available" next to it.
And one last thing: For your own sanity you shouldn't change anything in global.conf . You can enable the media queue in setup.php.
from providence.
Using "php5-imagick", as suggested in the installation docs.
about editing "global.php": The installation docs say to edit that file.
I'm aware that I won't want (ever!) want to upload files larger than a few MB by browser. Yet, I found it very ineffective that a 3 minute MPEG is blown up to 12 GB by Imagick, just for doing basically nothing... ;)
from providence.
ImageMagick does some stupid things when opening certain types of video files, such as creating huge tmp files. There's not much we can do about it other than to modify the ImageMagick delegates.xml file so it doesn't try to process video. If you remove all references to ffmpeg in that file you should find things work more smoothly.
from providence.
Try using GraphicsMagick instead. In the past the imagick extension, especially the one packaged in Debian, caused a ton of problems in my setups and GM is faster anyway. Get rid of the php5-imagick package, restart your webserver to make sure the extension is not loaded anymore, and then install the package "graphicsmagick" and make sure the path in app/conf/external_applications.conf is correct (which it should be by default).
from providence.
GraphicsMagick has a delegates.xml file as well, as it's derived from ImageMagick. So the same "trick" of removing ffmpeg references is useful here as well.
from providence.
Thanks for the tips!
I'll give it a try.
from providence.
Since you closed it:
Is this fixed, or does it still require the workaround?
from providence.
There's nothing to fix for us here, as explained above.
from providence.
Related Issues (20)
- Data importer not matching label on ORG class entity
- ItemService error when attempting to access ca_object_representations bundle from GET ca_objects HOT 2
- Bulk EAD/XML import giving errors with related list items HOT 1
- skipIfExpression not matching correctly in import mapping HOT 3
- Duplicate Relationship Types in dacs_heritage
- JPF loads as binary
- QuickSearch can show same record twice HOT 5
- Display Templates showing on Summary Pages even when not enabled for this view HOT 2
- Duplicate items being saved into sets HOT 1
- Collection hierarchies on the Summary Screen: typo and clarification of value for settings
- Default Collection Search Creator Column is Broken
- PHP8 HOT 1
- "Image is being processed" after data import with background processing enabled HOT 7
- Current_contents missing policy and template HOT 1
- purge-deleted Only Deletes Some Records and Not Others HOT 7
- ExistingRecordPolicy in Data Import not functioning as expected (develop) HOT 2
- "null" Date Duplicates "Not Set" Date
- After editing Obj Rep Relationships, Object May Have No Primary
- URL Encoding Failure for Tags Search
- Duplicate entities showing in browse but search or within MySQL
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 providence.