From: James Almer <jamrial@gmail.com> To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH] fate/h264: add a test disabling cropping Date: Fri, 21 Apr 2023 09:12:49 -0300 Message-ID: <20230421121249.1527-1-jamrial@gmail.com> (raw) Signed-off-by: James Almer <jamrial@gmail.com> --- tests/fate/h264.mak | 4 ++ tests/ref/fate/h264-no-cropping | 95 +++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 tests/ref/fate/h264-no-cropping diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak index 173806861a..cd2ad79ea2 100644 --- a/tests/fate/h264.mak +++ b/tests/fate/h264.mak @@ -232,6 +232,7 @@ FATE_H264-$(call FRAMECRC, MOV, H264) += fate-h264-attachment-631 FATE_H264-$(call FRAMECRC, MPEGTS, H264, H264_PARSER MP3_DECODER SCALE_FILTER ARESAMPLE_FILTER) += fate-h264-skip-nokey fate-h264-skip-nointra FATE_H264_FFPROBE-$(call DEMDEC, MATROSKA, H264) += fate-h264-dts_5frames FATE_H264_FFPROBE-$(call PARSERDEMDEC, H264, H264, H264) += fate-h264-afd +FATE_H264_FFPROBE-$(call PARSERDEMDEC, H264, H264, H264) += fate-h264-no-cropping FATE_SAMPLES_AVCONV += $(FATE_H264-yes) FATE_SAMPLES_FFPROBE += $(FATE_H264_FFPROBE-yes) @@ -452,6 +453,9 @@ fate-h264-reinit-%: CMD = framecrc -i $(TARGET_SAM fate-h264-dts_5frames: CMD = probeframes $(TARGET_SAMPLES)/h264/dts_5frames.mkv fate-h264-afd: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -bitexact -show_entries frame_side_data_list $(TARGET_SAMPLES)/h264/bbc2.sample.h264 +fate-h264-no-cropping: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -bitexact -apply_cropping 0 -show_entries stream=width,height,coded_width,coded_height \ + -show_entries frame=width,height,crop_top,crop_bottom,crop_left,crop_right \ + -of compact=p=0 -i $(TARGET_SAMPLES)/h264/bbc2.sample.h264 fate-h264-encparams: CMD = venc_data $(TARGET_SAMPLES)/h264-conformance/FRext/FRExt_MMCO4_Sony_B.264 0 1 FATE_SAMPLES_DUMP_DATA += fate-h264-encparams diff --git a/tests/ref/fate/h264-no-cropping b/tests/ref/fate/h264-no-cropping new file mode 100644 index 0000000000..84669ab733 --- /dev/null +++ b/tests/ref/fate/h264-no-cropping @@ -0,0 +1,95 @@ +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1088|crop_top=0|crop_bottom=8|crop_left=0|crop_right=0| + +width=1440|height=1080|coded_width=1440|coded_height=1088 -- 2.40.0 _______________________________________________ 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:[~2023-04-21 12:13 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-04-21 12:12 James Almer [this message] 2023-04-22 14:14 ` James Almer
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=20230421121249.1527-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