Can I Encode Video Files Before I Upload Them to Dacast?

Encoding your video files before upload is definitely an option with Dacast. If your file sizes are larger than 1GB, we actually recommend encoding with a dedicated software before uploading.  There are a number of free services out there that will aid you in doing this. We recommend you try either Handbrake and Zamzar. No matter which encoding software you choose, be sure to select an output format that we currently support.

What is Encoding?

Before we get into pre-uploading encoding, let’s take a moment to discuss what encoding is and which encoder settings are required for Dacast.  Encoding is a process used to convert the RAW video files captured by a camera into digital files suitable for live streaming over the internet.

Required Encoder Settings

The following encoder settings are required for live streaming with Dacast, regardless of your selected resolution and bitrate:

VIDEO CODECH.264 (x264 may work)
FRAME RATE25 or 30
KEYFRAME INTERVAL3 secs (or 3x frame rate)
SCANNINGProgressive
ENCODING BITRATEConstant (CBR)
AUDIO CODECAAC
AUDIO BITRATE128 kbps
AUDIO CHANNELS2 (Stereo)
AUDIO SAMPLE RATE48 kHz (48,000 Hz)

How to Encode Video Files Before Upload

     1. Set up your encoding recipes in your settings

There is something very important to note before we dive in. To ensure that your videos are not encoded a second time after uploading, you will need to select “Do Not Encode” in your encoding settings Once you’ve made sure this setting is correct, it’s time to get started.

Go to Settings > Encoding (as highlighted in red on the left side of the screen. Select “Create Recipe” on the right.

Dacast > Encoding > Create Recipe

In the space provided, add the “Recipe Name” of your choosing, then select “Next” below.

Dacast platform Create Recipe

After clicking “Next” you will automatically be brought to the “Presets” step.       

Scroll to the bottom of the page menu and select the “Do Not Encode” option.

Dacast Encoding > Do Not Encode Option

Click “Create” once you have selected your desired preset options. Using the “Do Not Encode” preset means we avoid encoding the video again and preserve the original source. This also means a quicker upload time.

Please note that the source file must be in the MP4 (H.264 encoded) format if you decide not to encode the file again.  Disabling the encoding feature means that the source video file will then be played in your video player, and this will be the default setting for all your future video uploads.

We recommend that you encode the video with a constant frame-rate. We use a constant 30fps internally.

Finally, ensure that the MPEG Moov Atom is at the beginning of your file. For more, please see Understanding the MPEG-4 movie atom. The software you use to render your .mp4 will probably have a setting to do this. It may be called “Web Optimization” or something similar.

  2. Set up your encoding recipes in your VOD uploader

You are now able to select the number of renditions that will be encoded to the video you are uploading. There’s also a tooltip that explains why multi renditions (adaptive streaming) are better than just one rendition, See below. 

You may also get an estimation of the storage needed for the video upload according to the renditions selected but clicking the  “Get an estimation” hyperlink below the recipe selection dropdown.

Any questions or you want to access this feature? Please contact us.

Not yet a Dacast user, and interested in trying Dacast risk-free for 14 days? Sign up today to get started.

get started for free

Additional Resources

 

Harmonie Duhamel

Harmonie is a Senior digital marketer with over 6 years in the Tech Industry. She has a strong marketing and sales background and loves to work in multilingual environments.