You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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'.

Video File Size Problems

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 OSX and Windows.

Video File Compression is for final delivery only, do not do this for your source media.

If you are experience stuttering video during editing seek alternative solutions, such as changing video playback quality, video proxy settings, using a separate scratch disk, or a faster computer.

For specific video advice and support contact is-learning-team@nottingham.ac.uk

Video File Size Factors

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.

Step-by-step guide

  1. Download https://handbrake.fr/
  2. Install (double click downloaded file)
  3. Run (double click application icon)
  4. Open Original Video File (click Open Source)
  5. 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)
  6. Set Output Name and Location (click Browse next to Destination)
  7. Click Start
  8. Watch Progress Bar Finish
  9. Check Output File Size and Playback
  10. If the resultant file is too big return to step 5 and try increasing the RF number (Reduction Factor) e.g. 28.

 

Handbrake on Windows:

 

Handbrake on OSX:

Encoding Profile Settings

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).

Further Solutions

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.

There is no content with the specified labels

  • No labels