1. A method for encoding video data by an encoder, the method including: receiving, by the encoder, video data including frames; determining, by the encoder, at least one temporal structure based on a series of consecutive frames in the video data, the temporal structure including a sub-block of video data from each frame in the series; obtaining, by the encoder, a measurement matrix, the measurement matrix including an assigned pattern of pixel values; and generating, by the encoder, a set of measurements by applying the measurement matrix to the at least one temporal structure, the set of measurements being coded data representing the at least one temporal structure.