nmnir
nmnir

Reputation: 578

Enable Codec on FFmpeg

I'm tryiing to use g711 alaw with ffmpeg. The call avcodec_find_encoder(CODEC_ID_PCM_ALAW); returns null. I'm passing --enable-encoder=pcm_alaw as parameter to ./configure. What is wrong?

Thanks, Nahum

Upvotes: 0

Views: 3132

Answers (2)

pinxue
pinxue

Reputation: 1746

Did you called av_register_all() before find encoder?

Upvotes: 0

sashoalm
sashoalm

Reputation: 79467

If you have the ffmpeg executable compiled, you use "ffmpeg -formats" command line to see what codecs are supported.

Upvotes: 1

Related Questions