Open topic with navigation
Event mode helps to create documents that contain information about a single topic, which can provide a better experience for your users when they retrieve the content, and improves the performance of IDOL operations such as categorization.
In event mode, Media Server creates a document for each record in an event track. The document that is generated contains the event from the event track. Other records are included if they overlap with the event in the event track or if they occurred after the end of the previous event. Each document might represent a different amount of video content.
The event track can be any track that you choose, though often it will be a track that you create using event stream processing. The event track could contain a record whenever there is a scene change, or whenever there is a pause in speech. For example, if you are analyzing news content Media Server can start a new document whenever there is a pause in speech, which could indicate the start of a new story.
In event mode, all of the records in the selected tracks are output to at least one document. Compare this with Bounded Event Mode, in which some records can be omitted.
Be aware that if you choose an event track that has overlapping records (for example the result track from a face recognition task), the resulting documents might contain more than one record from the event track, and some records will be output to multiple documents.
Consider these records. The following diagrams demonstrate how Media Server constructs documents in event mode. The
FaceRecognition.Result track has been chosen as the event track.
The first document contains the first record in the event track (the first event). Other records are included if they overlap with this event or if they occurred since the end of the previous event. In this case the previous event is the beginning of the video.
The second document contains the second record in the event track (the second event). Other records are included if they overlap with this event or if they occurred since the end of the previous event.
The third document contains the third record in the event track (the third event). Other records are included if they overlap with this event or if they occurred since the end of the previous event.
The end of the video is considered as an event, so in this case a final document is produced containing the final records in the speech-to-text result track.