Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Mark Thompson <sw@jkqxz.net>
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCH] fate: Add test for APV 422-10 profile
Date: Sun, 27 Apr 2025 19:13:45 +0100
Message-ID: <20250427181350.502684-1-sw@jkqxz.net> (raw)

Bitstream generated using the reference encoder, then edited to fix the
colour description and an extra metadata block added.  FFmpeg decoder
output is identical to the reference decoder output.

The content used is the first three frames of "Waterfall" from the SVT
Open Content Video Test Suite 2022.  This is copyright Sveriges
Television AB and is used under the Creative Commons Attribution 4.0
International License.
---
Required sample is at <https://0x0.st/8WNx.apv>.  Please upload as "fate/apv/profile_422-10.apv" (new directory).

Currently the reference encoder only generates 422-10 profile output (profile_idc == 33).  The output stream looks right other than the profile_idc value for other profiles such as 444-10 or 400-10, but I think it is better to wait until they are officially supported before generating a reference sample.

Thanks,

- Mark

 tests/Makefile            | 1 +
 tests/fate/apv.mak        | 7 +++++++
 tests/ref/fate/apv-422-10 | 8 ++++++++
 3 files changed, 16 insertions(+)
 create mode 100644 tests/fate/apv.mak
 create mode 100644 tests/ref/fate/apv-422-10

diff --git a/tests/Makefile b/tests/Makefile
index 0c08f68713..68e68f5241 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -156,6 +156,7 @@ include $(SRC_PATH)/tests/fate/amrnb.mak
 include $(SRC_PATH)/tests/fate/amrwb.mak
 include $(SRC_PATH)/tests/fate/api.mak
 include $(SRC_PATH)/tests/fate/apng.mak
+include $(SRC_PATH)/tests/fate/apv.mak
 include $(SRC_PATH)/tests/fate/atrac.mak
 include $(SRC_PATH)/tests/fate/audio.mak
 include $(SRC_PATH)/tests/fate/bmp.mak
diff --git a/tests/fate/apv.mak b/tests/fate/apv.mak
new file mode 100644
index 0000000000..37e0b9f7be
--- /dev/null
+++ b/tests/fate/apv.mak
@@ -0,0 +1,7 @@
+FATE_APV = fate-apv-422-10
+
+FATE_SAMPLES_FFMPEG-$(call FRAMECRC, APV, APV, SCALE_FILTER) += $(FATE_APV)
+
+fate-apv:	$(FATE_APV)
+
+fate-apv-422-10:	CMD = framecrc -i $(TARGET_SAMPLES)/apv/profile_422-10.apv -pix_fmt yuv422p10le -vf scale
diff --git a/tests/ref/fate/apv-422-10 b/tests/ref/fate/apv-422-10
new file mode 100644
index 0000000000..d000751207
--- /dev/null
+++ b/tests/ref/fate/apv-422-10
@@ -0,0 +1,8 @@
+#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x180
+#sar 0: 1/1
+0,          0,          0,        1,   230400, 0x07f1e56d
+0,          1,          1,        1,   230400, 0x0bd1c913
+0,          2,          2,        1,   230400, 0xefd02824
-- 
2.47.2

_______________________________________________
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".

             reply	other threads:[~2025-04-27 18:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-27 18:13 Mark Thompson [this message]
2025-04-27 19:58 ` James Almer
2025-04-30 22:11   ` Mark Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250427181350.502684-1-sw@jkqxz.net \
    --to=sw@jkqxz.net \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git