Patent ID: 8867625

Claim:
A method, comprising: receiving a request of a playing quality level for a data file; in response to the request, invoking a protection system for said data file based on a parameter stored in said data file, such that frames of the data file are selectively protected by storing parameters that are associated with corresponding different frames whose values are selected to meet the playing quality level requested; if a high quality level is requested, allotting a first value to a byte of identification of said data file for each stored frame; if a low quality level is requested: scanning a frame a first time and checking if it is a frame of the first type; if the scanned frame is checked to be a frame of the first type, allotting said first value to said byte of identification of said first-type frame; if the scanned frame is checked to not be a frame of the first type, scanning said frame a second time to check if it is a frame of a second type; if the scanned frame is checked to be a frame of the second type, allotting a second value to said byte of identification of said second-type frame; if the scanned frame is checked to not be a frame of the second type, allotting a third value to said byte of identification of said third-type frame.