Re: [Cellar] FFV1: FFmpeg default version is "0"?

"Peter B." <pb@das-werkstatt.com> Tue, 08 November 2022 12:17 UTC

Return-Path: <pb@das-werkstatt.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 9F67EC14F720 for <cellar@ietfa.amsl.com>; Tue, 8 Nov 2022 04:17:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.206
X-Spam-Level:
X-Spam-Status: No, score=-4.206 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2akWgWeQuk9q for <cellar@ietfa.amsl.com>; Tue, 8 Nov 2022 04:17:12 -0800 (PST)
Received: from zucker.schokokeks.org (zucker.schokokeks.org [178.63.68.96]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E91F3C14CE37 for <cellar@ietf.org>; Tue, 8 Nov 2022 04:17:10 -0800 (PST)
Message-ID: <5b9e8a8d-20f3-d957-7efa-3fcb3380f464@das-werkstatt.com>
Date: Tue, 08 Nov 2022 13:17:06 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2
Content-Language: en-US
To: cellar@ietf.org
References: <8ccfd556-1a7e-2e58-bd5f-15e47b5c00b5@das-werkstatt.com> <4cb08010-b3b0-742d-6d40-02a64a4f35dd@mediaarea.net>
From: "Peter B." <pb@das-werkstatt.com>
In-Reply-To: <4cb08010-b3b0-742d-6d40-02a64a4f35dd@mediaarea.net>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/-nvKLPmrgttu7rttm63AovJKcYE>
Subject: Re: [Cellar] FFV1: FFmpeg default version is "0"?
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.39
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, 08 Nov 2022 12:17:16 -0000

Me again :)

On 08.11.22 12:49, Jerome Martinez wrote:
> Actually it depends on the count of pixels (trigger is if > 720x576)

And if another option is set that'd require a newer version.
Like "-slicecrc 1" will (of course) switch to FFV1.3 (even if resolution 
is SD).

Would it make sense (and be doable) to show FFV1's version somewhere here?
And/or to show a message if something triggered a different version 
(than default)?

Similar to:
"[ffv1 @ 0x5591491a1e40] bits_per_raw_sample > 8, forcing range coder"

FFmpeg is usually very proper in letting one know when certain decisions 
were made automatically.
Would seem consistent IMO.



btw:
I'm also using MediaInfo to check which version of FFV1 is encoded, but 
this information does not seem visible in ffmpeg/ffprobe. At least not 
in the default output.


For example:
========================
Input #0, matroska,webm, from 'delme.mkv':
   Metadata:
     ENCODER         : Lavf58.29.100
   Duration: 00:00:00.04, start: 0.000000, bitrate: 2814 kb/s
   Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), bgr0, 720x576, SAR 1:1 
DAR 5:4, 25 fps, 25 tbr, 1k tbn (default)
     Metadata:
       ENCODER         : Lavc58.54.100 ffv1
       DURATION        : 00:00:00.040000000
========================





Kind regards,
Peter