clip .chapter .set  (  ObjectID ,  Chapter ,  Mode  )  
                                     
Description :

This instruction sets the current chapter of a clip.

Parameters :

  • ObjectID of the clip
  • Chapter index, valid in the range [1, number of chapters].
  • SEEK_SET (default)
    SEEK_FROM_CURRENT (Seeks from the current chapter of the clip)
    SEEK_FROM_END (Seeks from the end of the clip. Its result will therefore have a negative value, i.e., -10 chapters).

Examples :