gstreamer/subprojects/gst-plugins-bad/tests/validate/pitch/maintain_pitch_with_variable_playback_rates.validatetest
Loïc Le Page 9d703439f1 pitch: add validate tests
Add pitch tests with different forward and backward playback rates.
Those tests depend on the libSoundTouch version to validate the buffers
checksums. The actual version uses libSoundTouch 2.3.2, use the
`--force-fallback-for=soundtouch` meson option to build using the same
version.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6247>
2024-05-02 13:26:09 +02:00

21 lines
558 B
Plaintext

include, location="pitch-test.meta"
pause
# The pitch element modifies the segment downstream, as the seek is done on
# the pipeline sink it takes this transformed segment as reference
checkpoint, text="Playback speed 1.0"
seek, start=0.0, stop=1.0, flags=accurate+flush, rate=1.0
play
wait, message-type=eos
checkpoint, text="Playback speed 2.0"
seek, start=0.0, stop=2.0, flags=accurate+flush, rate=2.0
wait, message-type=eos
checkpoint, text="Playback speed 0.5"
seek, start=0.0, stop=0.25, flags=accurate+flush, rate=0.5
wait, message-type=eos
stop