Loading

Paste #pkukjkllx

  1. description, seek=true, handles-states=true, needs_preroll=true, ges-track-types=video
  2.  
  3. set-vars,\
  4.     nested_timeline_uri="file://$(LOGSDIR)/ges/scenarios/$(SCENARIO_NAME)/nested_timeline.xges",\
  5.     project_uri="file://$(LOGSDIR)/ges/scenarios/$(SCENARIO_NAME)/project.xges"
  6.  
  7. # Make sure the asset ID is the project_uri and serialize the empty timeline for each nested projects uris
  8. serialize-project, uri="$(project_uri)"
  9. serialize-project, uri="$(nested_timeline_uri)"
  10.  
  11. add-clip, name=clip, asset-id=file:///timed_frames_video_only_1fps.mkv, layer-priority=0, type=GESUriClip, duration=2.0, project-uri="$(nested_timeline_uri)"
  12. add-clip, name=nested-timeline1, asset-id="$(nested_timeline_uri)", layer-priority=0, type=GESUriClip, inpoint=0, duration=2.0, start=0.0
  13. serialize-project, uri="$(project_uri)"
  14.  
  15. # Edit nested-clip to duration=1 and set position=0
  16. edit-container, project-uri="$(nested_timeline_uri)", container-name="clip", position=1.0, edit-mode="edit_trim", edge="edge_start"
  17. edit-container, project-uri="$(nested_timeline_uri)", container-name="clip", position=0.0, edit-mode="edit_normal", edge="edge_none"
  18. commit
  19.  
  20. play