Debian Codegraph @

tests/check/scenarios/check_video_track_restriction_scale_with_keyframes.scenario

raw
1 description, handles-states=true, seek=true,
2 ges-options={\
3 --track-types, video,
4 --video-caps, "video/x-raw,width=1280,height=720,framerate=30/1" \
5 }
6
7 add-clip, name=clip, asset-id=GESTestClip, layer-priority=0, type=GESTestClip, start=0.0, duration=1.0, pattern=blue
8
9 set-control-source, element-name=videotestsource0, property-name=width, binding-type=direct-absolute, source-type=interpolation
10 set-control-source, element-name=videotestsource0, property-name=height, binding-type=direct, source-type=interpolation
11
12
13 # Goes from 1280x720 at 0, to 640x360 at 0.5 then back to 1280x720 ar 1.0
14 add-keyframe, element-name=videotestsource0, property-name="width", timestamp=0.0, value=(gint)1280
15 add-keyframe, element-name=videotestsource0, property-name="height", timestamp=0.0, value=0.0072
16
17 add-keyframe, element-name=videotestsource0, property-name="width", timestamp=0.5, value=(gint)640
18 add-keyframe, element-name=videotestsource0, property-name="height", timestamp=0.5, value=0.0036
19
20 add-keyframe, element-name=videotestsource0, property-name="width", timestamp=1.0, value=(gint)1280
21 add-keyframe, element-name=videotestsource0, property-name="height", timestamp=1.0, value=0.0072
22
23 check-child-properties, element-name=videotestsource0, width=1280, height=720, posx=0, posy=0, at-time=0.0
24 check-child-properties, element-name=videotestsource0, width=640, height=360, posx=0, posy=0, at-time=0.5
25 check-child-properties, element-name=videotestsource0, width=1280, height=720, posx=0, posy=0, at-time=1.0
26
27 set-track-restriction-caps, track-type=video, caps="video/x-raw,width=1920,height=1080"
28 check-child-properties, element-name=videotestsource0, width=1920, height=1080, posx=0, posy=0, at-time=0.0
29 check-child-properties, element-name=videotestsource0, width=960, height=540, posx=0, posy=0, at-time=0.5
30 check-child-properties, element-name=videotestsource0, width=1920, height=1080, posx=0, posy=0, at-time=1.0
31
32 stop;