Video files can be too large to upload, when this happens one solution is to create a new smaller version by converting the video from one 'encoding profile' to another aka 'transcoding'.
If you find when your video is uploaded (particularly when working on a Mac) that the audio disappears, then you will need to encode it in a different way - follow the instructions below to transcode.
If your video file is too big then you may experience issues with slow upload, exceeding allowable upload size, or stuttering during playback.
Often video comes out of the recording device or editing software in a large file size, and it is compressed to meet the delivery requirements for playback.
Moodle does not have rigid delivery requirements, however you are restricted by your internet connection, and the viewers computer system.
In this situation it is wise to use a format that is widely compatible e.g. MP4 rather than something restricted e.g. WMV or MOV, and to deliver a moderate file size.
There are many software tools for this including Adobe Media Encoder, Apple Compressor, and FFMPEG, but this guide will use Handbrake as an example because it is free, straightforward, actively developed, and available on both Mac OSX and Windows.
Video file sizes are a function of duration x data rate.
Assuming the duration is fixed you need to reduce the data rate. This is achieved by transcoding the original video file to create a new one.
Data rate is often expressed in megabits aka Mb (lowercase b) and file size is often expressed in megabytes aka MB (uppercase b). There are 8 bits to a byte.
A typical camera data rate could be 15 Mbps, which would be:
30 seconds x 15 Mbps = 450 Mb = ~56 MB
The data rate from motion graphics software or a different camera could be much higher such as 200 Mbps, which would be:
30 seconds x 200 Mbps = 6000 Mb = 750 MB
You may wish to compress either of these to a data rate of 4 Mbps, which would be:
30 seconds x 4 Mbps = 120 Mb = 15 MB
Needless to say, there are significant differences between 15, 56, and 750.
- Download https://handbrake.fr/
- Install (double click downloaded file)
- Run (double click application icon)
- Open Original Video File (click Open Source)
- Select Preset (click presets on right hand side) OR Import UoN Preset (download linked file, click cog beneath presets and select import, then click on preset name)
- Set Output Name and Location (click Browse next to Destination)
- Click Start
- Watch Progress Bar Finish
- Check Output File Size and Playback
- If the resultant file is too big return to step 5 and try increasing the RF number (Reduction Factor) e.g. 28.
You will notice the transcoding software has numerous parameters, if you are interested to learn what they do then start with the Wikipedia page for video, move on to video codecs, and then read the Handbrake documentation.
Understanding these parameters and determining the optimum setting for your application will require trial and error.
Within the above guide, the key variable for changing the data rate is "RF" which you can increase to generate a smaller file size (or vice versa to potentially improve image quality).
If you are experiencing issues uploading your video submission after following the above process then you may have issues with your source material, internet connection, or playback device.
To eliminate the source material as the issue, try downloading some test footage, transcoding the test footage using the above guide, and seeing if it will play back. If the test footage works then your source material needs troubleshooting.
To eliminate the internet connection as an issue then try: changing the network; using a wired connection; another computer. If non of this works then we can presume the network connection is ok and the problem is something else.
To eliminate the playback device, try playing the video on other devices. If issues occur across multiple devices then we can presume it's not a problem with the device.
To eliminate this guide as the issue, try using a different piece of transcoding software.
If issues persists, make a note of your fault finding attempts (the above eliminations) and seek technical support.
Related articles
There is no content with the specified labels