[Libav-user] AAC with FLV

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Apr 17 18:36:29 CEST 2013


Brad O'Hearne <brado at ...> writes:

> Is there a way to encode an FLV file with AAC audio 
> rather than the ADPCM which defaults when creating an
> output format context oriented to FLV? The output 
> format context defaults to the ADPCM_SWF codec, but
> when I tried to change it to AAC (or SPEEX or MP3) I 
> received an error message -- that these codecs 
> couldn't be found.

For mp3 and speex, you have to compile FFmpeg with 
external libraries (lame and libspeex), to use the 
internal aac encoder you have to pass the equivalent 
of -strict -2 to the system.

Carl Eugen



More information about the Libav-user mailing list