From patchwork Fri Jan 21 21:05:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Anthony Lemieux X-Patchwork-Id: 33745 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:cd86:0:0:0:0:0 with SMTP id d128csp818947iog; Fri, 21 Jan 2022 13:05:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJz94EVVCMU5luZ5vckdL4fQFEcKVcNcreobQrmqleHHq02l7cqWjEPhfBF0f34vPWzqORx9 X-Received: by 2002:aa7:d554:: with SMTP id u20mr5899669edr.322.1642799158819; Fri, 21 Jan 2022 13:05:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642799158; cv=none; d=google.com; s=arc-20160816; b=LFYtKmn/EpSNr+KaJMjf/12yj6T8LuIA0fsi/WlsEhHdv2xMzCI6QXTqHLvKEl7SfB 1mOQW3fNSXDsClgCS65hktcvWA8kILA8mGIqJR6aQO8V6vcyynGaH9dQNJpIVfGNnTSN x7mlsIIhxaRkSWDqbwdw0gMxAGTyW2XFE7i1k7a8t9VdQtqr8qzyXcGqCoG6vnggyrRl /qLn4JJMt1yyP6npu4zwGyk1ov939OnMXkk9N2kHh4IuTnhNNTYRrAKU3rZ2VE01j0OO T9bE5E9sqpcGVUyErtkTRh5MmUhNqkXamb1KGeYqnjn+pfJdbhqoP2sWiQD0pEKdpTSi LbWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :delivered-to; bh=OJZJziWJdUnbDpU1ANgPB2Bv88ncR5sqTU2G/vjuXsE=; b=wHQXMZv1dMQD8rIf4iLn7WG+VllPf4psXjvjhSW7+OmY+6EiQ7bDJ4jtzojVk5xtdt 0EByWWou+e1of9Y2lHp7gxVCgkc5Umuizc24H0khQ9aeuOWrKc4kwALspPyHk9SL3/r8 22oFgogL3jj+pNGkTGLcGxADUR8sCLSUE0nIPIL8FZDD+UFdyc4M3dIqybnbsjRsqiCL WsGsDqUXgDrr1A0+HvaFRNy1LBq1vdCWmmpB5FePcRNqmIRGNJz04P+U1xEU+OjkENk0 cBALqi8cA4LLHE2rv5EA7XS370m+z0LjT6vlGuyUen7byuTZjHtsqhlFkSnuuAUoe0zK qhkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id hv20si153412ejc.1008.2022.01.21.13.05.57; Fri, 21 Jan 2022 13:05:58 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4775568008D; Fri, 21 Jan 2022 23:05:54 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5ED5968B0E6 for ; Fri, 21 Jan 2022 23:05:47 +0200 (EET) Received: by mail-pj1-f50.google.com with SMTP id d15-20020a17090a110f00b001b4e7d27474so10105064pja.2 for ; Fri, 21 Jan 2022 13:05:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OEV8c09ESfiRtbBWWZvElpQ4+jKtIGkbQp7qw9pcvvc=; b=M4o1mhXLBP7A4MlR/1jw3cPFIxJUBmPYZE802XhkZftUyyMXMuGgJIzYUtxYCoNKxs CRk8N7IP7HnA8XRHM5rkZgTY8WonKJPWqWu5VTcvRpYXRz3YiaVGtln/wQ3asnblpl9i KXNT/HAUXUxJfIKXaOpEhIXhIrtGTXBqsGsNEUyCB3dLNWg3t/zRlsMZch6r0ReybfTG cCTUlfg1hlBHJ7qR6IeOHipDb8FCud0L4ikoPxhXbhi3NCx6lDtyR9NRxQ2RwnuiLDd/ geO80Yw/eP2IQNHyBOtD1k5Wm2zQFQAJwi1ax33qklw+ygKXU0qzKz/q6MiwAS5PiGd4 YqFA== X-Gm-Message-State: AOAM533tLghJH4H8USL0ag6UJuQX4G6PTHAQxIBWxhbuyAhxBD1IsrP/ IBoOxqIy/3D+ulfZEVK4z3As7Cj0z1g= X-Received: by 2002:a17:90a:1b2b:: with SMTP id q40mr2464717pjq.92.1642799144528; Fri, 21 Jan 2022 13:05:44 -0800 (PST) Received: from localhost (76-14-89-2.sf-cable.astound.net. [76.14.89.2]) by smtp.gmail.com with ESMTPSA id pc7sm6741761pjb.0.2022.01.21.13.05.42 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 21 Jan 2022 13:05:43 -0800 (PST) Received: by localhost (sSMTP sendmail emulation); Fri, 21 Jan 2022 13:05:34 -0800 From: pal@sandflow.com To: ffmpeg-devel@ffmpeg.org Date: Fri, 21 Jan 2022 13:05:33 -0800 Message-Id: <20220121210533.5308-1-pal@sandflow.com> X-Mailer: git-send-email 2.34.1.windows.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v5] avformat/imf: add IMF CPL with repeated resources to FATE 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 Cc: Pierre-Anthony Lemieux Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: HXbiA69D6263 From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: The `fate-imf-cpl-with-repeat` target requires following files (<256 kB) to placed under $(TARGET_SAMPLES)/imf/countdown/: http://ffmpeg-imf-samples-public.s3-website-us-west-1.amazonaws.com/countdown-small/ASSETMAP.xml http://ffmpeg-imf-samples-public.s3-website-us-west-1.amazonaws.com/countdown-small/CPL_bb2ce11c-1bb6-4781-8e69-967183d02b9b.xml http://ffmpeg-imf-samples-public.s3-website-us-west-1.amazonaws.com/countdown-small/PKL_c8f6716b-0dfa-4062-8569-98fc77637287.xml http://ffmpeg-imf-samples-public.s3-website-us-west-1.amazonaws.com/countdown-small/countdown-small.mxf tests/Makefile | 1 + tests/fate/imf.mak | 6 ++++ tests/ref/fate/imf-cpl-with-repeat | 46 ++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 tests/fate/imf.mak create mode 100644 tests/ref/fate/imf-cpl-with-repeat diff --git a/tests/Makefile b/tests/Makefile index 87807ed31f..c4c31ae871 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -153,6 +153,7 @@ include $(SRC_PATH)/tests/fate/hlsenc.mak include $(SRC_PATH)/tests/fate/hw.mak include $(SRC_PATH)/tests/fate/id3v2.mak include $(SRC_PATH)/tests/fate/image.mak +include $(SRC_PATH)/tests/fate/imf.mak include $(SRC_PATH)/tests/fate/indeo.mak include $(SRC_PATH)/tests/fate/libavcodec.mak include $(SRC_PATH)/tests/fate/libavdevice.mak diff --git a/tests/fate/imf.mak b/tests/fate/imf.mak new file mode 100644 index 0000000000..70a3efdfbd --- /dev/null +++ b/tests/fate/imf.mak @@ -0,0 +1,6 @@ +FATE_IMF += fate-imf-cpl-with-repeat +fate-imf-cpl-with-repeat: CMD = framecrc -f imf -i $(TARGET_SAMPLES)/imf/countdown/CPL_bb2ce11c-1bb6-4781-8e69-967183d02b9b.xml -c:v copy + +FATE_SAMPLES_FFMPEG-$(CONFIG_IMF_DEMUXER) += $(FATE_IMF) + +fate-imf: $(FATE_IMF) diff --git a/tests/ref/fate/imf-cpl-with-repeat b/tests/ref/fate/imf-cpl-with-repeat new file mode 100644 index 0000000000..fe3106d5c6 --- /dev/null +++ b/tests/ref/fate/imf-cpl-with-repeat @@ -0,0 +1,46 @@ +#tb 0: 1/24 +#media_type 0: video +#codec_id 0: jpeg2000 +#dimensions 0: 640x360 +#sar 0: 0/1 +0, 0, 0, 1, 1698, 0xd8730ea4 +0, 1, 1, 1, 1966, 0x6562867e +0, 2, 2, 1, 2063, 0x18f4bb7d +0, 3, 3, 1, 1618, 0x0770dca6 +0, 4, 4, 1, 2100, 0xd0a1c42b +0, 5, 5, 1, 2068, 0xd411c582 +0, 6, 6, 1, 2520, 0x7b539dfc +0, 7, 7, 1, 1964, 0x106d867a +0, 8, 8, 1, 1964, 0x106d867a +0, 9, 9, 1, 1964, 0x106d867a +0, 10, 10, 1, 1964, 0x106d867a +0, 11, 11, 1, 1964, 0x106d867a +0, 12, 12, 1, 1964, 0x106d867a +0, 13, 13, 1, 1964, 0x106d867a +0, 14, 14, 1, 1964, 0x106d867a +0, 15, 15, 1, 1964, 0x106d867a +0, 16, 16, 1, 1964, 0x106d867a +0, 17, 17, 1, 1964, 0x106d867a +0, 18, 18, 1, 1964, 0x106d867a +0, 19, 19, 1, 1964, 0x106d867a +0, 20, 20, 1, 1964, 0x106d867a +0, 21, 21, 1, 1964, 0x106d867a +0, 22, 22, 1, 1964, 0x106d867a +0, 23, 23, 1, 1964, 0x106d867a +0, 24, 24, 1, 1964, 0x106d867a +0, 25, 25, 1, 1964, 0x106d867a +0, 26, 26, 1, 1964, 0x106d867a +0, 27, 27, 1, 1964, 0x106d867a +0, 28, 28, 1, 1964, 0x106d867a +0, 29, 29, 1, 1964, 0x106d867a +0, 30, 30, 1, 1964, 0x106d867a +0, 30, 31, 1, 2068, 0xd411c582 +0, 30, 32, 1, 2520, 0x7b539dfc +0, 30, 33, 1, 1846, 0x9d184658 +0, 30, 34, 1, 2475, 0x2967a123 +0, 30, 35, 1, 2540, 0xdc61ad87 +0, 30, 36, 1, 2214, 0xa7da105f +0, 30, 37, 1, 2486, 0xa68d89b4 +0, 30, 38, 1, 2615, 0xbc35d5ad +0, 30, 39, 1, 2150, 0x643aea98 +0, 30, 40, 1, 2628, 0x2880c4ad