Re: [Cellar] Matroska Format Version 4 / Version 2

Dave Rice <dave@dericed.com> Tue, 27 March 2018 13:38 UTC

Return-Path: <dave@dericed.com>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E2F8712DA12 for <cellar@ietfa.amsl.com>; Tue, 27 Mar 2018 06:38:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.119
X-Spam-Level:
X-Spam-Status: No, score=-1.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tthF6L2NYZWq for <cellar@ietfa.amsl.com>; Tue, 27 Mar 2018 06:37:59 -0700 (PDT)
Received: from server172-2.web-hosting.com (server172-2.web-hosting.com [68.65.122.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4874812DA14 for <cellar@ietf.org>; Tue, 27 Mar 2018 06:37:59 -0700 (PDT)
Received: from [146.96.19.240] (port=52159 helo=[10.10.201.39]) by server172.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from <dave@dericed.com>) id 1f0onC-000l7m-KB; Tue, 27 Mar 2018 09:37:43 -0400
From: Dave Rice <dave@dericed.com>
Message-Id: <9901978D-4FA4-4698-A4D2-B4CF7A75D668@dericed.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_011CF1AD-2065-401F-91D8-453EF5C97BC3"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Tue, 27 Mar 2018 09:37:32 -0400
In-Reply-To: <CAO7v-1TyRkJnss2r6php18DWCc8UQ8jhcte5Fp+AufxNdxUHnQ@mail.gmail.com>
Cc: cellar@ietf.org
To: Kieran O Leary <kieran.o.leary@gmail.com>
References: <CAO7v-1TyRkJnss2r6php18DWCc8UQ8jhcte5Fp+AufxNdxUHnQ@mail.gmail.com>
X-Mailer: Apple Mail (2.3273)
X-OutGoing-Spam-Status: No, score=-2.9
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server172.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - dericed.com
X-Get-Message-Sender-Via: server172.web-hosting.com: authenticated_id: dave@dericed.com
X-Authenticated-Sender: server172.web-hosting.com: dave@dericed.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/xyHphDzRdUL9pUkpXFhReDN1Wcw>
Subject: Re: [Cellar] Matroska Format Version 4 / Version 2
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Codec Encoding for LossLess Archiving and Realtime transmission <cellar.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cellar>, <mailto:cellar-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cellar/>
List-Post: <mailto:cellar@ietf.org>
List-Help: <mailto:cellar-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cellar>, <mailto:cellar-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Mar 2018 13:38:01 -0000

> On Mar 22, 2018, at 4:09 PM, Kieran O Leary <kieran.o.leary@gmail.com> wrote:
> 
> Hi,
> 
> I am wondering about the format_version value that mediainfo produces.
> 
> mediainfo out.mkv |grep -i format
> Format                                   : Matroska
> Format version                           : Version 4 / Version 2
> Format                                   : FFV1
> Format version                           : Version 3.4
> 
> What does the Version 4/2 refer to?
> 
> When looking into the trace output, I found these values:
> mediainfo --Details=1 out.mkv |grep -i version
> 0000C  EBMLVersion - 1 (0x1) (4 bytes)
> 00010  EBMLReadVersion - 1 (0x1) (4 bytes)
> 00027  DocTypeVersion - 4 (0x4) (4 bytes)
> 0002B  DocTypeReadVersion - 2 (0x2) (4 bytes)
> 001FB        version:                         3 (0x00000003)
> 001FC        micro_version:                   4 (0x00000004)
> 
> 
> Is it possibly referring to the DocTypeVersion being 4, and the
> DocTypeReadVersion being 2? Which, from my reading of the specs, means
> that software supporting Matroska version 2 is enough the play back
> the file, though there may be features present that require a reading
> application to support version 4?

That’s correct. See the first and last lines highlighted here: https://github.com/MediaArea/MediaInfoLib/blob/d8fd88a1c282d1c09388c55ee0b46029e7330690/Source/MediaInfo/Multiple/File_Mk.cpp#L2063-L2076 <https://github.com/MediaArea/MediaInfoLib/blob/d8fd88a1c282d1c09388c55ee0b46029e7330690/Source/MediaInfo/Multiple/File_Mk.cpp#L2063-L2076>.
Dave Rice