Complex sentence: A video codec is an electronic circuit or software that compresses or decompresses digital video, thus converting raw (uncompressed) digital video to a compressed format or vice-versa.
Split into simpler sentences: A video codec is a process--implemented in an electronic circuit or software application--that compresses or decompresses digital video. It converts raw (uncompressed) digital video to a compressed format or vice-versa.