Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: James Almer <jamrial@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH] fate/h264: add a test disabling cropping
Date: Sat, 22 Apr 2023 11:14:35 -0300
Message-ID: <693f773b-4c3b-a883-f45a-887c76b70ea1@gmail.com> (raw)
In-Reply-To: <20230421121249.1527-1-jamrial@gmail.com>

On 4/21/2023 9:12 AM, James Almer wrote:
> 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

Will merge this test with the one above it as it uses the same sample 
and command line, and apply.
_______________________________________________
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".

      reply	other threads:[~2023-04-22 14:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21 12:12 James Almer
2023-04-22 14:14 ` James Almer [this message]

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=693f773b-4c3b-a883-f45a-887c76b70ea1@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