[FFmpeg-devel] [PATCH] fate/h264: add a test disabling cropping
James Almer
jamrial at gmail.com
Sat Apr 22 17:14:35 EEST 2023
On 4/21/2023 9:12 AM, James Almer wrote:
> Signed-off-by: James Almer <jamrial at 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
Will merge this test with the one above it as it uses the same sample
and command line, and apply.
More information about the ffmpeg-devel
mailing list