2018-03-23 14:52 GMT+01:00, Michael IV <explomaster at gmail.com>: > Hi, what is the codec id for wav enoding? I see in > encode_audio.c AV_CODEC_ID_MP2 > is used. So is this the correct id to write wav files? Your question does not make much sense: wav is a container, you don't set a codec_id to choose a container. Carl Eugen