You're viewing help content for version:

The Video component allows you to place a predefined, out-of-the-box video element on your page.

For proper transcoding to occur, your adminstrator must Install FFmpeg separately. They can also Configure your Video Profiles for use with HTML5 elements.

Configuring Video Profiles

You may want to define video profiles to use for HTML5 elements. Those chosen here are used in order. To access, use Design Mode (Classic UI only) and select the Profiles tab:

chlimage_1

You can also configure the design of the video components and parameters for Playback, Flash and Advanced.

Installing FFmpeg

The Video Component relies on the third-party open-source product FFmpeg for proper transcoding of videos that can be downloaded from http://ffmpeg.org/. After you install FFmpeg, you must configure AEM to use a specific audio codec and specific runtime options.

To install FFmpeg for your platform:

  • On Windows:
    1. Download the compiled binary as ffmpeg.zip
    2. Unzip to a folder.
    3. Set the system environment variable PATH to <your-ffmpeg-location>\bin
    4. Restart AEM.
  • On Mac OS X:
    1. Install Xcode  (http://developer.apple.com/technologies/tools/xcode.html)
    2. Install XQuartz/X11.
    3. Install MacPorts (http://www.macports.org/)
    4. In the console run the following command and follow the instructions:
          sudo port install ffmpeg
      FFmpeg must be in PATH so AEM can pick it up via command line.
  • Using the precompiled version for OS X 10.6:
    1. Download the precompiled version.
    2. Extract it to the /usr/local directory.
    3. From terminal, execute:
      sudo ln -s /usr/local/Cellar/ffmpeg/0.6/bin/ffmpeg /usr/bin/ffmpeg

To configure AEM use the following steps:

  1. Open CRXDE Lite in your web browser. (http://localhost:4502/crx/de)

  2. Select the /etc/dam/video/hq/jcr:content node and ensure the node properties are as follows:

    • audioCodec:
      alac
    • customArgs:
      -flags +loop -me_method umh -g 250 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 16 -b_strategy 1 -i_qfactor 0.71 -cmp +chroma -subq 8 -me_range 16 -coder 1 -sc_threshold 40 -b-pyramid normal -wpredp 2 -mixed-refs 1 -8x8dct 1 -fast-pskip 1 -keyint_min 25 -refs 4 -trellis 1 -direct-pred 3 -partitions i8x8,i4x4,p8x8,b8x8
  3. If you changed either of the properties, click Save All.

Note:

Out-of-the-box (OOTB) workflow models are not preserved when you upgrade your AEM instance. Adobe recommends you copy OOTB workflow models before modifying them. For example, copy the OOTB DAM Update Asset model before modifying the FFmpeg Transcoding step in the DAM Update Asset model to pick video-profile names that existed before the upgrade. Then, you can overlay the /apps node to let AEM retrieve the custom changes to the OOTB model.  

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy