From source file to delivery
Find the activity maximum
Open the assignment or course upload area and note its maximum file size. Moodle can display a value lower than the site-wide setting.
Encode below that value
Use the 95 MB preset for a 100 MB activity, or type a smaller target with a few megabytes of margin.
Save the final activity state
Upload the MP4, complete any Save changes or Submit assignment action and check that the file is listed in the attempt.
Where Moodle’s effective limit comes from
| Layer | Example | What wins |
|---|---|---|
| Server and PHP | upload_max_filesize and post_max_size | The lower server value |
| Moodle site or course | Administrator and course maximums | The lower configured value |
| Assignment activity | Per-activity maximum | The value displayed to the student |
Moodle applies the lowest configured ceiling
A site administrator can allow a large file while a course or assignment allows less. The web server can also reject the request before Moodle receives it. Treat the upload interface as the current source of truth for that activity.
For a 100 MB activity, 95 MB leaves practical headroom for a target-size encode. For a 20 MB activity, change the field to 19 MB rather than trying the default and waiting for a predictable rejection.
Use a delivery copy, not your only master
Moodle submissions are delivery files. Keep the original lecture or student recording separately so a later request for a clearer version does not depend on an already compressed copy.
If the target makes text unreadable, trim unnecessary footage in an approved editor or ask whether a hosted link is allowed. Re-encoding the 95 MB output to an even smaller file compounds quality loss.
Questions before you compress
What is Moodle’s maximum video upload size?
There is no single Moodle-wide number. The effective maximum is the lowest limit set by the server, Moodle site, course and activity.
Where can I see the Moodle limit?
The assignment or file upload area normally shows the maximum accepted size. Administrators can also inspect the site setting and PHP configuration.
Will 95 MB always upload?
Only when every applicable layer allows at least 100 MB. Use a smaller target when the activity displays a lower maximum.
References and next steps
Guide updated 2026-11-17. External applications and account rules can change.
Have a strict size budget? Use the bitrate calculator. For source files near the upload ceiling, check the large video limits. Read the privacy policy before sending sensitive material.