Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gst-integration-testsuites
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GStreamer
gst-integration-testsuites
Commits
b00f6696
Commit
b00f6696
authored
Jun 26, 2019
by
Swayamjeet Swain
Committed by
Thibault Saunier
Jul 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added check_seek_on_nested_clips and check_seek_on_nested_timelines scenarios
parent
4d99ae9e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
85 additions
and
1 deletion
+85
-1
ges/scenarios/check_seek_on_nested_clips.scenario
ges/scenarios/check_seek_on_nested_clips.scenario
+39
-0
ges/scenarios/check_seek_on_nested_timelines.scenario
ges/scenarios/check_seek_on_nested_timelines.scenario
+43
-0
ges/scenarios/check_set_inpoint_on_nested_timeline.scenario
ges/scenarios/check_set_inpoint_on_nested_timeline.scenario
+1
-1
testsuites/ges.testslist
testsuites/ges.testslist
+2
-0
No files found.
ges/scenarios/check_seek_on_nested_clips.scenario
0 → 100644
View file @
b00f6696
description, seek=true, handles-states=true, needs_preroll=true
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"
add-clip, name=clip, asset-id=file://nothing/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, inpoint=0.0, duration=2.0
add-clip, name=nested-clip2, asset-id="$(nested_timeline_uri)", layer-priority=0, type=GESUriClip, inpoint=0.0, duration=2.0, start=2.0
commit;
pause;
# seek to 2.2 sec and check frame
seek, flags=accurate+flush, start=2.2
check-last-sample, sinkpad-caps="video/x-raw", checksum="$(timed_frames_video_only_1fps_mkv_0_00_00_000000000)"
# brings the element to layer 1
edit-container, container-name=nested-clip2, position=0, new-layer-priority=1;
#adds effect
container-add-child, container-name=nested-clip2, asset-id=videoflip, child-type=GESEffect
set-child-property, element-name=effect0, property=method, value=2;
# trim nested-clip2 to 1 sec
edit-container, container-name=nested-clip2, edit-mode=edit_trim, position=1, new-layer-priority=(int)-1, edge=(string)edge_end;
# seek to 1.2 sec and check frame
seek, flags=accurate+flush, start=1.2
check-last-sample, sinkpad-caps="video/x-raw", checksum="$(timed_frames_video_only_1fps_mkv_0_00_01_000000000)"
# remove nested-clip2 and remove layer 0
remove-clip, name=nested-clip2;
stop;
\ No newline at end of file
ges/scenarios/check_seek_on_nested_timelines.scenario
0 → 100644
View file @
b00f6696
description, seek=true, handles-states=true, needs_preroll=true
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"
add-clip, name=clip, asset-id=file://nothing/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
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
commit;
pause;
# seek to 2.2 sec and check frame
seek, flags=accurate+flush, start=2.2
check-last-sample, sinkpad-caps="video/x-raw", checksum="$(timed_frames_video_only_1fps_mkv_0_00_00_000000000)"
# brings the element to layer 1
edit-container, container-name=nested-timeline2, position=0, new-layer-priority=1;
#adds effect
container-add-child, container-name=nested-timeline2, asset-id=videoflip, child-type=GESEffect
set-child-property, element-name=effect0, property=method, value=2;
# trim nested-timeline2 to 1 sec
edit-container, container-name=nested-timeline2, edit-mode=edit_trim, position=1, new-layer-priority=(int)-1, edge=(string)edge_end;
# seek to 1.2 sec and check frame
seek, flags=accurate+flush, start=1.2
check-last-sample, sinkpad-caps="video/x-raw", checksum="$(timed_frames_video_only_1fps_mkv_0_00_01_000000000)"
# remove nested-timeline2 and remove layer 0
remove-clip, name=nested-timeline2;
stop;
\ No newline at end of file
ges/scenarios/check_set_inpoint_on_nested_timeline.scenario
View file @
b00f6696
description, seek=true, handles-states=true, needs_preroll=true
set-vars,\
nested_timeline_uri="file://$(LOGSDIR)/ges/scenarios/check_set_inpoint_on_nested_timeline.xges"
nested_timeline_uri="file://$(LOGSDIR)/ges/scenarios/
$(SCENARIO_NAME)/
check_set_inpoint_on_nested_timeline.xges"
add-clip, name=clip, asset-id=file://nothing/timed_frames_video_only_1fps.mkv, layer-priority=0, type=GESUriClip
serialize-project, uri="$(nested_timeline_uri)"
...
...
testsuites/ges.testslist
View file @
b00f6696
...
...
@@ -749,6 +749,8 @@ ges.render.vorbis_and_vp8_in_webm.test_transition.audio_video.raw_h264_mp4
ges.render.vorbis_and_vp8_in_webm.test_transition.audio_video.vorbis_theora_ogg
ges.render.vorbis_and_vp8_in_webm.test_transition.audio_video.vorbis_vp8_webm
ges.scenario.add_effect_and_split
ges.scenario.check_seek_on_nested_clips
ges.scenario.check_seek_on_nested_timelines
ges.scenario.check_set_inpoint
ges.scenario.check_set_inpoint_on_nested_timeline
ges.scenario.check_simple_seek
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment