View on GitHub


Development of this documentation was generously funded by the ARC Centre of Excellence for the Dynamics of Language (CoEDL):

🚧 This page is currently under construction, last edited on 2021-05-25 🚧


This page outlines how to create lossless JPEG2000 .MXF videos using Adobe Media Encoder (CC 2018 or later). This is for digital-to-digital transcoding. Contact PARADISEC if you have analog material to digitise.

PARADISEC adheres to the current best-practice standards for video archiving as set by the International Association of Sound and Audiovisual Archives (IASA).

Define Encoding Settings - Making an Encoding Preset

The first thing we need to do is select the settings that we can use each time we want to create a lossless J2K .MXF video. To do this, we need to create an Encoding Preset. Go to the top Media Encoder CC menu to “Presets” and then select “Create Encoding Preset”. A new Preset window will open up. Look at the image below to see the settings you should choose. Each will be explained below.

Screenshot of Adobe Media Encoder video presets window

Preset name and format

First you should give the preset a meaningful name, I have chosen Lossless J2k (8-bit). The main reason for this particular name is to differentiate this preset from others you might use for different workflows (I will discus why I add the distinction 8-bit below).

For the format, select JPEG 2000 MXF OP1a. Once you select this format, you are then offered these choices for the Based on Preset field:

Chroma depth default options

You can leave the new default of RGBA 4:4:4:4 12-bit (BCs@L5). This value will change once we make further refinements in our settings.

Leave the remaining settings in this section as their defaults (Comments field left blank, Export Video and Export Audio boxes ticked).

Video settings

Edit only settings in the Video and Audio tabs. Settings in the other tabs (Effects, Captions, Publish) should be left untouched.

Because we selected the JPEG 2000 MXF OP1a format above, the video codec will automatically be set to JPEG 2000 in this section. The basic video settings options will have changed to those appropriate for this format.

Make certain Match Source is selected, this will automatically tick all the boxes below (if they are not already), retaining the same settings as those of the original file for the following fields Width, Height, Frame Rate, Field Order, and Aspect [ratio].

Chroma should be set to YUV 4:2:2 with a depth of 8-bit. In the rare case your original video has a colour depth of 10-bit, select the 10-bit option. To determine the bit depth of a video, use MediaInfo; the file’s bit depth is listed in the MediaInfo metadata output report.

Note: If you are using CC2018: Set the Broadcast Profile to Level 6 (Lossless). This determines the maximum sampling and bit rates for the output file. You can see all the drop down choices offered below:

Broadcast profile settings from Adobe Media Encoder 2018

Note: If you are using CC2020: You need only tick the box for Lossless Compression; The Maximum Bitrate and Broadcast Profile automatically get set to 100,000 Mbps and Level 7 - 3200Mbps or Lossless, respectively

Broadcast profile settings from Adobe Media Encoder 2020

Audio settings

There are not many adjustments that need to be made to the audio settings (see image below). The Audio Codec will already be set to Uncompressed with a Sample Rate of 48,000 Hz. due to the choice of the video format of JPEG 2000 MXF OP1a.

Audio preset tab

Make certain the Channels field is set to 2. If you are given a video that has been recorded with surround sound, there could be as many as 6 channels. Our standard is to have 2 channel stereo audio output for our .MXF files. 6 channel video files have caused problems for editing/playback in programs such as Adobe Premiere, etc. Then Set the Sample Size to 24 bit.

The remaining settings

The remaining settings located underneath the tab area should all be left with the default settings (see image below). This means that the following boxes should all be left unticked: Use Maximum Render Quality, Use Previews, Set Start Timecode, and Render Alpha Channel Only.

Remaining miscellaneous settings

Leave the Time Interpolation set to Frame Sampling. This settings handles motion smoothing if you change the output file’s frames per second.

Using MediaInfo to check your output file metadata

MediaInfo is the best method to access all of the file specifications you need in order to understand the structure of your media files. You should know the underlying specifications of your original file before you do any transcoding. This ensures that you are able to set your output settings to match the relevant specs of the original. Below is a side-by-side comparison of the MediaInfo outputs, with added red asterisks to highlight some of the specs to be aware of:

Side-by-side comparison of MediaInfo screenshots for .MTS and .MXF video files

I have pulled out some of those specs for comparison in the table below. You will be creating a video that has an increased file size from the original; this is because the bitrate will have increased substantially due to the transcoding process for lossless .MXF. The durations need to be similar (within +/- 500ms). Unless you clear any changes in specifications with the depositor first, you will need to keep the following specs the same: aspect ratio, frame rate, color space, and bit depth. The audio channels may change from the original; an original video with six audio channels (surround sound) is problematic in Adobe. If the depositor requires the six channels to remain, this workflow will not handle it. Another one will need to be configured.

Finally, the compression mode for the .MXF MUST indicate it is lossless. If it is not lossless, you need to look at your settings and try again.

Name 00050.mts 0005.mxf
Format profile Blu-Ray Video OP-1a v1.2
File size 31.5 MiB 785 MiB
Duration 37 s 350 ms 37 s 440 ms
(Max.) Overall bitrate 13.7 Mb/s 176 Mb/s
Aspect ratio 16:9 16:9
Frame rate 25 fps 25 fps
Color space YUV YUV
Chroma subsampling 4:2:0 4:2:2
Bit depth 8 bits 8 bits
Compression mode n/a LOSSLESS
Audio channels 2 2
Sampling rate 48 kHz 48 kHz

Once you transcode the original file to an .MXF, you will need to take a look at the .MXF file metadata to determine whether or not you have created an appropriate match to the original.

Note: You can do this in batches, as MediaInfo allows you to open multiple files at one time. On a Mac, you get one MediaInfo window with a dropdown menu to select which file you want to see in the active report; on Windows, separate MediaInfo windows will open for each file selected.

Using an MXF player to check the quality of your newly created file

Once you have checked the file metadata with MediaInfo, you will need to play through the entire video to see if there were any issues in your transcoding process. I have created a lossless .MXF that had playback issues, so this step in the quality checking process in very important. Unfortunately, there are not many players that can handle .MXF-formatted video. You need to find a player that lets you see if there is jumpy playback, dropped frames, or any other errors.

Note: VLC can open and play .MXF files, but the playback is always jumpy, so you cannot determine if it is the player or your transcoding that is the source of the jumpy playback. This is not acceptable for our workflow.

I suggest using Telestream’s Switch player. You can get a free trial, but the price for the basic player is under AU$15. With the basic license, the viewer will show the Switch watermark in the upper right corner of the video during playback of .MXF files, but this has no bearing on its functionality for our task, playback. Switch is not to be used in any transcoding or editing capacity.

Screenshot of Telestrea's Switch media player

You can see in the upper left corner that there is some quality reporting. Pay special attention to the dropped frames. If there are any dropped frames, you will need to re-transcode the file.

Note: If you are running other memory hungry programs in the background when you are trying to preview your .MXF with Switch, you will very likely have a report of dropped frames. You should quit all other processes while you are doing your playback reviews.

Explanation of the Specifications used to create lossless MXF

Return to top of page