From patchwork Wed Aug 24 08:43:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 37438 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:139a:b0:8f:1db5:eae2 with SMTP id w26csp2371216pzh; Wed, 24 Aug 2022 01:44:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR6lbrkKbOfEbvI/ViFPTYZFYdfobCydKkZotZKAJD4fY+tT2da8igoNofQb/HQV9WJWCeSZ X-Received: by 2002:a17:907:72cc:b0:73d:72c1:cc19 with SMTP id du12-20020a17090772cc00b0073d72c1cc19mr2148450ejc.130.1661330674274; Wed, 24 Aug 2022 01:44:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661330674; cv=none; d=google.com; s=arc-20160816; b=ry64IXs121r3VV+k/IPV1JTZamfot8ZXTeVir56ZqET6Fs6BmNsDSc9v/NEpW9y+T+ /QLzRk+Wc335tn8uchavHVnlAMCwWuDbRLXyjNf4M3WXddxR1Ult0Qei50FM97Zytg0t cq33lCF5V9H8eZQ3rechsJFZV8SA5MBYehYoGkzqWSta4disJwEljYMWkrHmtrKoS5B3 eBmKo2qdbPJZSVyXltTL60FlkSadVku2bW4/R9uVwEtL87x8xCfeOBpnAKIvxsfsW8i1 qtNPeYN03fG751j0b+VXJ6SHJdV1sZY3mKBapvhm/tRMlUIqfF/uqyRYfhAX3sF1HFXm 4hEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding: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=GdzmufOodqJ6BQsbbmyHl5gchOgrRk4T1fScMdFezXA=; b=RnJosMkQV26Q6dUVqgEYnQw+qwr9Ne5QeTr8EggY3Ozu2IRT/s2r/CNTc/n/AVMBg1 xg+VGTrFvceZlSC7STkZ10CTTyghvTTNi6ZDi6KcAt1+Gy6zDPr5kPVDLbMqvZdKP44V Hj4zz/rTBqNdgJ8KlVjhSu0FKULgoTrMO5rfCrfsWq8H6MnPvw7y8MuFpt94DTXMH9kv uaCDlhtD1ImgaxMbCYM5XVaR3P7y7wnaUazep3h0BubxgZZeRTurjJuxzgwg5YbLOgUh i7TPeQrCAtqpqN5XJ/WyhwtaLDliHtzonnOax1n1wsVykdfxZSvWkq3Ar3ufrEw92SN4 N6Vg== 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 w20-20020a056402269400b0043a6e796231si4234984edd.544.2022.08.24.01.44.33; Wed, 24 Aug 2022 01:44:34 -0700 (PDT) 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 052EA68BA32; Wed, 24 Aug 2022 11:43:55 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C7B8068B9C2 for ; Wed, 24 Aug 2022 11:43:44 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 5A842240D1B for ; Wed, 24 Aug 2022 10:43:44 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id x2WSLPCJxRWp for ; Wed, 24 Aug 2022 10:43:41 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (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 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 8AC44240D03 for ; Wed, 24 Aug 2022 10:43:41 +0200 (CEST) Received: by libav.khirnov.net (Postfix, from userid 1000) id 732363A218D; Wed, 24 Aug 2022 10:43:35 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Wed, 24 Aug 2022 10:43:01 +0200 Message-Id: <20220824084318.333-1-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 01/18] tests/fate/mov: add a test for dv audio demuxed through dv demuxer 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: HBMn+EC7GolV --- tests/fate/mov.mak | 3 +++ tests/ref/fate/mov-dvaudio | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 tests/ref/fate/mov-dvaudio diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak index 8a7218a215..9e8bb729a6 100644 --- a/tests/fate/mov.mak +++ b/tests/fate/mov.mak @@ -17,6 +17,7 @@ FATE_MOV = fate-mov-3elist \ fate-mov-bbi-elst-starts-b \ fate-mov-neg-firstpts-discard-frames \ fate-mov-stream-shorter-than-movie \ + fate-mov-dvaudio \ # FIXME: Uncomment these two lines once the test files are uploaded to the fate # server. # fate-mov-avif-demux-still-image-1-item \ @@ -104,6 +105,8 @@ fate-mov-neg-firstpts-discard-frames: CMD = framemd5 -flags +bitexact -i $(TARGE # Makes sure that no frame is dropped/duplicated with fps filter due to start_time / duration miscalculations. fate-mov-stream-shorter-than-movie: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/mov/mov_stream_shorter_than_movie.mov -vf fps=fps=24 -an +fate-mov-dvaudio: CMD = framecrc -i $(TARGET_SAMPLES)/mov/qt_dv_pal_test_cut.mov -c copy -map 0:a + fate-mov-aac-2048-priming: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -print_format compact $(TARGET_SAMPLES)/mov/aac-2048-priming.mov fate-mov-zombie: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_streams -show_packets -show_frames -bitexact -print_format compact $(TARGET_SAMPLES)/mov/white_zombie_scrunch-part.mov diff --git a/tests/ref/fate/mov-dvaudio b/tests/ref/fate/mov-dvaudio new file mode 100644 index 0000000000..13e551c722 --- /dev/null +++ b/tests/ref/fate/mov-dvaudio @@ -0,0 +1,31 @@ +#tb 0: 1/48000 +#media_type 0: audio +#codec_id 0: pcm_s16le +#sample_rate 0: 48000 +#channel_layout_name 0: stereo +0, -720, -720, 1920, 7680, 0xdb43ddfd, S=1, 10 +0, 1200, 1200, 1920, 7680, 0xcd872ca8 +0, 3120, 3120, 1920, 7680, 0xa1800c21 +0, 5040, 5040, 1920, 7680, 0x87fee57a +0, 6960, 6960, 1920, 7680, 0x2e926842 +0, 8880, 8880, 1920, 7680, 0xaf141f81 +0, 10800, 10800, 1920, 7680, 0xf0bc6ad8 +0, 12720, 12720, 1920, 7680, 0x18139585 +0, 14640, 14640, 1920, 7680, 0xadf3e99e +0, 16560, 16560, 1920, 7680, 0xb18e02e3 +0, 18480, 18480, 1920, 7680, 0x4d8e9e72 +0, 20400, 20400, 1920, 7680, 0x27f3fd22 +0, 22320, 22320, 1920, 7680, 0xf896b2c0 +0, 24240, 24240, 1920, 7680, 0xf707d734 +0, 26160, 26160, 1920, 7680, 0xc3d4bf6a +0, 28080, 28080, 1920, 7680, 0xaf4f92f0 +0, 30000, 30000, 1920, 7680, 0xf72ea49d +0, 31920, 31920, 1920, 7680, 0xbd975338 +0, 33840, 33840, 1920, 7680, 0x50ab26db +0, 35760, 35760, 1920, 7680, 0x2a70b14f +0, 37680, 37680, 1920, 7680, 0x32e3ce37 +0, 39600, 39600, 1920, 7680, 0x7f5b54ec +0, 41520, 41520, 1920, 7680, 0x2cd5478f +0, 43440, 43440, 1920, 7680, 0x7dda4151 +0, 45360, 45360, 1920, 7680, 0x09b4886d +0, 47280, 47280, 1920, 7680, 0x4824062e