Re: [Cellar] define FFV1 in Matroska

Steve Lhomme <slhomme@matroska.org> Sun, 05 February 2017 11:33 UTC

Return-Path: <slhomme@matroska.org>
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 1D73F1294C3 for <cellar@ietfa.amsl.com>; Sun, 5 Feb 2017 03:33:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=matroska-org.20150623.gappssmtp.com
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 6N0E6HWcGBZL for <cellar@ietfa.amsl.com>; Sun, 5 Feb 2017 03:33:25 -0800 (PST)
Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AE27F120724 for <cellar@ietf.org>; Sun, 5 Feb 2017 03:33:25 -0800 (PST)
Received: by mail-yw0-x234.google.com with SMTP id l19so35571429ywc.2 for <cellar@ietf.org>; Sun, 05 Feb 2017 03:33:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=matroska-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=eeQN3s1I6rxaCjH51OBe+kDGJCrkctOIeuMhNi5ncfk=; b=NbNzdtUlfo+7mPAtVzbayJ02BlWc08F+CVzzu5Qb2iKRWdNgn5X+lwlrlB2YuvJQUn H+I8bb5vdTjkhF2zxejs9ZysFV/UEdKKOtlasKMQZluB/jjJmSVzO2o/xyxxkB3+9Mtl +2LIMDKJjCpZly6wow9B0mHDUnRBpYnEQV1OWyzm2vYGwAoNJFiSU4ecBBirBTv+vShp 6Mdp9NY9XoxNtmPbJecIyPAedMP+/gx8KuVPbKNcnejcaaGiiGv0tD0pUgcOVyIV6hVF EKnZ5P5zCn1/c1hOOzE4VTltrLp3G6lt3sdAXJavObDnt1PHRhX1dmG+KpOiDpMEKnId gj/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=eeQN3s1I6rxaCjH51OBe+kDGJCrkctOIeuMhNi5ncfk=; b=KRqprweiglcc5z9d4H81xNC+e9aw0xu7fO7ov8OAaYWl+tnamtH7wZmoP0BzhNdAxV H9YgQNxMlOHPNwVU9mywm9qcQkTAAEx/jlNhlf0SzZttXb3SAYde6Xx7oMl6nDhAmn/L FvQUsyrk/LOZZ7Q+svSLp6XN20Wd9Qo2JGtwc/4vYx7r5lDDh0UCcmF30SZvGvrFKOj8 jbZyKPY/e4cYep8zhgNX2oJckzAGKXNMgLJniIGMzBbDCvo2SvVTwdhpatv9+57w98Xz Zw09JUEx5VJ6P9MZVYH72i23utvO2jK/eNuimfb8paVo0NqWNNd0HzSFhUENVn15Y5do XUMQ==
X-Gm-Message-State: AIkVDXJj87+paPPyuCj2/gRt3MqpQizlsChoKRS/sZ0UAMMZCHfhYkiei2qFCp2ThKt9YrbGChC4BjIb/3eeYg==
X-Received: by 10.13.198.2 with SMTP id i2mr3502325ywd.201.1486294404857; Sun, 05 Feb 2017 03:33:24 -0800 (PST)
MIME-Version: 1.0
Received: by 10.83.46.203 with HTTP; Sun, 5 Feb 2017 03:33:24 -0800 (PST)
In-Reply-To: <C2797F49-CF5B-44F2-A017-E721319C6FB4@dericed.com>
References: <C2797F49-CF5B-44F2-A017-E721319C6FB4@dericed.com>
From: Steve Lhomme <slhomme@matroska.org>
Date: Sun, 05 Feb 2017 12:33:24 +0100
Message-ID: <CAOXsMFLr15uogHzBeRuxMy8L=0AZydJq88DtbCbYyZRxBsdQhA@mail.gmail.com>
To: Dave Rice <dave@dericed.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/pMgbj5_0cYXPjLUS2TlAQ3CJybE>
Cc: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
Subject: Re: [Cellar] define FFV1 in Matroska
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 05 Feb 2017 11:33:27 -0000

2017-02-04 17:00 GMT+01:00 Dave Rice <dave@dericed.com>:
> Hi cellar,
>
> I submitted this pull request to define an FFV1 Codec Mapping for Matroska, https://github.com/Matroska-Org/matroska-specification/pull/94. Currently all FFV1 in Matroska uses the V_MS/VFW/FOURCC Mapping. In addition to what is listed below I think the V_MS/VFW/FOURCC definition may need to be extended to say that when V_MS/VFW/FOURCC is used for FFV1, and the FFV1 is version 3 or greater, then the BITMAPINFOHEADER MUST have the Configuration Record as Private Data.
>
> Comments? Is it advantageous to define this when V_MS/VFW/FOURCC is already the practice?

The VFW codecs should only be for codecs that were primarily found as
Video For Windows codecs, with much less else documentation. For new
formats and/or formats with proper documentation we should use a
properly named mapping. So V_FFV1 is a lot better.

> Here is the text of the proposed Codec Mapping:
>
> ### V_FFV1
>
> Codec ID: V_FFV1
>
> Codec Name: FF Video Codec 1
>
> Description: FFV1 is a lossless intra-frame video encoding format designed to efficiently compress video data in a variety of pixel formats. Compared to uncompressed video, FFV1 offers storage compression, frame fixity, and self-description, which makes FFV1 useful as a preservation or intermediate video format. [Draft FFV1 Specification](https://datatracker.ietf.org/doc/draft-niedermayer-cellar-ffv1/)
>
> Initialisation: For FFV1 versions 2 or less, `Private Data` SHOULD NOT be written. For FFV1 version 3 and greater, the `Private Data` MUST contain the FFV1 Configuration Record structure, as defined in https://tools.ietf.org/html/draft-niedermayer-cellar-ffv1-01#section-4.1, and no other data.

LGTM.

> Dave Rice
>
> _______________________________________________
> Cellar mailing list
> Cellar@ietf.org
> https://www.ietf.org/mailman/listinfo/cellar



-- 
Steve Lhomme
Matroska association Chairman