Re: [video-codec] NHW Project - new version - very high compression - Interesting for IETF?

Raphael Canut <nhwcodec@gmail.com> Thu, 04 October 2018 23:59 UTC

Return-Path: <nhwcodec@gmail.com>
X-Original-To: video-codec@ietfa.amsl.com
Delivered-To: video-codec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BCAC129385 for <video-codec@ietfa.amsl.com>; Thu, 4 Oct 2018 16:59:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 8NgcLXg-xMf4 for <video-codec@ietfa.amsl.com>; Thu, 4 Oct 2018 16:59:32 -0700 (PDT)
Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 90344130E85 for <video-codec@ietf.org>; Thu, 4 Oct 2018 16:59:31 -0700 (PDT)
Received: by mail-lj1-x22b.google.com with SMTP id o14-v6so10016905ljj.2 for <video-codec@ietf.org>; Thu, 04 Oct 2018 16:59:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=dkQUjQB83nqKdrSxOkgX2NU+hp2nthM0XQjCng+kOS4=; b=tNf78UsUnmbGRQP7rF5cnxVfgEbF2t+v4X+QFlrr4LjFrgXDAFfSwX4tvvoj3+FQPL rGJ3iKgrE2+SK3wQTzZPHvE6Y0Tj4wxeVDX6i9BApJIQRzI8xbtKpA7mjQpkZg9DMKtz rvfhxIjQm5mWfJy2sqkWVUUVzCBfYlBmX82Di9M3GEHMfaql9y8LIC8w0evUGknGMOHa aw9MzQA0eExyFsFtkTQRNLVW8LuCUylyIAOLqL/2YsOTvG+Uo1MsEAN738jyb02e5UQa hcmSCKTVe32k0/HU8ot9cBC8DWREinA+ftE07RFzYzTas8HwM4mAwoujo+evw2oupR6c 3RqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=dkQUjQB83nqKdrSxOkgX2NU+hp2nthM0XQjCng+kOS4=; b=NzCHdtSc+rNTMO0mDXsBEV5dUv0nLmqewaHBOhtpwh8FmH+udLCV3IAKkeEcS3js+A iXDwiKsGRuLGqlNo5lWyc6lJycAR94uPE3pF4MPkuX5khZXFZ50sJ4jB63PypreDovMH nwD4spErajjqOgKFiLbPDcuysk2ZKGpAuGghRAhgUP0KlGsOqDy5GoZiooXpIhLNad3D AVHyKHr/yjfrW/uoSs7KH++a5omBeW8obAjOt3/4T+3HrvIFzwsJwsOREstTiK3hhK5k 7m3Ki60IYu4U1yVvDRjXFW1ZXPPgM/y3lA4jK1OGB9AoMXMeJ31j8xv91xSG+FRrXNW2 buWQ==
X-Gm-Message-State: ABuFfoh+63SxWJzpxXj/CAeLff32JBYuid0A6qpdmzkjWAiN6xdNctI+ +QlNv/OXM53NTQ5mWZ8QRfYDlVcOCLrOnrhMxQ3J3rGz
X-Google-Smtp-Source: ACcGV60s27OkgPOght/dLBp+TP+I7qhU9Xh8wNVcqLYArWmFey1NsSkTN1/N8aOqm1aON3nqrrqMjidsXcCqs6rNcks=
X-Received: by 2002:a2e:8884:: with SMTP id k4-v6mr335509lji.145.1538697569617; Thu, 04 Oct 2018 16:59:29 -0700 (PDT)
MIME-Version: 1.0
References: <CAKE58qHX4bmskJb+BWEHOhcxSiDy9ZOxd8B94HAZVomRzs0sXw@mail.gmail.com> <20181004123724.GK26818@michaelspb> <CAKE58qHaa5u+SAT92gWY8oh-iKjbtNq-ANEn7Vb3o=wdsjUZ-A@mail.gmail.com> <20181004232440.GL26818@michaelspb>
In-Reply-To: <20181004232440.GL26818@michaelspb>
From: Raphael Canut <nhwcodec@gmail.com>
Date: Fri, 05 Oct 2018 01:59:16 +0200
Message-ID: <CAKE58qHFcCm18kB6gnqG63Fdan3KYF0O+aVeetLVG7Lk4p_FSg@mail.gmail.com>
To: Michael Niedermayer <michael@niedermayer.cc>, video-codec@ietf.org
Content-Type: multipart/alternative; boundary="0000000000000dcaa605776ff20b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/video-codec/nqLJHfIUxsrdViXuHvOEgNuievQ>
Subject: Re: [video-codec] NHW Project - new version - very high compression - Interesting for IETF?
X-BeenThere: video-codec@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Video codec BoF discussion list <video-codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/video-codec>, <mailto:video-codec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/video-codec/>
List-Post: <mailto:video-codec@ietf.org>
List-Help: <mailto:video-codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/video-codec>, <mailto:video-codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Oct 2018 23:59:36 -0000

 Hello Michael,

Actually my codec is very lossy-oriented, and generally what works in
lossy, doesn't really work in lossless... Lossy and lossless are two
different things...

For now at first glance, I don't see really good ideas from lossy NHW
Project to improve lossless FFV1... but I will study it deeper.Even my
entropy coding schemes are for lossy scheme...

What I can advice, but you certainly already know it, I have read recently
(on the encode.ru forum) that some developers have implemented good new
image models (context and predictors) to the paq8px compressor which gave
them even better compression, but I think it is complex.The paq8px
compressor has then very good results on lossless image compression but is
slow... Maybe if you are interested in these new image models, you can
contact them.

If I go through new good ideas while developing the NHW Project that could
be useful to FFV1, I will let you know.

Many thanks again!
Kind regards,
Raphael Canut

Le ven. 5 oct. 2018 à 01:24, Michael Niedermayer <michael@niedermayer.cc> a
écrit :

> Hi Raphael
>
> Thu, Oct 04, 2018 at 03:59:08PM +0200, Raphael Canut wrote:
> > Hello Michael,
> >
> > Many thanks for your answer Sir!
> >
>
> > It interests me a lot that the NHW Project algorithm would be studied for
> > the great FFV1 codec!
>
> I think it would only be studied if someone (like for example you) would
> do that study, that is compare it to current ffv1 and suggest it as an
> algorithm for a future version. Of course you would only do that if/when
> you see that as making sense. For example when it is better than the
> current code, supports lossless and arbitrary image sizes ...
>
> What i wanted to say with my reply is more that suggestions to extend
> ffv1 in ways that improve it would be welcome.
>
>
> >
> > Just first I wanted to point out that the NHW Project is very
> experimental
> > for now.For example there is no lossless mode and it is now only for
> > 512x512 image size...
> >
>
> > Do you plan to add to FFV1 a lossy intra-coded picture mode?
>
> That would only make sense if that is either a very simple & natural
> extension
> to existing code or if it adds significant value over other existing
> codecs.
>
>
> >
> > Maybe first and before going deeper, you can try the NHW Project and see
> if
> > in its current state it can be interesting for FFV1?
> >
> > Many thanks again!
> > Cheers,
> > Raphael
> >
> >
> >
> > Le jeu. 4 oct. 2018 à 14:37, Michael Niedermayer <michael@niedermayer.cc>
> a
> > écrit :
> >
> > > Hi Raphael
> > >
> > > On Wed, Oct 03, 2018 at 06:42:01PM +0200, Raphael Canut wrote:
> > > > Hello,
> > > >
> > > > Maybe it could be interesting for professional people of this list, I
> > > have
> > > > improved the NHW Project image compression codec.
> > > >
> > > > This new version is better and I have added very high compression,
> which
> > > is
> > > > very competitive with x265 (HEVC).Maybe this version could be now
> > > > interesting for the IETF video codec working group...
> > > >
> > > > For reminder, the NHW Project has more neatness than x265 (HEVC) and
> I
> > > find
> > > > it visually more pleasant, it is royalty-free, and it is at least 50x
> > > > faster to encode and at least 15x faster to decode than x265
> (optimized
> > > > HEVC)! So it is meeting the criteria of the IETF video codec.
> > > >
> > > > You can find more at: http://nhwcodec.blogspot.com/
> > > >
> > > > Sorry again if you find that I am "spamming" the list (do not
> hesitate to
> > > > let me know), but it is extremely difficult for me to reach the
> Industry
> > > > for my codec.
> > >
> > > I cant speak about NHW (as i have not looked at it yet) or for IETF
> > > but somewhat on topic and related, if you are interrested in
> > > working on a IETF "standarized" video codec". As the author of the
> > > original FFV1 spec. I and i belive "we" at IETF cellar would be very
> > > interrested
> > > in seeing work done to improve future iterations of FFV1. And while
> > > FFV1 is not a wavelet codec really i think there are no real
> constraints
> > > of what a future v5, v6 or whatever might do, it could use a completely
> > > different algorithm if the people on IETF-cellar feel thats the right
> > > way forward.
> > > I had always imagined long before cellar-IETF existed that future
> > > revissions
> > > of FFV1 would be designed based on some sort of competition between
> > > different algorithms being tested with the aim being simplicity,
> > > high compression, speed and losslessness.
> > > Also image coding and intra only coded video are very closely related,
> > > its basically almost the same problem.
> > >
> > > Thanks
> > >
> > > [...]
> > >
> > > --
> > > Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> > >
> > > No human being will ever know the Truth, for even if they happen to
> say it
> > > by chance, they would not even known they had done so. -- Xenophanes
> > >
>
> > _______________________________________________
> > video-codec mailing list
> > video-codec@ietf.org
> > https://www.ietf.org/mailman/listinfo/video-codec
>
>
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> No human being will ever know the Truth, for even if they happen to say it
> by chance, they would not even known they had done so. -- Xenophanes
>