Skip to reading
PCA Script Programming

stop_video()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Stop Video | Action ID: StopVideo

Stop the current video playback.

No options in the standard shared schema.

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
stop_video({})

In use. Use it to cancel a video inspection. Test the cancel path separately from natural completion; an explicit stop should not be assumed to raise the same completion event.

seek_video()#

Seek Video | Action ID: SeekVideo

Seek the current video to minutes plus seconds.

Source table from stop_video(), page 200
Option key / fieldMeaning and accepted inputDefault
Minute minutesWhole minutes; added to Seconds to form a playback position.0
Second secondsNumber; decimals allowed.0

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
seek_video({"minutes": 0, "seconds": 1})

In use. Seek to 0 minutes 12 seconds while testing a clip. Playback and seeking depend on the imported format and decoder; test the build you intend to distribute.

Page 200 of 357Permalink
Go to page