Compressing Videos

Videos uploaded to AWS that have an intro are ready to be uploaded to However there is a limit of 1GB. AWS has tools to compress (shrink) the videos.

Compress 1 single file

Log in with your own account, not with the wordpresstv one!

On AWS S3:

  • Click on the video file on AWS S3 and open the details screen
  • On the top row buttons, click ‘Make public’
  • At the bottom, click the ‘Object URLURL A specific web address of a website or web page on the Internet, such as a website’s URL’ and view the number of minutes/seconds.

Calculate the video bitrate:

  • The desired file size is 1GB
  • Enter the number of minutes and seconds of the video
  • Hit ‘crunch’ and check the maximum video bitrate

Open AWS MediaConvert (from Services > Media Services):

  • In the ‘Job templates’ panel, select (tick) the wptv template with the correct video bitrate as calculated above with the cruncher. Then select ‘Create Job’ on top.
  • Input 1:
    • Hit ‘Browse’
    • Choose the S3 bucket
    • In ‘File’ start typing the first part of the path and select the video
    • Click ‘Choose’
  • Output groups:
    • File Group: In Destination you can specify the destination like s3://bucket/path/ (mind the final slash!) as you probably want to keep the compressed file in the same folder as the original. If you keep the default folder (/wordpresstv/wordcampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more.-uploads/compressed/), the compressed files will be saved there.
  • Click ‘Create’ at the bottom
  • Go back to ‘Jobs’ and see the progress

On AWS S3:

You will find the file in the destination folder with -cX.X added to the filename to indicate the video bitrate compression.

Top ↑

Combining multiple source files into 1 compressed file

The procedure for combining multiple files and then compress into 1 is similar to the one above, but with the following differences.

  • Calculate the bitrate based on the total number of minutes/seconds of all the files together
  • Add extra input files after having chosen the correct template

Last updated: