I am following this Audio Encode example from the ffmpeg docu: https://www.ffmpeg.org/doxygen/0.6/api-example_8c-source.html
But instead of a .mp2
file i want to decode a .wav
file
So I changed this lines in my program:
codec = avcodec_find_encoder(AV_CODEC_ID_WAVPACK)
if(!codec){
fprintf(stderr,"codec not found\n");
exit(1)
}
But I always enter the if
-> it seems I cannot open the codec.
I have installed wavpack
and libva
with --enable-libwavpack
.