Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Anton Khirnov <anton@khirnov.net>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] Add Mediacodec audio decoders support
Date: Tue, 23 Jul 2024 15:43:52 +0200
Message-ID: <172174223277.21847.17863177722450434478@lain.khirnov.net> (raw)
In-Reply-To: <tencent_804DD0CFFE5533A71638A41609CD0BA02907@qq.com>

Quoting Zhao Zhili (2024-07-23 13:44:37)
> > On Jul 23, 2024, at 19:35, Martin Storsjö <martin@martin.st> wrote:
> > 
> > On Wed, 10 Jul 2024, Zhao Zhili wrote:
> > 
> >> 
> >>> On Jun 12, 2024, at 21:42, Matthieu Bouron <matthieu.bouron@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.

I don't think we should add wrappers for random decoders just because
they are there, without a good reason. And if the reason here is
patents, then it does not apply to flac, vorbis, or opus.

-- 
Anton Khirnov
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

      reply	other threads:[~2024-07-23 13:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-12 13:42 Matthieu Bouron
2024-06-12 13:42 ` [FFmpeg-devel] [PATCH 1/2] avcodec/mediacodecdec_common: ensure input buffer timestamp is positive Matthieu Bouron
2024-06-12 13:42 ` [FFmpeg-devel] [PATCH 2/2] avcodec: add Mediacodec audio decoders support Matthieu Bouron
2024-07-10  8:47   ` Matthieu Bouron
2024-07-28 15:23   ` Zhao Zhili
2024-06-12 14:00 ` [FFmpeg-devel] Add " Paul B Mahol
2024-07-10 13:54 ` Zhao Zhili
2024-07-10 16:31   ` Matthieu Bouron
2024-07-16 13:20     ` Matthieu Bouron
2024-07-16 14:58       ` Zhao Zhili
     [not found]         ` <2009DBEE-686A-42F6-A5DF-35147272EEF0@cosmin.at>
2024-07-16 15:48           ` Cosmin Stejerean via ffmpeg-devel
2024-07-16 16:04             ` Zhao Zhili
     [not found]               ` <057FD6DF-E71C-49D0-8D11-7A7E4D5FB5CC@cosmin.at>
2024-07-16 16:42                 ` Cosmin Stejerean via ffmpeg-devel
2024-07-16 18:24             ` Rémi Denis-Courmont
     [not found]               ` <205EB89E-F6F9-438D-A9BC-E76E5439C7C7@cosmin.at>
2024-07-16 20:14                 ` Cosmin Stejerean via ffmpeg-devel
2024-07-17  9:38                   ` Anton Khirnov
2024-07-17 12:19                     ` Michael Niedermayer
2024-07-19 19:59                     ` Martin Storsjö
2024-07-17 15:39             ` Paul B Mahol
     [not found]               ` <4F1B9768-96C8-4708-92ED-AC8E1C9FC46F@cosmin.at>
2024-07-17 17:35                 ` Cosmin Stejerean via ffmpeg-devel
2024-07-23 11:35   ` Martin Storsjö
2024-07-23 11:44     ` Zhao Zhili
2024-07-23 13:43       ` Anton Khirnov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=172174223277.21847.17863177722450434478@lain.khirnov.net \
    --to=anton@khirnov.net \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git