This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit a0d1969ae543f2a7c38d002a3a37688ae06da7a0
Author:     Romain Beauxis <[email protected]>
AuthorDate: Thu Nov 19 22:10:34 2026 -0600
Commit:     Romain Beauxis <[email protected]>
CommitDate: Tue Nov 24 14:22:04 2026 +0000

    tests/fate/gapless: add libshine mp3 trim test
    
    The reference records the current behavior: libshine declares no
    encoder delay, so its 1057 samples of delay read back as 529.
---
 tests/fate/gapless.mak                        | 9 ++++++++-
 tests/ref/fate/gaplessenc-pcm-to-mp3-libshine | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/tests/fate/gapless.mak b/tests/fate/gapless.mak
index bb5109997e..5ba0e3d5ac 100644
--- a/tests/fate/gapless.mak
+++ b/tests/fate/gapless.mak
@@ -36,6 +36,12 @@ fate-gapless-mp3-itunes-side-data: CMD = ffprobe_demux 
$(TARGET_SAMPLES)/gapless
 FATE_GAPLESSENC_PROBE-$(call ALLYES, MP3_DEMUXER MP3_MUXER NULL_MUXER) += 
fate-gapless-mp3-itunes-remux
 fate-gapless-mp3-itunes-remux: CMD = transcode mp3 
$(TARGET_SAMPLES)/gapless/gapless-itunes.mp3 mp3 "-c copy" "-c copy" "-of 
compact -show_entries stream=start_pts,duration_ts" "" "" "" null
 
+# Only the start is checked, as the encoded data and the end of the stream
+# depend on the shine version.
+FATE_GAPLESSENC_LOCAL-$(call ALLYES, FFMPEG FFPROBE FILE_PROTOCOL 
LIBSHINE_ENCODER MP3_MUXER MP3_DEMUXER WAV_DEMUXER PCM_S16LE_DECODER 
ARESAMPLE_FILTER) += fate-gaplessenc-pcm-to-mp3-libshine
+fate-gaplessenc-pcm-to-mp3-libshine: tests/data/asynth-44100-2.wav
+fate-gaplessenc-pcm-to-mp3-libshine: CMD = enc_external 
tests/data/asynth-44100-2.wav mp3 "-af aresample -c:a libshine" "-of compact 
-show_entries stream=start_pts"
+
 FATE_GAPLESS-$(call DEMDEC, MP3, MP3, ARESAMPLE_FILTER WAV_MUXER) += 
fate-audiomatch-square-mp3
 fate-audiomatch-square-mp3: CMD = audio_match 
$(TARGET_SAMPLES)/audiomatch/square3.mp3 $(SAMPLES)/audiomatch/square3.wav
 
@@ -166,5 +172,6 @@ FATE_GAPLESSENC = $(FATE_GAPLESSENC-yes)
 FATE_SAMPLES_AVCONV += $(FATE_GAPLESS)
 FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_GAPLESSENC)
 FATE_SAMPLES_FFPROBE += $(FATE_GAPLESSINFO)
+FATE_FFMPEG_FFPROBE += $(FATE_GAPLESSENC_LOCAL-yes)
 
-fate-gapless: $(FATE_GAPLESS) $(FATE_GAPLESSINFO) $(FATE_GAPLESSENC)
+fate-gapless: $(FATE_GAPLESS) $(FATE_GAPLESSINFO) $(FATE_GAPLESSENC) 
$(FATE_GAPLESSENC_LOCAL-yes)
diff --git a/tests/ref/fate/gaplessenc-pcm-to-mp3-libshine 
b/tests/ref/fate/gaplessenc-pcm-to-mp3-libshine
new file mode 100644
index 0000000000..c6273b9945
--- /dev/null
+++ b/tests/ref/fate/gaplessenc-pcm-to-mp3-libshine
@@ -0,0 +1 @@
+stream|start_pts=169280

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to