A method and system for timecode generation including: receiving an
encryption key and an implemented encryption method, for each one of a
plurality of frames, receiving a timecode and an associated presentation
time stamp (PTS) associated with the one frame, for each one of the
plurality of frames, encrypting the timecode associated with the one
frame using the encryption key and the implemented encryption method,
thereby producing a plurality of encrypted timecodes, and at a time
associated with the associated PTS associated with the one frame,
outputting a packetized elementary stream (PES) including the plurality
of encrypted timecodes. Related systems and methods are also described.