Commit 0a9eaa3f authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

ges: Add a scenario that checks frames after a seek

parent 7e9bd453
description, seek=true, handles-states=true, needs_preroll=true
include, location="../../medias/defaults/matroska/red_timed_frames_video_only_1fps.mkv.frames_checksums.scenario"
include, location="../../medias/defaults/matroska/timed_frames_video_only_1fps.mkv.frames_checksums.scenario"
pause
add-clip, name=red, asset-id=file://nothing/red_timed_frames_video_only_1fps.mkv, layer-priority=0, type=GESUriClip
add-clip, name=blue, asset-id=file://nothing/timed_frames_video_only_1fps.mkv, layer-priority=0, type=GESUriClip
commit
check-last-sample, sinkpad-caps="video/x-raw", checksum=red_timed_frames_video_only_1fps.mkv.0:00:00.000000000
seek, flags=accurate+flush, start=30.0
check-last-sample, sinkpad-caps="video/x-raw", checksum=timed_frames_video_only_1fps.mkv.0:00:10.000000000
stop;
\ No newline at end of file
# Checksums generated with:
#
# ```
# $ FILENAME=red_timed_frames_video_only_1fps.mkv
# $ gst-launch-1.0 uridecodebin uri=file://$PWD/$FILENAME ! checksumsink |grep "^0:00" | sed "s/ /=/g" | sed "s/^/ $FILENAME./g" | sed "s/$/, \\\/g"
# ```
define-consts,\
red_timed_frames_video_only_1fps.mkv.0:00:00.000000000=1a247ef67c47263d0445c13dad97b36a5e1fb741, \
red_timed_frames_video_only_1fps.mkv.0:00:01.000000000=8d463adcbdef4da361675a34aff6e293cde9e090, \
red_timed_frames_video_only_1fps.mkv.0:00:02.000000000=b37282e2d52f9912e729400c92006ba6093d0258, \
red_timed_frames_video_only_1fps.mkv.0:00:03.000000000=4905ae378c882adad76548f4cd2432693620fa43, \
red_timed_frames_video_only_1fps.mkv.0:00:04.000000000=5190d3cfdfed8a7e429dc04a90dda8b790264b81, \
red_timed_frames_video_only_1fps.mkv.0:00:05.000000000=3a88eb1cbc53b8187138fc68d76f75ecb40ce1dd, \
red_timed_frames_video_only_1fps.mkv.0:00:06.000000000=4d85b8e77ecb914dea54415cedbbde3fb645c37c, \
red_timed_frames_video_only_1fps.mkv.0:00:07.000000000=bec1ae85f15febadfd1fdc470802ec019692e253, \
red_timed_frames_video_only_1fps.mkv.0:00:08.000000000=d39211ba03c2b59d936d4d80946bf09b1c69b17e, \
red_timed_frames_video_only_1fps.mkv.0:00:09.000000000=07cb72194267b1fb5c689ed63d9b6b9f8d71c367, \
red_timed_frames_video_only_1fps.mkv.0:00:10.000000000=34d0a7be58918caf4491fdfa30bf5cbc0a084f9e, \
red_timed_frames_video_only_1fps.mkv.0:00:11.000000000=e12a6fbcb7b6cabdc7f7e9bdb900e0e0ac407a50, \
red_timed_frames_video_only_1fps.mkv.0:00:12.000000000=2ed628e5735fded0327e699d8a5ed5aeb8a16177, \
red_timed_frames_video_only_1fps.mkv.0:00:13.000000000=9881e26a728d667ce13077d0b95d5c6441a3488f, \
red_timed_frames_video_only_1fps.mkv.0:00:14.000000000=3b489aee0cc0609a7c3fbb5ce97c9295683bb300, \
red_timed_frames_video_only_1fps.mkv.0:00:15.000000000=244741e7c4f32d4e26c4d7cac1dde5bdb27d2ba1, \
red_timed_frames_video_only_1fps.mkv.0:00:16.000000000=520c8b1a91162ff6e056dafbb4b0838e547aa9f9, \
red_timed_frames_video_only_1fps.mkv.0:00:17.000000000=da40d82a46a73435b48a149c40dfbc8b5a03ebd5, \
red_timed_frames_video_only_1fps.mkv.0:00:18.000000000=225c4a58fe28a9bb183dfabcaaaebfff8a94604e, \
red_timed_frames_video_only_1fps.mkv.0:00:19.000000000=62ee6d5ed2cc76ff0fd74d29ca7db1188edd0ee6
# Checksums generated with:
#
# ```
# $ FILENAME=timed_frames_video_only_1fps.mkv
# $ gst-launch-1.0 uridecodebin uri=file://$PWD/$FILENAME ! checksumsink |grep "^0:00" | sed "s/ /=/g" | sed "s/^/ $FILENAME./g" | sed "s/$/, \\\/g"
# ```
define-consts,\
timed_frames_video_only_1fps.mkv.0:00:00.000000000=68cc0c0b6d6863a135f40297a54aec9f1593f34c, \
timed_frames_video_only_1fps.mkv.0:00:01.000000000=9b42849e45e15981115cff9da00ecbf7afafd462, \
timed_frames_video_only_1fps.mkv.0:00:02.000000000=13efd225948060c424b8cdb4c4d017dbea65f61f, \
timed_frames_video_only_1fps.mkv.0:00:03.000000000=919526ebc3b44b93c05806d4b6b19c82557ba2f7, \
timed_frames_video_only_1fps.mkv.0:00:04.000000000=6e031a9b81fb4de38bb58ab935d709661087caa4, \
timed_frames_video_only_1fps.mkv.0:00:05.000000000=91973bf9aad6aaae195e5867b1a59c017031e8bf, \
timed_frames_video_only_1fps.mkv.0:00:06.000000000=a851acac8f968a2d1a39422e14deeb31cc053270, \
timed_frames_video_only_1fps.mkv.0:00:07.000000000=cecd077c700f50e27abf16cd29578f6c4b2ddeb9, \
timed_frames_video_only_1fps.mkv.0:00:08.000000000=4c5bc35ef6232684f20ce7a379338822bff29125, \
timed_frames_video_only_1fps.mkv.0:00:09.000000000=595dba99a6df0a83adae856a57c5a65d14e28400, \
timed_frames_video_only_1fps.mkv.0:00:10.000000000=14caad2fe4b9d7fc7fe0ddc80c23ea947f35f802, \
timed_frames_video_only_1fps.mkv.0:00:11.000000000=b010cf26ecd8fd1c62e7ba700bedbabc33f2d967, \
timed_frames_video_only_1fps.mkv.0:00:12.000000000=3b82fc99840596a9baf9793cae07a8e389b48253, \
timed_frames_video_only_1fps.mkv.0:00:13.000000000=2b8351c57f10c49f08d5cd82f51661ec20d5a906, \
timed_frames_video_only_1fps.mkv.0:00:14.000000000=eea963298928f02c4c1ca5120653b2ac12669e86, \
timed_frames_video_only_1fps.mkv.0:00:15.000000000=10234cc70c566454023eacd826c7c81f53a447d5, \
timed_frames_video_only_1fps.mkv.0:00:16.000000000=27ebe46f59923e33af3d73fca44f00aefa0469be, \
timed_frames_video_only_1fps.mkv.0:00:17.000000000=edd55ee68ef9c953ff223dea19086f2d0eff5d0c, \
timed_frames_video_only_1fps.mkv.0:00:18.000000000=425eccc6c8ddecb66fb030cccbb51edc0e11426c, \
timed_frames_video_only_1fps.mkv.0:00:19.000000000=6aafad8a5aad561df06607266217c9076a876f5b
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment