You can read compressed files with the MPEG2, H264, HAP, or Apple ProRes codecs.

We rather recommend the HAP codec, lighter to decode and directly managing the alpha channel.
Apple ProRes is a good option for a direct workflow, very good quality and less intensive than H264.
H264 requires more CPU resources from the server but it is preferable if you want to have small video files with multiplexed audio tracks.
The video files must be in progressive. It is not possible to deinterlace directly the files on Modulo Player.
If the servers have a base of 60 (EDID in 60), you have to play files in 30P or in 60P.
If the servers have a base of 50 (EDID in 50), you have to play files in 25P or in 50P.

MPEG2

MPEG2 (Extensions MPV, MPG, M2V…):
Files must have a width divisible by 16 and a* height divisible by 8*.
Files must be compressed in constant bitrate, and preferably* between 10 and 40 MBit/s*.

H264

H264 (Extensions MP4 or MOV):
Files must have a width and a height divisible by 2 (pair).
Files must be compressed in constant bitrate, and preferably between 5 and 40 MBit/s.
The maximum resolution is 4096 × 2304 pixels. If your media is larger, you need to split your media.
Select a High Profile and Level 5.1 (or 5.2). Select CBR and a bitrate value.

Bitrate parameters

The ideal bitrate depends on file resolution and scene complexity: The higher the resolution, the more necessary it is to increase bitrate.
Take into consideration the number of simultaneous files to play, including the crossfade:

  • If you play a few files with large resolution simultaneously, increase the bitrate
  • f you want to play multiple HD files simultaneously, it is preferable to lower the bitrate

To be considered of the same quality, a file encoded in H264 requires a two-times lower bitrate than the MPEG2. In comparison, a blueray H264 is usually encoded in a maximum bitrate of 15 MBit/s.
For example, for 4 outputs playing simultaneously 4 videos that fade in to 4 other videos, the player will playback 8 videos during the transition.

HAP

HAP / HAP Alpha / HAP Q (Extension MOV):
Modulo Player natively supports the HAP codec with graphics acceleration support: It is possible to playback a .mov video file encoded with the HAP, HAP Alpha or HAP Q codec.
HAP:
Reasonable image quality.
HAP Alpha:
Reasonable image quality with an Alpha channel.
HAP Q:
Good image quality at a higher data-rate, no Alpha layer management.

NB: It is currently not possible to playback audio within a .mov HAP, HAP Alpha ou HAP Q codec.

Apple ProRes

Apple ProRes (Extension MOV):
Modulo Player natively supports the Apple ProRes codecs.
It is possible to playback a .mov video file encoded with the Apple ProRes 422 codec.

NB: It is currently not possible to playback audio within an Apple ProRes .mov file.

Export H264
Export from After Effects CC
To export your media via After Effects CC, you have to send your composition to export using Adobe Media Encoder CC:
1. Select the composition you want to export and go to File > Export
2. From the Export list, select “Add to Adobe Media Encoder Queue ”:
Adobe Media Encoder CC will then automatically open with the preloaded composition.
Files must have a width and a height divisible by 2 (pair).

Export from Adobe Media Encoder CC
You can directly encode your media by importing it to Adobe Media Encoder.
1. Choose the H264 codec (CERTAINLY DO NOT use the Quicktime format with the H264 codec).
2. Choose High Profile and Level 5.1 (or 5.2). Choose CBR and a bitrate value.
3. Once the export is done, make sure the file is readable and shows the correct framerate by importing it in After Effects.

Export HAP
Export from Adobe Media Encoder CC
To encode and playback the HAP codec, download the latest codec for QuickTime on the page: https://github.com/Vidvox/hap-qt-codec/releases/
Install the plugin (Mac or PC).
Then, you can directly encode your media by importing it to Adobe Media Encoder.
1. Select the QuickTime format, and the HAP, HAP Alpha or HAP Q codec.
2. Select 100 Quality and Progressive. Keep a Square pixel aspect ratio (1,0).
3. Once the export is done, make sure the file is readable and shows the correct framerate by importing it in After Effects.

HAP and HAP Alpha have a quality setting.
Although QuickTime displays a slider, it has only two effective settings:

  • Below “High”, a fast low-quality encoder is used
  • At “High or above, a slower high-quality encoder is used


.

MPEG2 / H264 and Alpha channel

It is possible to playback a video MPEG2 / H264 or image file with an Alpha channel.
To maintain an Alpha channel from an After Effects composition, simply import the media twice in Modulo Player and follow the example below:

Alpha channel export
Export from After Effects CC
After following the export procedure of example, re-import the composition in After Effects CC.
1. From the Effect dropdown menu, select Channel > Channel Combiner

2. Select Alpha for source (From)

3. Select Lightness only for target (To)
NB: To test the Alpha transparency, you can add a solid color layer under the video layer, as shown in the example (don’t forget to hide the visibility of the color layer before export):

4. Add the Alpha composition to the Adobe Media Encoder Render Queue, and export the separate Alpha channel with the same parameters as in example above.

Alpha layer configuration in Modulo Player

Follow the next steps to configure Alpha transparency in Modulo Player:

1. Import the file in RGB and Alpha mode.

2. Place Background media on Layer 1.

3. On Layer 3, place the media exported in Alpha mode, from the Mask dropdown menu, select Grey.

4. On Layer 4, place the media exported in RGB mode.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.