The book introduces the basic principles of video compression, and presents its implementations in C/C++. Topics covered include: An introduction to information theory, Imaging basics, color models Image storage formats, Macroblocks, DCT, quantization, Entropy encoding, Run-level encoding, Motion estimation and compensation, SDL Video Interface, multi-threaded programming, Searching techniques, integer arithmetics, compression by graphics models, FFmpeg libraries.