ITS

Information Technology Services
Information Technology Services

Re-encoding a Video

Occasionally when you transfer your content on to a computer, it may need to be re-encoded to a streaming server-friendly format. It is recommended that any audio/video files uploaded to the streaming server are encoded to the allowed bitrate and have a .mp4 extension prior to upload, so as to prevent automatic encoding by the server. Any file above the set bitrate and/or having an extension other than .mp4 may trigger an automatic encode by the server.

Re-encoding of files by the Streaming Server will not be triggered if the following requirements are met:

Files with audio and video

  • Audio codec = AAC
  • Video codec = H.264
  • Container = MP4
  • Bitrate (video and audio combined) ≤ 800Kb/s

Files with audio only

  • Audio codec = AAC
  • Container = MP4
  • Bitrate ≤ 300Kb/s

Files with video only

  • Video codec = H.264
  • Container = MP4
  • Bitrate ≤ 700 Kb/s

A video transcoder program, such as Handbrake (opens in new window), can be used to re-encode files prior to upload.

Choose from one of the tutorials below

How to re-encode a video file using HandBrake for Windows
  1. Download and install HandBrake (opens in new window).
     
  2. Open Handbrake program.
    screen capture of HandBrake interface
     
  3. Select the Tools menu and then select Options from the drop-down menu.
    screen capture of HandBrake tools menu
     
  4. Select Output Files from the Preferences list to view the default path for output files. To change the default path, select the Browse button next to the Default Path field.
    To keep things simple, select Desktop. If you would like to save your files elsewhere, select the appropriate folder.
    screen capture of HandBrake output files settings
     
  5. Select "Always use MP4" from the MP4 File Extension drop-down menu. Select the Close button.
    screen capture of output files options
     
  6. Select Source then Open File from the drop-down menu.
    screen capture of HandBrake open file location
     
  7. Navigate to the location of the file you wish to convert, select the file, and select Open.
    screen capture of selecting source file
     
  8. Select Picture Tab to edit the picture settings.
    Select Loose from the Anamorphic drop-down menu and 16 from the Modulus drop-down menu.
    screen capture of HandBrake picture settings
     
  9. Select the Video tab to edit the video settings.
    Select the Constant Framerate radio button.
    Select the Avg Bitrate (kbps) radio button and enter 600 in the Avg Bitrate (kbps) field.
    To achieve the best quality, check the 2-Pass Encoding box.
    screen capture of HandBrake video settings
     
  10. Select the Audio tab to edit the audio settings.
    Select Mono from the Mixdown drop-down menu.
    Select 64 from the Bitrate drop-down menu.
    screen capture of HandBrake audio settings
     
  11. All set, you are ready to encode. Select Start
    screen capture of HandBrake start encode

     
  12. When the file is encoding, the status message will be displayed at the bottom of the HandBrake window.
    screen capture of encode processing status
     
  13. When encoding has finished, the Queue Finished status message will be displayed.
    screen capture of encode complete message
How to re-encode a video using HandBrake for Mac
  1. Download and install Handbrake (opens in new window).
     
  2. Open Handbrake program.
    screen capture of Handbrake for Mac interface
     
  3. Select Source to choose the video source.
    screen capture of choosing video source in HandBrake
     
  4. Navigate to the location of the file you wish to convert, select the file, and select Open.
    screen capture of choosing file on Mac
     
  5. To change the Destination of output files, select Browse.
    screen capture of changing destination of output file
     
  6. To keep things simple, select Documents from the Where: drop-down menu. If you would like to save your files elsewhere, select the appropriate location. Select Save.
    screen capture of Save As window
     
  7. Select Picture Settings.
    Select Loose from the Anamorphic drop-down menu.
    Select 16 from the Modulus drop-down menu.
    screen capture of HandBrake picture settings
     
  8. Select the Video tab. 
    Select the radio button adjacent to Avg Bitrate (kbps) and enter 600.
    Select the Constant Framerate radio button.
    To achieve the best quality, check the 2-Pass Encoding
    screen capture of HandBrake video settings
     
  9. Select the Audio tab. 
    Select Mono from the Mixdown drop-down menu.
    Select 64 from the Bitrate drop-down menu.
    screen capture of HandBrake audio settings
     
  10. All set, you are ready to encode. Select Start.
    screen capture of Handbrake start encode
     
  11. When the encode is in progress a status message will be displayed.
    screen capture of HandBrake progress message
     
  12. Likewise, When the encode is finished, a completion message will be displayed.
    screen capture of HandBrake encode complete

For additional information on HandBrake software, please refer to the HandBrake Guide (opens in new window).