A method to mark an elementary media content of a stream of digital data packets received by a receiver device, the receiver device comprising at least one processor, memories, a descrambler, decoder modules producing a sequence of elementary media content packets, the receiver device further comprises a marker unit configured to mark by modifying data in the sequence of elementary media content packets according to a pattern defined by an internal parameter associated to the receiving device, the method comprising steps of: - determining, by the marker unit, in the sequence of elementary media content packets at least one segment of a predetermined length and starting at a predetermined position in the sequence, - dividing the segment into a predetermined number of contiguous windows including data of all or part of at least one elementary media content packet, the method is characterized in that it further comprises step of: - indexing each window in the segment defined in the sequence of elementary media content packets, each index defining a position of a window in the segment, - coding the internal parameter by applying a mathematical transformation function, obtaining a resulting bits string, - calculating position indices of a predetermined number of windows on the basis of all or a portion of the resulting bits string by applying a modulo operator to each of the first predetermined number bytes of said resulting bits string, said predetermined number of windows being lower than the number of windows in the segment, - modifying data in the windows designated by the calculated position indices by adding a glitch producing a detectable distortion, the windows including the glitch and the windows including original data form, within the segment of elementary media content packets, a unique pattern representing the internal parameter associated to the receiving device, - marking the predetermined start position of the segment in the sequence with a start code in form of a particular glitch having a length spreading to several windows or consecutive glitches within a window, said start code producing a detectable distortion distinct from the detectable distortion produced by the glitch added in the windows designated by the calculated position indices, - outputting elementary media content data packets including at least one sequence of elementary media packets comprising the at least one segment comprising windows including data modified by addition of the glitch. - determining, by the marker unit, in the sequence of elementary media content packets at least one segment of a predetermined length and starting at a predetermined position in the sequence, - dividing the segment into a predetermined number of contiguous windows including data of all or part of at least one elementary media content packet, - indexing each window in the segment defined in the sequence of elementary media content packets, each index defining a position of a window in the segment, - coding the internal parameter by applying a mathematical transformation function, obtaining a resulting bits string, - calculating position indices of a predetermined number of windows on the basis of all or a portion of the resulting bits string by applying a modulo operator to each of the first predetermined number bytes of said resulting bits string, said predetermined number of windows being lower than the number of windows in the segment, - modifying data in the windows designated by the calculated position indices by adding a glitch producing a detectable distortion, the windows including the glitch and the windows including original data form, within the segment of elementary media content packets, a unique pattern representing the internal parameter associated to the receiving device, - marking the predetermined start position of the segment in the sequence with a start code in form of a particular glitch having a length spreading to several windows or consecutive glitches within a window, said start code producing a detectable distortion distinct from the detectable distortion produced by the glitch added in the windows designated by the calculated position indices, - outputting elementary media content data packets including at least one sequence of elementary media packets comprising the at least one segment comprising windows including data modified by addition of the glitch.