Commit 74193ce1 authored by Thibault Saunier's avatar Thibault Saunier 🌵 Committed by Thibault Saunier
Browse files

ges: Test two deeply nested timelines back to back

parent d07e4e1d
event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE;
event caps: video/x-raw, format=(string)I420, width=(int)1080, height=(int)720, framerate=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)1:4:0:0;
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:02.000000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=none
buffer: checksum=68cc0c0b6d6863a135f40297a54aec9f1593f34c, pts=0:00:00.000000000, dur=0:00:01.000000000
buffer: checksum=9b42849e45e15981115cff9da00ecbf7afafd462, pts=0:00:01.000000000, dur=0:00:01.000000000
event segment: format=TIME, start=0:00:02.000000000, offset=0:00:00.000000000, stop=0:00:04.000000000, flags=0x01, time=0:00:02.000000000, base=0:00:02.000000000, position=none
buffer: checksum=68cc0c0b6d6863a135f40297a54aec9f1593f34c, pts=0:00:02.000000000, dur=0:00:01.000000000
buffer: checksum=9b42849e45e15981115cff9da00ecbf7afafd462, pts=0:00:03.000000000, dur=0:00:01.000000000
event caps: video/x-raw, format=(string)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, chroma-site=(string)jpeg, colorimetry=(string)bt601;
event segment: format=TIME, start=0:00:04.000000000, offset=0:00:00.000000000, stop=0:00:04.000000001, flags=0x01, time=0:00:04.000000000, base=0:00:04.000000000, position=none
buffer: checksum=bcd7b28ad0402cabc3a509f1e2f3584793927963, pts=0:00:04.000000000, dur=0:00:00.000000001
event eos: (no structure)
description, seek=true, handles-states=true, needs_preroll=true, ges-options={--track-types, video}
include, location="../../medias/defaults/matroska/timed_frames_video_only_1fps.mkv.frames_checksums.scenario"
set-vars,\
nested_timeline_uri="file://$(LOGSDIR)/ges/scenarios/$(SCENARIO_NAME)/nested_timeline.xges",\
nested_timeline_depth2_uri="file://$(LOGSDIR)/ges/scenarios/$(SCENARIO_NAME)/nested_timeline_depth2.xges", \
project_uri="file://$(LOGSDIR)/ges/scenarios/$(SCENARIO_NAME)/project.xges"
# Make sure the asset ID is the project_uri
serialize-project, uri="$(project_uri)"
add-clip, name=clip, asset-id=file:///timed_frames_video_only_1fps.mkv, layer-priority=0, type=GESUriClip
serialize-project, uri="$(nested_timeline_uri)"
remove-clip, name=clip
add-clip, name=nested-clip1, asset-id="$(nested_timeline_uri)", layer-priority=0, type=GESUriClip
serialize-project, uri="$(nested_timeline_depth2_uri)"
remove-clip, name=nested-clip1
remove-asset, id="$(nested_timeline_uri)", type="GESTimelineElement"
add-clip, name=nested-timeline1, asset-id="$(nested_timeline_depth2_uri)", layer-priority=0, type=GESUriClip, inpoint=0, duration=2.0
add-clip, name=nested-timeline2, asset-id="$(nested_timeline_depth2_uri)", layer-priority=0, type=GESUriClip, inpoint=0, duration=2.0, start=2.0
add-asset, id="$(nested_timeline_depth2_uri)", type="GESTimeline"
serialize-project, uri="$(project_uri)"
# We reload the project from nested projects
load-project, uri="$(project_uri)"
commit;
play;
\ No newline at end of file
validateflow, \
expectations-dir="$(TESTSUITE_ROOT)/ges/flow-expectations/$(CONFIG_NAME)", \
actual-results-dir="$(LOGSDIR)/ges/flow-expecations/$(CONFIG_NAME)", pad=videosink:sink, buffers-checksum=true, \
ignored-event-fields="stream-start={stream-id,group-id,stream}"
......@@ -757,4 +757,5 @@ ges.scenario.check_set_inpoint
ges.scenario.check_set_inpoint_on_nested_timeline
ges.scenario.check_simple_seek
ges.scenario.edit_deeply_nested_timeline_too_short
ges.scenario.play_deeply_nested_back_to_back
ges.scenario.play_two_nested_back_to_back
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