Patent ID: 9582412
Date: 2017-02-28
CPC Classifications: G06F,G06T,H04N

Claim:
1. A method for recording a first digital media stream with an unknown length, comprising a number of media frames, in a data storage, said method comprising the following steps: setting up an encoder for encoding the media frames into encoded frames in a compression mode; encoding each media frame of the first digital media stream with an unknown length into an encoded frame comprising a first number of sets of data, wherein each set of data represents at least one of several different characteristics of the media frame, wherein the different characteristics are assigned different priority; as ongoing recording of the first digital media stream with the unknown length continues, detecting if the data storage is full; and if the data storage is not full, for each encoded frame storing all the first number of sets of data in the data storage; and if the data storage is full, as the ongoing recording of the first digital media stream with the unknown length continues, for each encoded frame, storing a second number of sets of data in one or more areas in the data storage previously occupied by the sets of data representing the lowest prioritized characteristics of the stored encoded frames, such that during the ongoing recording of the first digital media stream the stored encoded frames are altered but not entirely overwritten so as to preserve an entirety of the length of the first digital media stream for the duration of the recording thereof.