Re: [Cellar] Hark, a decoder!

Kieran O Leary <kieran.o.leary@gmail.com> Mon, 21 October 2019 22:28 UTC

Return-Path: <kieran.o.leary@gmail.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 DD1DF120A62 for <cellar@ietfa.amsl.com>; Mon, 21 Oct 2019 15:28:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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_HELO_NONE=0.001, 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 QRRZ9-1RULxJ for <cellar@ietfa.amsl.com>; Mon, 21 Oct 2019 15:28:28 -0700 (PDT)
Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 DD47D120891 for <cellar@ietf.org>; Mon, 21 Oct 2019 15:28:27 -0700 (PDT)
Received: by mail-qt1-x832.google.com with SMTP id o49so15872842qta.7 for <cellar@ietf.org>; Mon, 21 Oct 2019 15:28:27 -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 :cc; bh=wCxdzM3A5IfGYqTY5bReQeUhhaTUIaoUfUSycIAgec4=; b=P0qFcegz3XTxYo4xcrBp850tjjijsQbDA9/doXtIYVZ2/TMpgfi9jb96qmIEKVcqGi j1d7crG7fTw200SMvLn5SNU0m8fXbiLEB1X3FI+0WR7Eq07hv3hRL3t31lpJJcwHRsMj 4VbAu94NlDbeo1UnFP3aEPzn6s0FVSNGyVzpeErTQrLAaBBU8EH7sRaDnLbMm499LzQb 2De3K3eYE9HxZyhYvRMp0v62n5Wl9EKEwg1SUf7FI4OWCBGCyJDc6gRmiuvm2NcYRcJY NCBGImE4oak8ZdmZYEillPETcPp58AKB7mV9JE3cRc9ZwrUXqZBCPGZrd3SLg7DG3nHb WHjg==
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:cc; bh=wCxdzM3A5IfGYqTY5bReQeUhhaTUIaoUfUSycIAgec4=; b=s9CfIWUWX1bmeAItcTpoiuwXtHNKUf+SHcXzzleXnsdEjDxZVRsQt3JyK6GJ6Wg8V2 O5ltmry0QAGOHEvn9UmFwuhoLqBDfrf9wJBgnSHRcrm+t8NMy7n8JgPtR9HFtgGEAxls AvCnmCwi2Q068KqllkclLnORtaAJ5/WBAoC+07IuN7wJVfExKvM29sqjk3UDY08l9N3p dSSb0f9bcq5/Dgqz8t+COOvPjxf2WCanhyzjcrRKs9iqWGmQjor40GaPbgO4aROXahzF J7YwZWJ9SFia7zQQrmBk69/qkbANWN5rrk2YIEOqw+L/OzkV7RNLARu8I7x6kDK2Ei22 7/GQ==
X-Gm-Message-State: APjAAAXuOuhkqf5mVrXqCRgmozCOqhVP2foSAXL7NtnIUoE1YGCVcy+f bc5LnDApntdDv03F4tU8qtQVW2JjF8TysUbBVw==
X-Google-Smtp-Source: APXvYqylS2PSf+EBl4jXFoTo17TwkfLOUtUdpapr0K/qiA2bU5rCx6vQDl0/4qdIAW4NScPBvyWgX/uSYCoJvWPTj1A=
X-Received: by 2002:aed:3c49:: with SMTP id u9mr161653qte.37.1571696906745; Mon, 21 Oct 2019 15:28:26 -0700 (PDT)
MIME-Version: 1.0
References: <3ef03e7c-a221-1f1f-4345-af82ea3ab080@gmail.com>
In-Reply-To: <3ef03e7c-a221-1f1f-4345-af82ea3ab080@gmail.com>
From: Kieran O Leary <kieran.o.leary@gmail.com>
Date: Mon, 21 Oct 2019 23:28:12 +0100
Message-ID: <CAO7v-1SWd_f6z=_p+J3t4L+6KG9XJaL+XsBxZdThhPNK0COuRA@mail.gmail.com>
To: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Cc: cellar@ietf.org
Content-Type: multipart/alternative; boundary="000000000000d23a010595733336"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/PZc7_6s4lde1_ABPd3srXlW-XSw>
Subject: Re: [Cellar] Hark, a decoder!
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 21 Oct 2019 22:28:30 -0000

Hi Derek

On Mon, 21 Oct 2019, 23:03 Derek Buitenhuis, <derek.buitenhuis@gmail.com>
wrote:

> So over the last few weeks, I wrote an FFV1 decoder from scatch, in Go,
> trying to only reference the spec. Found a fair few spec issues, and
> opened bugs for them all.
>

I think this is a fantastic project and it makes me feel like the
specification is (or will be) much more robust after your project. It's
great to know that future decoders could be built from scratch just using
the spec.


> The idea was rather than make it fast or idiomatic, make it easy to
> map parts of it back to the spec (via names and comments).
>
> So, yeah, kinda ugly right, and very much not fast. It does have basic
> slice threading, though.
>
> Perhaps of use to some people on here.
>

I've never really used Go before but I hope to try this out tomorrow on
some of our files.



> Link: https://github.com/dwbuiten/go-ffv1
>
> Please note it only handles version 3 FFV1 files.
>

Thanks for this awesome work.

Best,

Kieran O'Leary,

Irish Film Institute


> Cheers,
> - Derek
>
> _______________________________________________
> Cellar mailing list
> Cellar@ietf.org
> https://www.ietf.org/mailman/listinfo/cellar
>