FFmpeg
This plugin provides dependency support for FFmpeg, giving developers a wide range of image, video, and audio encoding and decoding capabilities.
Note: This feature can only be used in Eagle 4.0 beta 7 and above.
Introduction to FFmpeg Dependency Plugin
The "FFmpeg Dependency Plugin" is a toolkit for browser plugin developers, encapsulating the powerful multimedia processing capabilities of FFmpeg into an easy-to-use dependency package. This toolkit allows developers to easily implement image, video, and audio format encoding and decoding, as well as advanced features such as streaming media processing and format conversion, in their own plugins. By integrating the "FFmpeg Dependency Plugin", developers can seamlessly expand the multimedia processing capabilities of their plugins, bringing more creative and practical features to users.
Installing the FFmpeg Dependency Plugin
Enter the plugin center
Search and find the FFmpeg plugin
Click to install the FFmpeg plugin
Please note that when users install plugins with FFmpeg dependencies, Eagle will automatically prompt users to install the "FFmpeg Dependency Plugin". Therefore, developers do not need to specifically write code for users to install, just provide corresponding prompts for possible errors.
How to Use the FFmpeg Dependency Plugin
If you want to use FFmpeg related functions in your plugin, you need to add a dependencies
definition in the plugin's manifest.json
file, so that the Eagle system knows that this plugin needs additional extension functions, as shown below:
Window Plugin Example
You can use eagle.extraModule.ffmpeg
to call the functions provided by the FFmpeg dependency plugin, as shown below:
Thumbnail Plugin Example
You can get FFmpeg related functions through the extraModule
parameter, as shown below:
Last updated