[FFmpeg-devel] [PATCHv3] FATE: Add test for HEVC files that claim to have two first slices

James Almer jamrial at gmail.com
Thu Mar 21 18:19:48 EET 2019


On 3/21/2019 12:38 PM, Derek Buitenhuis wrote:
> This makes sure we don't regress on 70c8c8a818f39bc262565ec29fae2baffb3e1660.
> 
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
> Same sample link as v2.

Tried to upload it, but i'm still having the same issues as last time.
Someone else will have to.

> 
> Also of note: I'm only adding the -t arg because FATE doesn't seem to have
> a good way to allow ffmpeg to return a non-zero error code, but also have
> the test pass.
> ---
>  tests/fate/hevc.mak                 |  3 +++
>  tests/ref/fate/hevc-two-first-slice | 39 +++++++++++++++++++++++++++++
>  2 files changed, 42 insertions(+)
>  create mode 100644 tests/ref/fate/hevc-two-first-slice
> 
> diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
> index db3ea19340..8f9ed6d925 100644
> --- a/tests/fate/hevc.mak
> +++ b/tests/fate/hevc.mak
> @@ -253,6 +253,9 @@ fate-hevc-extradata-reload: CMD = framemd5 -i $(TARGET_SAMPLES)/hevc/extradata-r
>  fate-hevc-monochrome-crop: CMD = probeframes -show_entries frame=width,height:stream=width,height $(TARGET_SAMPLES)/hevc/hevc-monochrome.hevc
>  FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-monochrome-crop
>  
> +fate-hevc-two-first-slice: CMD = threads=2 framemd5 -i $(TARGET_SAMPLES)/hevc/two_first_slice.mp4 -sws_flags bitexact -t 00:02.00 -an
> +FATE_HEVC += fate-hevc-two-first-slice

FATE_HEVC-$(call DEMDEC, MOV, HEVC)


More information about the ffmpeg-devel mailing list