[FFmpeg-devel] Add Mediacodec audio decoders support
Rémi Denis-Courmont
remi at remlab.net
Tue Jul 16 21:24:47 EEST 2024
Le tiistaina 16. heinäkuuta 2024, 18.48.06 EEST Cosmin Stejerean via ffmpeg-
devel a écrit :
> To add another data point, the platform decoders might also be more secure
> due to sandboxing. I believe as of Android Q the software decoders provided
> by MediaCodec have been moved to run within a constrained sandbox.
Platform decoders are in all likelihood strictly less secure than software
decoders. Software decoders will run in a user-space sandboxed within their
respective application. Platform decoders will run in a more privileged system
service, with direct access to a kernel driver in EL1, through that to the
firmware running on the video DSP.
More performant and energy-efficient. But also way way less secure.
The only viewpoint whence this is more secure, is the content publisher's:
this model enables DRM with hardware pass-through (but that does not even
apply if you use FFmpeg as the front end).
--
雷米‧德尼-库尔蒙
http://www.remlab.net/
More information about the ffmpeg-devel
mailing list