SMIL 2.0 Testsuite

Timing Module

Editors:
Wo Chang (wchang@nist.gov),NIST/ITL
Thierry Michel (tmichel@w3.org),W3C


Modules: [All] [Animation] [Content] [Layout] [Linking] [Media] [Metadata] [Structure] [Timing] [Transition] [Time Manipulation] [Profile]

SMIL Timing & Synchronization Module (report template)
Test # Feature Test (test file) Expected Behavior  
1 begin attribute  
1.1 begin as offset from start of par
(smil, source)
(xhtml+smil, source)
  1. 5 seconds delay,
  2. show image for 10 seconds.
1.2 begin with "begin" syncbase value
(smil, source)
(xhtml+smil, source)
  1. show 1st image,
  2. 1 second pause,
  3. show 2nd image.
1.5 begin with event value
(smil, source)
(xhtml+smil, source)
  1. play audio file on image click within 30 seconds
1.6 begin with scheduled and event values
(smil, source)
(xhtml+smil, source)
  1. play audio on image click or after 10 seconds
1.7 begin with "end" syncbase value
(smil, source)
(xhtml+smil, source)
  1. show 1st image for 5 seconds,
  2. 1 second pause,
  3. show 2nd image
1.8 begin with indefinite
(smil, source)
(xhtml+smil, source)
  1. images1 shown for 5s
1.10 begin value = wallclock
(smil, source)
(xhtml+smil, source)
  1. image shown at noon for 5s
1.11 begin with SMIL 1.0 syncbase values begin
(smil, source)
(xhtml+smil, source)
  1. 2 images shown for 5s
1.12 begin with SMIL 1.0 syncbase values end
(smil, source)
(xhtml+smil, source)
  1. image shown for 5s
  2. then another image show for 5s
1.13 begin with SMIL 1.0 syncbase values clockvalue
(smil, source)
(xhtml+smil, source)
  1. image 1 shown between [0s, 5s]
  2. image2 shown between [3s, 8s]
1.14 begin = syncbase with negative offset
(smil, source)
(xhtml+smil, source)
  1. 1st image shown for 5s
  2. 2nd image shown at 3s for 3s
1.15 Firing begin and end events (case1)
(smil, source)
(xhtml+smil, source)
  1. only the second picture is shown during 4s
1.16 Firing begin and end events (case2)
(smil, source)
(xhtml+smil, source)
  1. Nothing is shown
1.17 Beginsyncbase
(smil, source)
(xhtml+smil, source)
  1. Nothing is shown
1.18 begin with multiple conditions including mix of scheduled and interactive
(smil, source)
(xhtml+smil, source)
  1. play audio file on image click or at 10s
1.19 begin attribute and Negative Delay (1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The video start to play at t=2s but from its middle point instead of its begining.
1.20 begin attribute and Negative Delay (2)
(smil, source)
(xhtml+smil, source)
  1. The audio start to play at t=2s but its first three seconds are skipped.
1.21 begin attribute and Negative Delay (3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The image is shown for 5S
  2. then The video start to play but from its middle point instead of its begining.
1.22 begin attribute and Negative Delay (4)
(smil, source)
(xhtml+smil, source)
  1. image1 begin to be shown from t=3s to 8s.
  2. image2 begin to be shown from t=0s to 4s.
1.23 begin attribute and Negative Delay (5)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=2s, the video is played but it begins at its middle point,
  2. at t=4.8s the first iteration of the video ends
  3. and the second one begins from the begining of the video.
1.24 begin attribute and Negative Delay (6)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=5s foo is shown for 6s
  2. if the foo is cliked between [5s,11s]
  3. then play the video until its end,
  4. otherwise the document ends at t=11s.
1.25 begin attribute and Negative Delay (7)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. foo is shown for 10s.
  2. When/if foo is clicked
  3. then the video starts to play
  4. but its three first seconds are skipped (we only see vid during 2.6s).
1.26 begin attribute and Negative Delay (8)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. foo is shown for 10s.
  2. When/if foo is clicked
  3. then the video starts to play
  4. but its three first seconds are skipped (we only see vid during 2.6s)
  5. and frown is displayed for 3s.
1.27 begin attribute and Negative Delay (9)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. foo is shown for 10s.
  2. When/if foo is clicked
  3. then the video starts to play
  4. but its three first seconds are skipped (we only see vid during 2.6s)
  5. and frown is displayed for 6s.
1.35 begin=accessKey
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played as soon as the caracter "a" is pressed by the user.
1.36 begin=id.begin with id that never starts
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. only the video is played for 5.6s
1.37 begin=id.begin with id that is defered
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 4s,
  2. then the smile image is shown for 4s,
  3. then a blank of 3s,
  4. then the smile image is shown for 5s
1.38 begin=id.begin id not a sibling (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the audio starts and the smile picture is displayed.
  2. At t=10s the audio stops,
  3. at t=12s the smile picture disappeared and the frown picture appears for 5s.
1.39 begin=id.begin id not a sibling (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the audio starts and the smile picture is displayed.
  2. At t=3s the smile picture disappeared and both the frown picture is shown and the video starts to play from its middle point.
1.40 begin=id.begin id not a sibling (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the audio starts and the smile picture is displayed.
  2. At t=3s the smile picture disappeared and both the frown picture is shown and the video starts to play from its middle point.
  3. When the video ends, it is restarted once from its beginning.
2 dur attribute  
2.1 finite dur in par
(smil, source)
(xhtml+smil, source)
  1. image shown for 2s
2.2 indefinite dur in par
(smil, source)
(xhtml+smil, source)
  1. image shown for for indefinite
3 end attribute  
3.1 end as offset from start of par
(smil, source)
(xhtml+smil, source)
  1. play for 3 seconds
3.2 end with "begin" syncbase value
(smil, source)
(xhtml+smil, source)
  1. audio for 3 seconds - ends when image begins
3.3 End value as end of a frozen element
(smil, source)
(xhtml+smil, source)
  1. the first and the third pictures are shown 5s
3.5 end value = event
(smil, source)
(xhtml+smil, source)
  1. end audio file on image click
  2. End presentation on image click if audio has played for its 26.2 second duration
3.6 end with indefinite
(smil, source)
(xhtml+smil, source)
  1. image1 shown for 5s,
  2. image2 shown indeffinitely
3.8 end value = wallclock
(smil, source)
(xhtml+smil, source)
  1. image shown until noon
3.9 end with SMIL 1.0 syncbase values begin
(smil, source)
(xhtml+smil, source)
  1. 1st image shown for 2s
  2. 2nd image shown for 5s
3.10 end with SMIL 1.0 syncbase values end
(smil, source)
(xhtml+smil, source)
  1. 1st image shown for 5s
  2. 2nd image shown at 2s for 3s
3.11 end with SMIL 1.0 syncbase values clockvalue
(smil, source)
(xhtml+smil, source)
  1. 1st image shown between [0s, 5s]
  2. 2nd image shown between [0s, 3s]
3.12 end = syncbase with negative offset
(smil, source)
(xhtml+smil, source)
  1. 1st image shown for 5s
  2. 2nd image shown for 3s
3.13 end = syncbase with negative offset (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video and the picture starts to be presented
  2. if the user clicks before 15.8s
  3. then both the video and the picture are removed
  4. Otherwise the picture is removed at 15.8s and
  5. the video ends either if the user clicks or at t=23.8s
3.14 end = syncbase with negative offset (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video and the picture starts to be presented
  2. the picture is removed at 3.6s and the video ends at t=5.6s
3.15 end = syncbase with negative offset (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video and the picture starts to be presented.
  2. they are both removed at t=5.6s
3.16 end = syncbase (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the picture is shown indefinitely.
3.17 end = syncbase (case 5)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. nothing is shown
3.18 end = syncbase with positive offset
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video and the picture start to be presented
  2. at t=0s. The video ends at t=5.6s and freezes
  3. its last frame until the par ends at 8.6s. The picture ends at t=8.6s.
3.19 end with multiple end values = event and clock
(smil, source)
(xhtml+smil, source)
  1. end audio on image click within 10s or after 10s
3.20 end = eventbase (case 1)
(smil, source)
(xhtml+smil, source)
  1. the two pictures start to be presented,
  2. if the button one is clicked before 10s
  3. then the second picture stops to be shown.
  4. Otherwise the two picture disappeared at t=10s
3.21 end = eventbase (case 2)
(smil, source)
(xhtml+smil, source)
  1. First image shown at 0s,
  2. second image shown at 4s.
  3. Second image disappears with click on first image after 4s,
  4. or both images disappeared at 10s.
3.22 end with multiple conditions including mix of scheduled and interactive
(smil, source)
(xhtml+smil, source)
  1. show image, play audio file end on image click or at 10s
4 Repeats  
4.1 Normal use of Repeatcount
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. video is played twice
4.2 repeatCount is numeric (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the following sequence is repeated twice#
  2. play the video (5.6s) and freeze its last frame during about 2.4s.
4.3 repeatCount is numeric (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played twice with each 5s
4.4 repeat with begin attribute
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. Nothing during 6s then the video is played twice.
4.5 RepeatCount with begin (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the following sequence is repeated twice:
  2. wait 6s and then play the video (5.6s)
4.6 repeatCount attribute with partial repeat
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played twice and an half
4.7 RepeatCount on discrete object
(smil, source)
(xhtml+smil, source)
  1. nothing is shown
4.8 repeatCount and indefinite dur
(smil, source)
(xhtml+smil, source)
  1. the picture is shown indefinitely
4.9 RepeatCount = indefinite, RepeatDur = finite
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The 5 first seconds of the video are played twice
4.10 RepeatCount = finite, RepeatDur = indefinite
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The 5 first seconds of the video are played twice
4.11 RepeatCount = indefinite, RepeatDur = indefinite
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The 5 first seconds of the video are repeated indefinitely
4.12 repeatCount is indefinite
(smil, source)
(xhtml+smil, source)
  1. play first 2s of audio file over and over...
4.13 Normal use of Repeatdur
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. video is played once then it is restarted for 3s
4.14 Repeatdur lower than intrinsic dur
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. video is played during 4s
4.15 Repeatdur on discrete object
(smil, source)
(xhtml+smil, source)
  1. the picture is shown during 5s
4.16 Repeatdur and indefinite dur
(smil, source)
(xhtml+smil, source)
  1. the picture is shown during 5s
4.17 Repeatdur = indefinite on a discrete object
(smil, source)
(xhtml+smil, source)
  1. nothing is shown
4.18 Repeatdur = indefinite on a continuous object
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video repeats indefinitely
4.19 repeatDur is indefinite
(smil, source)
(xhtml+smil, source)
  1. play first 2s of audio file over and over...
4.20 repeat (ill defined behavior but must be supported)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video twice
4.21 begin=repeat
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the image is shown for 8s and
  2. at=6s the video starts
4.22 dur=clock value on a continuous object (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts and is interrupted at t=4s
4.23 dur=clock value on a continuous object (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts and is frozen between 5.4s and 8s.
4.24 dur=clock value on a continuous object (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts and is frozen between 5.4s and 8s.
4.25 dur=clock value on a continuous object (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts and ends at t= 5.4s
5 Time Manipulations - speed  
6 Time Manipulations - accelerate and decelerte  
7 Time Manipulations - autoReverse  
8 computing active duration  
8.1 intrdur_end_audio
(smil, source)
(xhtml+smil, source)
  1. play audio for 26.2s
  2. delay 5s
  3. show second picture for 5s
8.2 intrdur_end_video
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video for 5.6s
  2. last video frame should stay on for 5s
  3. show second picutre for 5s
8.3 intrdur_end_video_fill_remove
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video for 5.6s
  2. last video frame should stay on for 5s
  3. blank during 2s
  4. show second picture for 5s
8.4 dur and repeatCount
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video of 5s twice
8.5 dur and repeatDur
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video of 5s twice
8.6 dur and repeatCount used with end
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video of 5s twice
8.7 dur and repeatDur used with end
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video of 5s twice
8.8 implicit dur used with repeatCount
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video for full 11.3s and one more of 8.6s
8.9 implicit dur used with repeatDur
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video for full 11.3s and one more of 8.6s
8.10 indefinitely repeatCount
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video indefinitely
8.11 indefinitely repeatDur
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video indefinitely
8.12 Repeatdur = indefinite on a discrete object
(smil, source)
(xhtml+smil, source)
  1. only the frown picture is shown for 5s
8.13 Repeatdur on a discrete object
(smil, source)
(xhtml+smil, source)
  1. only the frown picture is shown for 5s
9 fill attribute  
9.1 Fill = freeze in a par
(smil, source)
(xhtml+smil, source)
  1. the two pictures are shown 5s
9.2 Fill = freeze on a par node (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=4 image1 disappears,
  3. at t=7 the video ends
  4. at t=11 image2 is shown for 3s
9.3 Fill = freeze on a par node (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=7 the video ends
  3. at t=11s image1 disappears
  4. then image2 is shown for 3s
9.4 Fill = freeze on a par node (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=4 image1 disappears,
  3. at t=7 the video ends and disappears,
  4. then blank for 4s,
  5. then image2 is shown for 3s
9.5 Fill = freeze on a par node (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s image1 and the video are shown,
  2. at t=7s the video ends,
  3. at t=14s image1 disappears,
  4. then image2 is shown for 3s
9.6 Fill = hold in a par
(smil, source)
(xhtml+smil, source)
  1. the two pictures are shown 5s
9.7 Fill = hold on a par node
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=7s the video ends,
  3. at t=14s image2 is shown for 3s,
  4. at t=17s image1 disappears
9.8 Fill = remove in a par
(smil, source)
(xhtml+smil, source)
  1. only the image2 is shown 5s
9.9 Fill = remove on a par node (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=4s image1 disappears,
  3. at t=7s the video ends,
  4. then a blank for 4s,
  5. then image2 is shown for 3s
9.10 Fill = remove on a par node (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=7 the video ends and image1 disappears,
  3. then a blank for 4s,
  4. then image2 is shown for 3s
9.11 Fill = remove on a par node (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=7s the video ends,
  3. at t=10s image1 disappears,
  4. then a blank for 4s,
  5. then image2 is shown for 3s
9.12 Fill = Freeze in Seq (case1)
(smil, source)
(xhtml+smil, source)
  1. don't play the first picture
  2. the second picture is shown 5s
9.13 Fill = Freeze in Seq (case2)
(smil, source)
(xhtml+smil, source)
  1. play the first picture for 4s
  2. the second picture is shown 5s
9.14 Fill = Freeze in Seq (case3)
(smil, source)
(xhtml+smil, source)
  1. don't play the first picture
  2. play the second picture for 4s
  3. play the third picture for 5s
9.15 Fill = Freeze in Seq (case4)
(smil, source)
(xhtml+smil, source)
  1. play the first picture for 8s then
  2. the second picture is shown 5s
9.16 Fill = Freeze in Seq (case5)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play the video 5.6 sec
  2. keep the last frame of the video for 4s
  3. the second picture is shown 5s
9.17 Fill = Freeze in Seq (case6)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. only play the video for 5.6s
  2. the second picture is not shown
9.18 Fill = Freeze in Seq (case7)
(smil, source)
(xhtml+smil, source)
  1. play the first picture for 4s
  2. the second picture is shown 6s
9.19 Fill = Freeze in Seq (case8)
(smil, source)
(xhtml+smil, source)
  1. play the audio for 5s,
  2. a delay of 4s,
  3. the picture is shown 5s
9.20 Fill = Freeze on a seq node (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then a blank of 4s,
  4. then image2 is shown for 3s
9.21 Fill = Freeze on a seq node (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then then a blank of 4s,
  4. then image2 is shown for 3s
9.22 Fill = Freeze on a seq node (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then its last displayed frame is frozen for 7s,
  4. then image2 is shown for 3s
9.23 Fill = Freeze on a seq node (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 13s,
  2. at t=4s the video is played for 5s,
  3. at t= 13s image2 is shown for 3s
9.24 Fill = Freeze on a seq node (case 5)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then a blank for 7s,
  4. then image2 is shown for 3s
9.25 Fill = remove on a seq node (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then the video is played for 5s,
  3. then a blank for 4s,
  4. then image2 is shown for 3s
9.26 Fill = remove on a seq node (case 2)
(smil, source)
(RM smil,