Spark API - Media Players
Command | Action | Description | Examples |
---|---|---|---|
LOAD [name] | Load a clip NAME. | LOAD bf_gamecam | |
SPEED [speed] | Set the playback speed. | SPEED is a percent speed between -16 and 16 where 0 is paused, 1 is 100% speed, and -1 is rewind. | Paused SPEED 0 Normal Playback SPEED 1 Slow Motion SPEED 0.5 Fast Forward SPEED 2 Reverse SPEED -1 |
SEEK [timestamp] | Seek to TIMESTAMP. | TIMESTAMP is a frame timestamp (see top of Page 16 for details). | move forward 2 minutes 30 seconds and 5 frame from the current point SEEK +2:30:5 set playback to 4:29pm on July 29th 2024 (UTC). SEEK =2024:07:29:16:29:00:00 |
GOTO [identifier] | Similar to seek but for special identifiers. | START: oldest frame END: newest frame MARK xx: goto the specified mark point NEXT: goto the previous markpoint in time or end of clip / train. PREV: goto the next markpoint in time or start of clip / train. MARKIN: goto the markin point MARKOUT: goto the markout point |
GOTO START - Go to start of clip / train. GOTO END - Go to end of clip / train. GOTO MARKIN - Go to the clip mark point. GOTO MARK 1 - Go to mark point 1. |
LOOP [TRUE/FALSE] | Set if the clip player will loop at the end of the clip and continue playback. | TRUE if the clip player should loop. FALSE if the clip player should not loop. |
LOOP TRUE - Loop and continue playback at end of clip. LOOP FALSE - Do not loop at end of clip. |