From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E642D47CD7 for ; Wed, 18 Oct 2023 01:06:50 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7945868C966; Wed, 18 Oct 2023 04:06:47 +0300 (EEST) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CF3DB68B9BF for ; Wed, 18 Oct 2023 04:06:40 +0300 (EEST) Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id 5DF381060170 for ; Wed, 18 Oct 2023 01:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1697591199; s=s1; d=lynne.ee; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=rfiX6Ky0nI4XWPUc2QiZJnl1UTriTpwzHE6WYCMdVOU=; b=KxI+Qtv+uSnHc9wpb5Myp76hcbe5f/AHF+eWPkfeUlQB0yLrH5pcpf59pZiFCYsy x0wNO4HcN4PJyMmO4s1iIfFt5doIob21y9i2kf3kpLYpxkwVFxyV+q6dcgR2dyBwJjE AMJg3JOtkCWjvZqkRuLU8TQyfcWUR9eZU2J7yXXH1gPsapDoUWDgSYgrZwTy+CbyuAZ 6fxJLUZm/nAWb0ygVgV1W+zkAZ/ST2OaB2hl+RlqLjrhxbxJ3tXDGTKaAyHPTw2IfJk O6Lv40VHUck6F40kyZatWAUemXB/eEMfLt7abaWJAUP+3hq4NxuOMdYjTUEyszVQU0r V2SrhE0cZQ== Date: Wed, 18 Oct 2023 03:06:39 +0200 (CEST) From: Lynne To: Chema Gonzalez via ffmpeg-devel Message-ID: In-Reply-To: References: MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [RFC] A file format to store generic raw image/video files X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Oct 18, 2023, 00:12 by ffmpeg-devel@ffmpeg.org: > # RFC: A file format to store generic raw image/video files > > Context: Developers and researchers often want to use raw image/video > files, as they avoid the effects of encoding. Dealing with raw > image/video files is typically done using raw files. This is an > operational pain point, as the metadata about the file needs to be > carried out on the side. Raw video/image metadata includes (at least) > pixel format (aka `pix_fmt`), width, height, framerate, and others. > > For example, in order to read a specific rgba file that I got from a > shader, I need to write: > ``` > $ ffmpeg -y -f rawvideo -video_size 1920x1080 -pix_fmt rgba -i > post_shader.1920x1080.rgba -vf scale="out_color_matrix=bt601" out.png > ``` > There's already NUT, which does all this. It is a documented standard, it has a reference library outside of FFmpeg, and built-in support. https://git.ffmpeg.org/gitweb/nut.git/blob/HEAD:/docs/nut.txt Also, I've been working on AVTransport, https://github.com/cyanreg/avtransport/blob/master/draft-avtransport-spec.md Which has all of this, plus much more. Additionally, Y4M has already been extended, and can be arbitrarily extended. It even does chroma positions now. These three containers cover pretty much all niches - from simple container anyone can write out in 30 minutes, to something slightly more complicated that isn't too difficult to write by copy-pasting, to something that requires a little more copy pasting to write out a simple stream. I don't think there's room for anything in between. Especially now that ISOBMFF also has an uncompressed mode, for which we've had requests to implement. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".