Mitsudomoe sub indo. In this repository All GitHub ↵ All GitHub ↵. In order to support legacy transport formats, several signalling techniques are presented here for HE-AAC v2. For MPEG-4 file format (ISO Base Media File Format) used with HTML 5 playback, explicit backwards compatible signalling is recommended as it offers the best compatibility with the widest range of players. ![]() First of all have a look at this Dolby Digital: ac3 Dolby Digital Plus: eac3 MP2: libtwolame, mp2 Windows Media Audio 1: wmav1 Windows Media Audio 2: wmav2 LC-AAC: libfdk_aac, libfaac, aac, libvo_aacenc HE-AAC: libfdk_aac, libaacplus Vorbis: libvorbis, vorbis MP3: libmp3lame, libshine Opus: libopus from the above reading it will be clear to you that in order to encode audio in HE-AAC/ HE-AAC-V2 you have to use libfdk_aac or libaacplus. I will explain how you can do it using libfdk_aac: first make sure you configure ffmpeg along with following options: --enable-libfdk_aac --enable-nonfree now build ffmpeg and try to run the following command and see if it works: $ ffmpeg -i -vcodec copy -acodec libfdk_aac -profile:a aac_he if this works it means libav is linked with libfdk_aac. Now in order to use it in the code: open the encoder using the following instructions: AVCodecContext *encoder_ctx; encoder_ctx->codec_id = AV_CODEC_ID_AAC; encoder_ctx->sample_fmt = AV_SAMPLE_FMT_S16; encoder_ctx->profile = FF_PROFILE_AAC_HE; encoder = avcodec_find_encoder_by_name('libfdk_aac'); // if you still try to open it using avcodec_find_encoder it will open libfaac only. Avcodec_open2(encoder_ctx, encoder, NULL); Here we go, you have libfdk_aac encoder open! The profiles which you can use are as given in this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |