CoCreate-ffmpeg is a versatile media processing module designed to simplify the complex world of video and audio manipulation through an intuitive JavaScript API and HTML attribute-driven interface. Built on the robust capabilities of FFmpeg, this module allows developers and content creators to effortlessly transcode, resize, segment, and perform various other media operations directly within web applications.
- Easy Transcoding: Convert videos and audios to different formats seamlessly, ensuring compatibility across devices and browsers.
- Media Segmentation: Prepare media for streaming by segmenting videos and audios into manageable chunks, perfect for HTTP Live Streaming (HLS).
- Flexible Processing: Resize, trim, and apply filters to your media files with simple commands or HTML attributes.
- HTML Attribute Integration: Use custom HTML attributes to manipulate media directly in your markup, making it accessible for developers of all skill levels.
- JavaScript API: For more advanced use cases, the comprehensive JavaScript API provides the flexibility and power needed for complex media processing tasks.
For a complete guide and working demo refer to the doumentation
<script src="https://cdn.cocreate.app/ffmpeg/latest/CoCreate-ffmpeg.min.js"></script>
<script src="https://cdn.cocreate.app/ffmpeg/latest/CoCreate-ffmpeg.min.css"></script>
$ npm i @cocreate/ffmpeg
$ yarn install @cocreate/ffmpeg
All updates to this library are documented in our CHANGELOG and releases. You may also subscribe to email for releases and breaking changes.
If you are interested in the future direction of this project, please take a look at our open issues and pull requests. We would love to hear your feedback.
CoCreate-ffmpeg is guided and supported by the CoCreate Developer Experience Team.
Please Email the Developer Experience Team here in case of any queries.
CoCreate-ffmpeg is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
We encourage contribution to our libraries (you might even score some nifty swag), please see our CONTRIBUTING guide for details.
We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create issues and pull requests or merely upvote or comment on existing issues or pull requests.
We appreciate your continued support, thank you!
This software is dual-licensed under the GNU Affero General Public License version 3 (AGPLv3) and a commercial license.
-
Open Source Use: For open-source projects and non-commercial use, this software is available under the AGPLv3. The AGPLv3 allows you to freely use, modify, and distribute this software, provided that all modifications and derivative works are also licensed under the AGPLv3. For the full license text, see the LICENSE file.
-
Commercial Use: For-profit companies and individuals intending to use this software for commercial purposes must obtain a commercial license. The commercial license is available when you sign up for an API key on our website. This license permits proprietary use and modification of the software without the copyleft requirements of the AGPLv3. It is ideal for integrating this software into proprietary commercial products and applications.
If you have not purchased a commercial license and intend to use this software for commercial purposes, you are required to sign up for an API key on our website.