Best Practices: The Video Creating, Transcoding, and Uploading Workflow

Upload once, play everywhere

Video Cloud is designed to simplify the process of publishing your videos so that your single upload plays beautifully on the desktop, mobile device, and connected TV, no matter the content, resolution, or connection speed.

When you upload your video, Video Cloud's Adaptive Encoding Engine automatically transcodes your single video into a collection of renditions, each suitable for the typical range of your viewers’ bandwidth and resolution. Then Video Cloud dynamically detects the screen size and connection speed from the environment where your video plays, and serves the right rendition of your video to maximize quality given the speed and power available to each individual viewer. This article offers best practices for recording, exporting, uploading and publishing your Video Cloud videos that assures optimum playback of your content everywhere it shows.

The Video Cloud publication workflow includes the following processes:

Step 1: Before you Record

Source Encoding

There are many factors that impact the overall results of transcoded media. It is not realistic to provide a one-size-fits-all recommendation, so this step will list some of the more important considerations and how they affect the output.

General

  • Try to start with the highest possible source media if possible. Successive transcode passes reduce the overall quality exponentially. If possible, start with the uncompressed source. Because of increased file transfer and ingestion times, it may not always make sense to send a raw source. In these cases, it is best to upload a source with 2-3x the bitrate of the highest rendition you expect to generate. So if you intend to have a top rendition with a video bitrate of 3 Mbps, the you would want to upload a source video with a bitrate of 6-9 Mbps.
  • If the raw source must be compressed before uploading, H.264 and AAC are the preferred video and audio codecs.
  • Do not use multiple video or audio streams. Occasionally we see source media that may have more than one audio or video stream. This is often the case with media copied directly from a DVD. While we make a best guess as to which stream to use, there is no way for us to know what stream was preferred.
  • Avoid stream delays. For example, some video editing tools will inject a start time for the audio stream such that the audio starts playing at some time after the video. We have found that some tools introduce audio sync issues during this process.

Video

  • The frame size should be at least as large as the largest anticipated rendition. However, do not scale media to a frame size larger than the original.
  • H.264 requires that frame sizes are multiples of 4 and is optimized for multiples of 16. We will scale transcodes to meet this requirement, but for best results source media should already be encoded in multiples of 16. Multiples of 8 or 4 will also work though with a slight performance decrease.
  • Avoid interlacing. Most web and mobile video players do not handle interlaced content well. While we will detect and remove interlacing, there can be a quality loss during the conversion.
  • Avoid anamorphic video. Anamorphic video, or video with a non-square Pixel Aspect Ratio, does not play correctly in some mobile and Web players. We attempt to detect anamorphic video and convert it, but occasionally the original source metadata is incorrect. This can prevent us from converting the material correctly.
  • If you are creating a screencast with a tool such as Camtasia, see Creating and Publishing High Quality Screencasts for some best practices and tips when exporting your screencast and uploading it to Video Cloud.

Audio

  • For maximum compatibility, use stereo or mono audio and avoid 5.1.
  • Sample rates above 44.1 kHz do not work on all players so will be re-sampled. Avoid this by sticking to 44.1 kHz or less.
  • Normalize the audio tracks to standard levels such that you avoid "clipping" while also avoiding a low volume.
  • Make sure that audio levels are consistent across media that might be viewed together.

Step 2: Recording

What is my content and where will it play?

In most cases, when you publish your videos to Video Cloud, they look great across all distribution targets, whether they are playing amid other content within a browser, in full-screen mode, in the confines of small mobile device screens, or spread out across large monitors. Still, it's best when recording your video to make a practice of considering both the nature of your content and the viewing conditions of your audience. You can take some measures when recording tricky content to show under challenging conditions, such as an instructional screen cast with small text you would like to make crisp and legible from both a player included with other browser content and as a full screen video, or an HD news cast shown to countries with populations having low bandwidth Internet access.

Here are some recommendations for recording practices to avoid issues with content and playback:

  • De-interlace at record-time. For the best quality playback, Video Cloud de-interlaces all content. When recording with a camcorder, set the record setting to progressive not interlace. If you are working with an already recorded interlaced video as a source file, opt to check the de-interlace setting within your video editing software at compression time in preparation for uploading to Video Cloud. If you do not transcode your video with Video Cloud, and you shot an interlaced video, de-interlace the video file before uploading it.
  • Capture at a constant frame rate. To best avoid stuttering during playback, record video at a constant frame rate and avoid a variable frame rate when creating your source files. Also, shoot progressive and use the same frame-rate you will publish to - 30 fps is a good place to start.
  • Adopt a strategy for screencasts. Creating recordings with clear, crisp, and legible text is especially challenging when creating software tutorial videos you intend to play both from a player within a browser and in a full-screen mode. See Creating and Publishing High Quality Screencasts for some best practices and tips when exporting your screencast and uploading it to Video Cloud.
  • Avoid camera shake. While this may seem obvious for viewing, shaking actually impacts the encoder's ability to compress material using motion estimation algorithms. In other words, lower compression and lower quality.
  • Avoid noisy backgrounds. This applies to video as well as audio. In the case of video, things like background movement (e.g. traffic) and complex background images (e.g. noisy wallpaper) all impact compression negatively. Similarly, background noise during an interview reduces audio compression.
  • Use proper lighting. Darker scenes can be more difficult to encode without quality loss.

Step 3: Exporting

What compression format do I upload to Video Cloud?

Brightcove recommends uploading a video source file encoded as an H.264 format to leverage optimum quality for the widest range of delivery targets. The H.264 codec offers the maximum opportunity for Video Cloud's transcoding engine to create the highest quality renditions for the range of resolutions and bandwidths where your video plays. See Supported Video Codecs and Containers for more on the distinction between codecs, containers, and file types. For detailed specifics on the best format for your Video Cloud video uploads, see Video Source File Specifications and Recommendations.

Checking your video's codec

To be sure your video source file is encoded in a H.264 format, you can verify the format in the QuickTime player's movie inspector:

  1. Open QuickTime Player. You can get QuickTime for free at http://www.apple.com/quicktime/download/.
  2. Select File > Open File... and choose your exported video file.
  3. From your opened video in the QuickTime player, select Window > Show Movie Inspector.

  1. In the movie inspector window for your video, check that the Format is H.264.

The QuickTime movie inspector is a handy tool for reporting the format, resolution, frame rate, and other properties of your compressed video source file.

Guiding principles when exporting from video editing software

When compressing and exporting videos from your favorite video editors, we recommend compressing your videos in using an H.264 codec and letting Video Cloud automatically create renditions best for multiple resolutions and bit rates. In addition, we recommend:

  • Opt out of Flash. When rendering your videos from video production software, select an H.264 codec option, that is a codec, or container other than Flash or SWF.
  • Avoid single-target formatting. Avoid the streamlined encoding options that come with your editing software offering a one-click solution to encode your video for a specific target such as the web, iPhone, YouTube, DVD, or BlueRay. To let Video Cloud take care of distribution for you, format your video using QuickTime conversion settings that creates the most flexible native H.264 codec, and let Video Cloud create multiple renditions from your single H.264 upload to serve to multiple distribution targets including the web, iPhone, and YouTube, as well as multiple resolutions and connection speeds.
  • Multi-pass, if you have the time. Best practices advise uploading the highest quality video possible, and multi-pass processing is one of the best practices for creating a quality source file. Under some conditions, the marginally improved quality of your video might not justify the time it takes to encode using a two-pass process. Two-pass encoding can reduce the incidence of video artifacts and provides the most benefit to videos that have areas of high motion.
  • Don't be stingy with file size. Video Cloud is built to handle large file uploads, and does not charge for large files. If you're used to compressing files for the sake of successful uploads or for cutting costs, don't. Be sure to upload a high quality source file.
  • Get us a high quality file. We recommend a source with 2-3x the bitrate of the highest rendition you expect to generate. So if you intend to have a top rendition with a video bitrate of 3 Mbps, the you would want to upload a source video with a bitrate of 6-9 Mbps. Video Cloud Express customers have access to fixed renditions and need not exceed the bit rate for their fastest rendition when considering data compression rates. Video Cloud Pro and Enterprise customers should consider the bit rate of their current fastest rendition as well as any rendition they might opt to create in the future when re-encoding existing videos with new transcoding settings. Also remember, sometimes videos that have too much data do not stream via HTTP smoothly. Excessively high quality video can cause buffering.
  • Stay consistent with the frame rate. Export at the frame rate you shot at to avoid stuttering. Also, if the export frame rate setting is not the same as the source, you risk asynchronous video and audio tracks.
  • Keep a copy of your native file: It's a great practice to save your native video files in case you want to edit them, compress them anew, or re-encode them. Re-encoding existing videos is available only to Video Cloud Pro and Enterprise publishers. You may find after publication that your video would benefit by making changes to the exporting settings. Video Cloud does provide a way to re-encode your video from a higher quality source file, which allows you to keep all the metadata assigned to a title but to upload a video in the latest most flexible encoding format.
  • Consider action and size when exporting for high resolution: High resolution videos especially benefit from using minimum bit rates while maintaining quality play. See High resolution encoding recommendations for bit rate minimums when considering video size, aspect ratio, and the amount of action in the content.
  • Adopt a mobile strategy. If you want to show your videos on mobile devices in addition to desktop monitors, you must encode your videos to the flexible H.264 format and consider other encoding options. See the Encoding recommendations for maximum flexibility table of settings in the Encoding for Mobile Delivery article.

Step-by-Step export instructions

For recommended specific instructions to export videos from Final Cut Pro 7 for MAC, and Camtasia Studio 7 for PC, see Exporting High Quality Video Source Files with Popular Video Editing Programs. If you're exporting from iMovie, and Snapz, consider the guiding principles listed above, as well as the Final Cut Pro 7 processes; the Final Cut Pro video and audio compression settings are identical to those for iMovie and Snapz.

Step 4: Transcoding

What is my content, where is my audience watching it, and what is my audience watching it on?

If you want your videos to play beautifully across a range of screen sizes such as in the three screen strategy of publishing to desktop, mobile device, and wide monitor TVs, and if you want your videos to play smoothly across a range of connection speeds from dial-up, to cellular, to high speed cable, you must start with a video file that plays as optimally as possible in each of those environments. To assure that your video shows as beautifully as possible across the variety of the size and speed conditions of your viewers, Video Cloud creates a collection of video files, called multi-bitrate renditions, each of various sizes and qualities. When Video Cloud detects the resolution, bandwidth, and other conditions of the device requesting to play your video, it serves the best rendition of your video for that environment, be it a smaller and slower version to fit the constraints of a mobile device screen or low bandwidth connection, or be it a full-quality version that takes advantage of wide screen monitors with high speed, and high definition capabilities.

You have fine grain control of the speed, size, and encoding quality of these rendition files. If you know the connection rates, devices and screen resolutions of your audience, you can tailor each rendition file of your videos to create a collection of renditions that targets size and speed conditions of those viewers.

Further reading on setting multi-bitrate renditions

Step 5: Uploading

How do I get the flexibility I need from my source file?

Upload your video or videos using the Video Cloud Studio's Media module according to the processes in Uploading Videos with the Media Module. Alternatively, you can upload via FTP batch provisioning or by using Media API methods. See Using FTP Batch Provisioning and Getting Started with the Media API for more on those upload processes.

To leverage Video Cloud's ability to create multiple renditions of your video for varying resolutions including desktop browser, full-screen, wide screen, smartphone, and tablet as well as varying bandwidths, upload a H.264 source and select the Multiple Renditions option. See H.264 Videos for specifications on uploading this format.

When you upload a video to the Video Cloud platform, Video Cloud stores it as a digital master. This digital master is the source for all renditions Video Cloud creates. The digital master is also the source if you should ever elect to re-encode your video in order to change your transcode settings. For more on re-encoding videos see Re-encoding Existing Videos. At upload time, you can optionally choose Add H.264 source as a rendition to have a copy of this digital master available as the highest quality version rendition in addition to other renditions created by Video Cloud's transcoding engine.

Reply

The content of this field is kept private and will not be shown publicly.