You're viewing help content for version:

The following sections describe how to debug and troubleshoot video playing in your channel.

When you upload a video to the DAM and add it your channel, you might encounter issues that video might not play in Screens player.

The following sections describe how to debug and troubleshoot video playing in your channel.

DAM Renditions

Once you upload the video to the channel, AEM should start creating some renditions for it. You can view your videos under Assets

To view the video:

  1. Navigate to your video, for example http://localhost:4502/assets.html/content/dam/we-retail/en/videos.
  2. Click the video and expand the top left menu and click Renditions.

There should be different renditions (a MP4 or M4V).

If there is no rendition, make sure you have ffmpeg installed on the OS where AEM is running.

Caution:

If there is no rendition, make sure you have ffmpeg installed on the OS where AEM is running.

Click here to install ffmpeg.

Video Assets

If you do not see a source attribute under video, it could be that the video did not get transcoded. If the video is transcoded properly, it will appear in the dashboard, as shown in the figure below.

Check ffmpeg is installed and the video profiles. 

chlimage_1

Checking Video Profile

  1. Navigate to the Video Profile and click Upload Test Video.

    chlimage_1
  2. Upload a test video and click Ok to begin the transcoding.

    If the transcode fails, expand the ffmpeg output to understand any errors in the console output of ffmpeg.

    chlimage_1

    Also, if the video transcodes successfully can download the transcoded file.

    chlimage_1

    Note:

    Make sure you give sufficient time for the video to transcode (it should show the tag new instead of processing) before you add it to any channel.

Checking Profile with a Video Component

Check the list of profiles from the page design if the video component is not configured properly.

  1. Navigate to your channel and select the Design mode.

    chlimage_1
  2. Select the video and open the Edit dialog. Open the Profiles tab.

    Select different profiles (at least "High Quality H.264" profile should be there).

     

    chlimage_1

Checking the Video in the Web Player

Use the Web Player to validate playback in browsers (Chrome and Safari). Chrome is used on Android devices while Safari is the OSX and iOS browser.

If the video does not run on Safari, it will not run in the OSX and iOS players. This is probably an encoding issue and the video must be re-encoded.

Follow these steps to use a DAM workflow to create FullHD renditions:

  1. Navigate to the workflow model admin.
  2. Select the Screens Update Asset model.
  3. click Start Workflow from the action bar to open the Run Workflow dialog box.
  4. Select your video asset in the Payload.
  5. Click Run.

Note:

Allow some time to create the renditions, but after a few seconds/minutes (depends on video size), reload the web player on Safari.

Syncing Video across Multiple Players

To play videos synchronously across multiple devices, you should use the absolute strategy for the sequence the video is part of.

Requirements

  • identical 2+ players (2+ VIA boxes, 2+ OSX boxes)
  • ideally similar hardware
  • identical network topology (players are connected to an NTP server that aligns their internal system clocks)

Setting up the absolute strategy

The absolute strategy:

  • computes an anchor time (midnight of the current day)
  • computes the duration of the sequence (sum of duration of all its item)
  • at any point in time, it computes which item should be currently played and the next item by solving sequence _remaining_time = (current_time - anchor_time) % sequence_duration.

Follow the steps below to set up an absolute strategy:

  1. Navigate to your channel author and select the sequence component as shown in the figure below.
  2. Open its configuration dialog.
  3. Edit the Strategy and add absolute.
chlimage_1

Note:

The OS of the players must have the same clock.

Aligning Clocks on OS X

Follow the steps below to align the clocks on OSX:

  1. On each OSX box, open Date & Time preferences
  2. Check Set date and time automatically
  3. Paste value 0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org, time.apple.com in the dropdown or simply run sudo ntpdate -u -v 0.pool.ntp.org
  4. Start the 2+ players

It takes certain time for the players to start a new aligned sequence. For debugging purposes, you can use this counter to visualize when the next sequence item will play and align the sequence items.

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