PR #25951 opened by Baptiste Coudurier (bcoudurier) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25951 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25951.patch
`fate-mxf-probe-h264-corrupt` currently fails on every FATE job on master (`avg_frame_rate=25/1` instead of `25/2`). Its reference was generated before 785290b537, which makes the H.264 parser count both fields of the field pairs held by each packet of this sample. With both changes applied the average frame rate is 25/1, as already expected by `fate-mxf-probe-h264-extradata` for the same file. The test still covers 7b00cbd7ed: without it the truncated final packet skews the estimate to 45/2. 🤖 Generated with [Claude Code](https://claude.com/claude-code) From 05001ceae2f45f3e7b91e17f6c8133616c90748f Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier <[email protected]> Date: Wed, 11 Nov 2026 12:27:33 -0800 Subject: [PATCH] fate/mxf: update the mxf-probe-h264-corrupt reference The reference was generated before 785290b537, which makes the H.264 parser count both fields of the field pairs held by each packet of this sample. With both changes applied the average frame rate is 25/1, as already expected by fate-mxf-probe-h264-extradata for the same file. The test still covers 7b00cbd7ed: without it the truncated final packet skews the estimate to 45/2. Co-Authored-By: Claude Fable 5.2 <[email protected]> Signed-off-by: Baptiste Coudurier <[email protected]> --- tests/fate/mxf.mak | 1 - tests/ref/fate/mxf-probe-h264-corrupt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/fate/mxf.mak b/tests/fate/mxf.mak index 9b56bfa8c89..766488b62a8 100644 --- a/tests/fate/mxf.mak +++ b/tests/fate/mxf.mak @@ -29,7 +29,6 @@ FATE_MXF_PROBE-$(call DEMDEC, MXF, H264, H264_PARSER EXTRACT_EXTRADATA_BSF) += f fate-mxf-probe-h264-extradata: SRC = $(TARGET_SAMPLES)/h264/SonyXAVC_LongGOP_green_pixelation_early_Frames.MXF fate-mxf-probe-h264-extradata: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -bitexact -v 0 -fflags +discardcorrupt -select_streams v -show_entries stream=avg_frame_rate,extradata,extradata_size,extradata_hash -show_data_hash md5 -i "$(SRC)" -# The companion paired-field parser fix changes the reference to 25/1. # Keep the truncated final packet to exercise corrupt-packet FPS accounting. FATE_MXF_PROBE-$(call DEMDEC, MXF, H264, H264_PARSER EXTRACT_EXTRADATA_BSF) += fate-mxf-probe-h264-corrupt fate-mxf-probe-h264-corrupt: SRC = $(TARGET_SAMPLES)/h264/SonyXAVC_LongGOP_green_pixelation_early_Frames.MXF diff --git a/tests/ref/fate/mxf-probe-h264-corrupt b/tests/ref/fate/mxf-probe-h264-corrupt index f9519d6f970..506e52ea2b4 100644 --- a/tests/ref/fate/mxf-probe-h264-corrupt +++ b/tests/ref/fate/mxf-probe-h264-corrupt @@ -1,3 +1,3 @@ [STREAM] -avg_frame_rate=25/2 +avg_frame_rate=25/1 [/STREAM] -- 2.54.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
