From: James Almer <jamrial@gmail.com> To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH] fate: add a setts bsf test Date: Wed, 16 Mar 2022 23:45:46 -0300 Message-ID: <20220317024546.10353-1-jamrial@gmail.com> (raw) Signed-off-by: James Almer <jamrial@gmail.com> --- tests/fate/ffmpeg.mak | 2 ++ tests/ref/fate/ffmpeg-setts-bsf | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 tests/ref/fate/ffmpeg-setts-bsf diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak index 4c884e458c..4dde880f67 100644 --- a/tests/fate/ffmpeg.mak +++ b/tests/fate/ffmpeg.mak @@ -216,6 +216,8 @@ fate-ffmpeg-bsf-remove-e: $(SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg fate-ffmpeg-bsf-remove-e: CMD = transcode "mpeg" $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg\ avi "-vbsf remove_extra=e" "-codec copy" +FATE_SAMPLES_FFMPEG-$(call ALLYES, APNG_DEMUXER SETTS_BSF) += fate-ffmpeg-setts-bsf +fate-ffmpeg-setts-bsf: CMD = framecrc -i $(TARGET_SAMPLES)/apng/clock.png -c:v copy -bsf:v "setts=duration=if(eq(NEXT_PTS\,NOPTS)\,PREV_OUTDURATION\,(NEXT_PTS-PTS)/2):ts=PTS/2" -fflags +bitexact FATE_SAMPLES_FFMPEG-yes += $(FATE_STREAMCOPY-yes) diff --git a/tests/ref/fate/ffmpeg-setts-bsf b/tests/ref/fate/ffmpeg-setts-bsf new file mode 100644 index 0000000000..884e45d6ec --- /dev/null +++ b/tests/ref/fate/ffmpeg-setts-bsf @@ -0,0 +1,46 @@ +#extradata 0: 794, 0x6c0b3aa4 +#tb 0: 1/100000 +#media_type 0: video +#codec_id 0: apng +#dimensions 0: 150x150 +#sar 0: 0/1 +0, 0, 0, 2000, 2053, 0xe7cffa8e +0, 2000, 2000, 2000, 596, 0xc9020463, F=0x0 +0, 4000, 4000, 2000, 593, 0x20de0bf4, F=0x0 +0, 6000, 6000, 2000, 590, 0x03940ac4, F=0x0 +0, 8000, 8000, 2000, 612, 0xae18161f, F=0x0 +0, 10000, 10000, 2000, 431, 0xceeac2db, F=0x0 +0, 12000, 12000, 2000, 531, 0x7ff9ebd0, F=0x0 +0, 14000, 14000, 2000, 484, 0x1e1de38a, F=0x0 +0, 16000, 16000, 2000, 476, 0x3869d31a, F=0x0 +0, 18000, 18000, 2000, 482, 0x9b5be0c9, F=0x0 +0, 20000, 20000, 2000, 448, 0x09e7c9ed, F=0x0 +0, 22000, 22000, 2000, 493, 0x1460e707, F=0x0 +0, 24000, 24000, 2000, 514, 0x3a99e6f3, F=0x0 +0, 26000, 26000, 2000, 590, 0x68751289, F=0x0 +0, 28000, 28000, 2000, 552, 0x58def4d3, F=0x0 +0, 30000, 30000, 2000, 453, 0x643cbf39, F=0x0 +0, 32000, 32000, 2000, 586, 0x5a4b0a3f, F=0x0 +0, 34000, 34000, 2000, 563, 0x5fb5fb41, F=0x0 +0, 36000, 36000, 2000, 627, 0xed7d1ff1, F=0x0 +0, 38000, 38000, 2000, 591, 0xd4012076, F=0x0 +0, 40000, 40000, 2000, 440, 0xd210b267, F=0x0 +0, 42000, 42000, 2000, 590, 0xec410e2e, F=0x0 +0, 44000, 44000, 2000, 569, 0x782d0227, F=0x0 +0, 46000, 46000, 2000, 536, 0x5305ff99, F=0x0 +0, 48000, 48000, 2000, 581, 0x2933f6c7, F=0x0 +0, 50000, 50000, 2000, 475, 0xa9a5ce1c, F=0x0 +0, 52000, 52000, 2000, 532, 0x5b9cf7bb, F=0x0 +0, 54000, 54000, 2000, 532, 0x3408e7e9, F=0x0 +0, 56000, 56000, 2000, 551, 0x1be00219, F=0x0 +0, 58000, 58000, 2000, 456, 0x55b1cc1b, F=0x0 +0, 60000, 60000, 2000, 416, 0x794abab6, F=0x0 +0, 62000, 62000, 2000, 525, 0x500eefad, F=0x0 +0, 64000, 64000, 2000, 531, 0x7273f14b, F=0x0 +0, 66000, 66000, 2000, 568, 0x4837fdc9, F=0x0 +0, 68000, 68000, 2000, 577, 0xed530268, F=0x0 +0, 70000, 70000, 2000, 518, 0xc9c1e644, F=0x0 +0, 72000, 72000, 2000, 572, 0x81840ac9, F=0x0 +0, 74000, 74000, 2000, 494, 0x678be2ae, F=0x0 +0, 76000, 76000, 2000, 560, 0x0174f8b9, F=0x0 +0, 78000, 78000, 2000, 578, 0xef800564, F=0x0 -- 2.35.1 _______________________________________________ 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".
next reply other threads:[~2022-03-17 2:47 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-17 2:45 James Almer [this message] 2022-03-17 17:28 ` Paul B Mahol
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=20220317024546.10353-1-jamrial@gmail.com \ --to=jamrial@gmail.com \ --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