Need a method of uploading large files to Xibo
PHP has a file upload limit of 2Gb (through POST at any rate).
Would be good to have a method of uploading files larger than this.
Blueprint information
- Status:
- Started
- Approver:
- Xibo Developers
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Matthew Holder
- Definition:
- Approved
- Series goal:
- Accepted for 1.3
- Implementation:
- Needs Code Review
- Milestone target:
- None
- Started by
- Alex Harrington
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Apache has (or at least had last time I looked) a file size limit of 2GB - I found this out when trying to send a very large zip file... if you have content over 2GB in a single file, apache will have difficulty getting it to the players...
One solution for files < 2GB would be an option to select files to add from a local upload directory, so you could FTP or SCP the files in there, then have xibo add to library... (ffmpeg re-encoding & scaling from quicktime / h.264 to a supported format would also be awesome btw!)
ktecho: I think the limit is not in Apache itself, but in the php configuration. I have changed this to 10 MB and just uploaded a 4 MB file.
aussieang: I set my php.ini post_max_size to 128M and upload_max_filesize to 128M (I also upped my memory_limit to 256M) and routinely upload 80MB video files without issue but that's on a decent network so I don't get browser timeouts. The ftp file handler option is a nice alternative. There are too many considerations to be made for re-encoding... that might be better left to a separate process. I also play MP4, FLV, MKV, MOV, MP3, WAV, etc. I posted the workaround for these media types.
[Delayed until 1.5]