This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[AM335x] ffmpeg - Opus Codec Support

AM335x Champs,

Do you know if the Opus codec is supported by our build of ffmpeg?  The ffmpeg site says that it is supported through external libraries.  If it is not supported is it planned?

ffmpeg Supported Audio Codecs:
 
Opus Codec:

 

  • It looks like support for libopus was added in version 0.8.4 of libavcodec, the current version of ffmpeg/libav that is included in the SDK is based on 0.7.x so support is not yet there. It may be possible to manually build a newer version of the plugins to enable this but I cannot comment on what other additonal dependencies will be introduced with this.

    Regards,

    Dave 

  • Dave,

    Thanks for you reply!  Do you know if we plans to upgrade ffmpeg's libavcodec from 0.7.x to 0.8.4 in our next SDK revision?  If so then all we would need to is to incorporate the external libopus to support it.  This doesn't seem to far off since the AM335x uses the ffmpeg project

    Can this is all be done in the application layer or does this effect the core SDK, which would require it to be rebuilt?

    Thanks,

     

  • Mike,

    It's unlikely that this will be upgraded in the next version of the SDK.

    You should be able to get a copy of the source for libopus and libav-0.8.4 and build them using the arm-arago-linux-gnueabi- toolchain however I have not tried this myself and there may be additional depencies introduced that will also need to be built but all of this can be done in the application layer.

    Regards,

    Dave