Patent attributes
Pre-roll markers are encoded into media content at determined locations to provide a specified amount of pre-roll time before supplemental content is to be provided in place of the primary content of the media file. The supplemental content can be any appropriate content, as may relate to promotional or information content relevant in some way to the primary content or a viewer of the primary content. A marker such as a SCTE-104 message can be received with the media input and translated to a SCTE-35 message during the encoding process. The video stream can be buffered by an amount corresponding to a determined pull-up time such that the SCTE-35 marker, when received to the multiplexer, can be placed into the transport stream at the appropriate location. When received, the marker can provide sufficient notice to prepare the supplemental content to be displayed at the injection point.