Flavor is a language developed for describing (in a formal way) any coded audio-visual or general multimedia bitstream. It comes with a translator for automatic generation of C++/Java code, which can be used to read/write/trace the described bitstream.