Re: [Cellar] FFV1 Version 4

Michael Niedermayer <michael@niedermayer.cc> Tue, 05 January 2016 16:31 UTC

Return-Path: <michael@niedermayer.cc>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 64C5B1A89A5 for <cellar@ietfa.amsl.com>; Tue, 5 Jan 2016 08:31:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 LyK8j2ns0oDR for <cellar@ietfa.amsl.com>; Tue, 5 Jan 2016 08:31:50 -0800 (PST)
Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:c:538::197]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7E31E1A899B for <cellar@ietf.org>; Tue, 5 Jan 2016 08:31:50 -0800 (PST)
Received: from mfilter42-d.gandi.net (mfilter42-d.gandi.net [217.70.178.172]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 5D9A341C0A9; Tue, 5 Jan 2016 17:31:49 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mfilter42-d.gandi.net
Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter42-d.gandi.net (mfilter42-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id bmhRVEiJEXRw; Tue, 5 Jan 2016 17:31:47 +0100 (CET)
X-Originating-IP: 213.47.64.66
Received: from localhost (chello213047064066.6.14.vie.surfer.at [213.47.64.66]) (Authenticated sender: michael@niedermayer.cc) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id AC67041C084; Tue, 5 Jan 2016 17:31:47 +0100 (CET)
Date: Tue, 05 Jan 2016 17:30:58 +0100
From: Michael Niedermayer <michael@niedermayer.cc>
To: Kieran O Leary <kieran.o.leary@gmail.com>
Message-ID: <20160105163058.GZ13213@nb4>
References: <CAO7v-1TCNOcqhv=JR5dMWhibD=kLyQwLztk8RG3v-rtegn7s7Q@mail.gmail.com> <20160105160940.GY13213@nb4>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="3NJww9yp20AXRsxZ"
Content-Disposition: inline
In-Reply-To: <20160105160940.GY13213@nb4>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cellar/GyB9v8c2tzMW-o5B4F3fg3t0udk>
Cc: cellar@ietf.org
Subject: Re: [Cellar] FFV1 Version 4
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.15
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, 05 Jan 2016 16:31:52 -0000

On Tue, Jan 05, 2016 at 05:09:40PM +0100, Michael Niedermayer wrote:
> Hi
> 
> On Tue, Jan 05, 2016 at 02:22:46PM +0000, Kieran O Leary wrote:
> > Hello,
> > 
> > I saw on your charter that a milestone for September 2016 is "Submit
> > specification for FFV1 video codec version 4 to IESG (Standards Track)".
> > https://datatracker.ietf.org/wg/cellar/charter/
> > 
> > Is there any information or roadmap available about proposed changes from
> > version 3 to version 4? I'm asking as the added features of Version 3 were
> > significant for moving image archives, and I'm curious to know what version
> > 4 may look like.
> 
> i dont know about roundmaps but what might be in the next version
> i guess depends largly on what volunteers do (spec, implementation
> and testing wise)
> support for bayer "pixel" formats and maybe paletted formats could
> be in it. Some compression improvments by using inter frame prediction
> would be an idea too. But i think 2016-sep is too soon for complex
> additions like inter frames. All these things require trying multiple
> solutions and testing/evaluating how they perform comression, speed
> and complexity wise to see what makes sense to add to the spec

also theres a raw slice coding mode and a more flexible RCT in the
implementation and partly in the draft spec, these likely will be in
version 4 (depening on peoples oppinions i assume)

the "raw" coding mode for slices is needed so a tight upper bound
can be put on the compressed size of slices, otherwise its possible
to construct a sequence of frames where one slice has a compressed
size that is very much larger than its raw size, this would likely
never occur with any real video but contructed videos that push
the range coder statistics one direction and then sharply switch
everything to have completely opposite statistics would result in
a locally bloated up bitstream.
Such bloated up slices would annoyingly require larger buffers to be
allocated to allow encoding them, the raw coding mode puts a
constraint on this so that a buffer that is about as large as the raw
pixels is gurateed to be large enough for coding a slice in some mode.
Reducing the needed memory and complexity of an encoder implementation
and also reducing the worst case local bitrate requirement for
anything else in the chain



[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire