Re: [Cellar] Matroska support for closed captions?

Dave Rice <> Mon, 27 April 2020 15:46 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 9DEDE3A0D87 for <>; Mon, 27 Apr 2020 08:46:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.119
X-Spam-Status: No, score=-1.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id rKlnRQA45N5U for <>; Mon, 27 Apr 2020 08:46:39 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 231323A0DB8 for <>; Mon, 27 Apr 2020 08:46:39 -0700 (PDT)
Received: from ([]:44579 helo=[]) by with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from <>) id 1jT5xp-004O2g-Vo; Mon, 27 Apr 2020 11:46:38 -0400
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.\))
From: Dave Rice <>
In-Reply-To: <>
Date: Mon, 27 Apr 2020 11:46:32 -0400
Cc: "" <>
Content-Transfer-Encoding: quoted-printable
Message-Id: <>
References: <>
To: Scott Shepherd <>
X-Mailer: Apple Mail (2.3608.
X-OutGoing-Spam-Status: No, score=-0.2
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname -
X-AntiAbuse: Original Domain -
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain -
X-Get-Message-Sender-Via: authenticated_id:
X-From-Rewrite: unmodified, already matched
Archived-At: <>
Subject: Re: [Cellar] Matroska support for closed captions?
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Codec Encoding for LossLess Archiving and Realtime transmission <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 27 Apr 2020 15:46:41 -0000

Hi Scott,

> On Apr 22, 2020, at 9:48 AM, Scott Shepherd <> wrote:
> Hi all,
> Are there any plans to expand Matroska capability to contain additional stream types such as timecode and closed captions?

Feel welcome to open a ticket at

> We have some .MXF files (mostly JPEG2000) and are toying with the idea of migrating them to FFV1/.MKV, but currently .MKV can't contain timecode or closed caption streams. While I can’t say I fully understand the need for multiple timecode streams (often there are 3 streams in the .MXF), we’d definitely be losing data where closed captions exist.
> I know that .MKV can hold "attachments," but attachments don't seem like the right solution here. I also know .MKV can hold subtitles, but what we’re seeing in these .MXF files is EIA-608 and EIA-708 closed captions that fail to carry over to .MKV. 

For EIA-608 and EIA-708 data I suppose, either a new type of Codec Mapping could be written (and then these would be a new type of subtitle track) or they could be support as side-data with a BlockAdditionalMapping as described at I’m unsure which technique the community would recommend but curious for some discussion on it.


Best Regards,
Dave Rice