[FFmpeg-devel] Add Mediacodec audio decoders support
Zhao Zhili
quinkblack at foxmail.com
Tue Jul 23 14:44:37 EEST 2024
> On Jul 23, 2024, at 19:35, Martin Storsjö <martin at martin.st> wrote:
>
> On Wed, 10 Jul 2024, Zhao Zhili wrote:
>
>>
>>> On Jun 12, 2024, at 21:42, Matthieu Bouron <matthieu.bouron at gmail.com> wrote:
>>> Hello,
>>> This patchset adds Mediacodec audio decoders support. Currently, only AAC, AMR,
>>> MP3, FLAC, VORBIS and OPUS are supported.
>>> This is mainly useful to avoid shipping Android builds of FFmpeg that are
>>> subjects to licensing/patents (due to AAC and AMR).
>>
>> I’m not keen on put OS audio decoder/encoder wrapper into FFmpeg. They don’t bring new features, they don’t improve performance. I know these type of wrapper exist in current project, but I’m not sure if it’s a good idea to add more.
>
> I don't see a problem with it. It doesn't add much extra code, we already have MediaCodec interfacing in place, it allows users to set up whichever configuration they want. We have this for other OS codec interfaces as well, I don't see a problem with adding this one as well - no need for the further arguments about security and sandboxes.
OK. Security isn’t what I’m concerned. I wasn’t clear on the policy side concern than technique issues.
I will do a review and test as soon as possible.
>
> // Martin
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list