From patchwork Fri Jan 7 23:10:26 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: 33161 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:cd86:0:0:0:0:0 with SMTP id d128csp790546iog; Fri, 7 Jan 2022 15:10:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTWT8INxU3LkdS90YjXKDm5ipyzeL1a8/cwDtofpb5SB2kR/VyOBbGA+gwDaKy5gkkptas X-Received: by 2002:a17:907:1c92:: with SMTP id nb18mr51743207ejc.256.1641597045229; Fri, 07 Jan 2022 15:10:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641597045; cv=none; d=google.com; s=arc-20160816; b=TNPjXUAe2s1LSZksHa7eGG9PH2V92FnDZixpJgWY4FfP4aJPrCQmCV5KF6wLEMhgz4 gY3kVTEXs9Lja9WZTuJwNkSuWoT2opQy5LxiKurf26wFON9xe6JqXAO4wS/+qHmSvYuO b7olvGuXKiYyNM410gYkwb1NoZ+wAcBIqVQHKTwfhXEgqUgFfKM8YFGm8qkKzxtAqy8p 4urHiCWpAtZiqR/cZf1iU4b+yUmCGf6ybe6ep3TT0IFUHGojAXIfP2Fqi1urOag4qUpA ToMG9YS14j5vmNh207ZDiN5un1dogBXiqR3+X5ubUP4ZLisDfhpf/IWuWFDXSuXhKwZY HRPQ== 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=hWqo1z9lpqhriG8kpMdAgXhi42Zinge4zQ+zERNdkeA=; b=TGceDfGW+Smk9ryowHtOl76NTcMUY8fWv500gk6U1izxpMea8TSsIK+F39gdTs2qlg Rv70qs0ygDPfmvDonA/fOZDleedCPe6JiZN7lv3xDI2Qe8IqdERaSXnQc57TWDJFgxD0 GJHZeLvd+JmhzQ6yJnrHACv65A2gYsrGGBgcy5xWBZYtDtPknRDUmEcsN8wzZ2wpC6u2 2P1kLUfKGjWBV9P0oQWQC76BVz+wVxc4+gKHh34Ryo/qYSuBbyN2kvqZ+d7Hu4hjBR1k eoJ/4e/vnfksQT/FjwgigQYMNuhzzMgsNTpBMNGC8YBU+g5s0NimTKKZwjAEXRCqOXqb NOcw== 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 hv9si5575ejc.664.2022.01.07.15.10.44; Fri, 07 Jan 2022 15:10:45 -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 F31D168AACC; Sat, 8 Jan 2022 01:10:40 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CA759680576 for ; Sat, 8 Jan 2022 01:10:33 +0200 (EET) Received: by mail-pj1-f52.google.com with SMTP id c9-20020a17090a1d0900b001b2b54bd6c5so13606237pjd.1 for ; Fri, 07 Jan 2022 15:10:33 -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=I831stj7wOcEVWTIh3wHsA7RY0qhijDVsriPPT717vQ=; b=1XRWaUlAtLuSZTGJtEcvrEVuEYLkAxKeUJPMs8rz1uaRbHXk1EbpWfpN5afZ+sMljT 90vnjWj3+ZaI5xppghZ0uCYCp6OjUniZabkrAnsp5k0sE9T4prXMcuu6Z9no/cvRdmGq kTXWrGX/lhdczXjxXUXqQ1bZrgqRP6ASxhXZzAjfA3T2rPUV+c3MaZivOS7tEDdou5VA RYGmiHDqpYDHAJVoHxSEpYr8VLoYsB79rgvu/rhwgEYNXg0P//txKQag+oe1UGjfDgCc mENui64bghF1EwEr3DYCKKQA6yFiemtABp+xjbt4F5ob8OCt98AO2qRmOWPvBITux/Pe 8d0A== X-Gm-Message-State: AOAM531IRrjRKVZkjK6H0QQLPIZ1WVLbzgknDlPEVRbkZaYWWkbtl2Pp 6a+1N6J/E7VQdSU+yU03aSQe1WSsy/4= X-Received: by 2002:a17:903:230f:b0:149:f2fe:edaf with SMTP id d15-20020a170903230f00b00149f2feedafmr9056511plh.149.1641597031645; Fri, 07 Jan 2022 15:10:31 -0800 (PST) Received: from localhost (76-14-89-2.sf-cable.astound.net. [76.14.89.2]) by smtp.gmail.com with ESMTPSA id n10sm56881pje.0.2022.01.07.15.10.30 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Jan 2022 15:10:31 -0800 (PST) Received: by localhost (sSMTP sendmail emulation); Fri, 07 Jan 2022 15:10:26 -0800 From: pal@sandflow.com To: ffmpeg-devel@ffmpeg.org Date: Fri, 7 Jan 2022 15:10:26 -0800 Message-Id: <20220107231026.22666-1-pal@sandflow.com> X-Mailer: git-send-email 2.34.1.windows.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v4] 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: FGqMok2Mg2ke From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: The `fate-imf-cpl-with-repeat` target requires following files (<100 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..d4519bd0eb --- /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 -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