ffmpeg.js
Port of FFmpeg with Emscripten (by Kagami)
ccapture.js
A library to capture canvas-based animations at a fixed framerate (by spite)
Our great sponsors
ffmpeg.js | ccapture.js | |
---|---|---|
10 | 12 | |
3,204 | 3,473 | |
- | - | |
0.0 | 0.0 | |
6 months ago | over 1 year ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ffmpeg.js
Posts with mentions or reviews of ffmpeg.js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-02.
-
Audio slicing with Javascript
You likely want something like https://github.com/Kagami/ffmpeg.js/ for extracting slices
-
Recordable Canvas Web Component
There are solutions to transcode to MP4 live in your browser, such as with [FFMPEG.js (https://github.com/Kagami/ffmpeg.js/). MP4 is actually just the containing file however! The codec that you record with still needs to be supported by MP4. So prepare for FFMPEG.js to do lots of work if you go this route!
-
Video trimming in browser, client side, without uploading to any server
Well, the heavy lifting is done by ffmpeg (https://github.com/Kagami/ffmpeg.js/)
- Convert video file from .mov to .mp4 using Javascript in a website?
-
Can Anyone help me with displaying a array of pixel values as an image in React ?
I think you want ffmpeg.js
-
How to create a video editor that works in your browser.
Recently, browser features such as SharedArrayBuffer and WebAssembly are increasing. Video and video converter ffmpeg also works in browsers.
-
ffmpeg.js build options question
ffmpeg.js uses a custom build of FFmpeg to keep its size low. I am trying to convert a .ts into a .mp4 which has always been an easy task on my desktop (especially since I believe they are even using the same codecs, aac and h.264), but on the custom build, I get the error sample1.ts: Invalid data found when processing input.
-
Developing a Web based SWF to MP4 converter and hosting site
Maybe use something like that make conversions client side?
-
rivers
Super helpful, thanks so much! I wonder if you'd be able to use something like https://github.com/Kagami/ffmpeg.js to cut out the offline step. I'm working on something at the moment that I'd love to embed in a webpage for general use but getting an MP4 out of it from a browser has been a big stumbling block.
-
Ask HN: Show me your Half Baked project
https://github.com/Kagami/ffmpeg.js/ to import most animation formats and export gifs/webm fully in browser (I don't want to pay real server costs to encode animation).
ccapture.js
Posts with mentions or reviews of ccapture.js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-25.
-
Making YouTube video with React
I also tried to find a better recording method. Since I’m now using canvas, there are some solutions to recording that seemed quite elegant. For example, paper.js uses requestAnimationFrame to achieve its smooth animation. There are libraries like ccapture.js that hooks into the various methods like requestAnimationFrame and setInterval, allowing it to render each frame separately.
-
how to save scene as image file in three.js?
I actually spent a fair bit of time on this and eventually got something to work. Someone named "spite" made a great library called CCapture for doing this, but it needs to be updated and repackaged for ES6. Right now it is painful to integrate into your project, but it could be super-easy. You can help to encourage someone to fix the issues here.
-
Help! does anyone know how to export p5.js into WebM?
Check out CCapture.
- How to download/export animation ?
-
How to create a video editor that works in your browser.
The image capture step uses ccapture to ensure that the playback frame is converted to an image. All frame images to webm video.
-
qgis2threejs export to gif
ccapture.js basically let's you write out frames from a threejs camera, which you then stitch together with ffmpeg.
-
rivers
I use ccapture, using the png option, which will spit out a tar with a png of each frame, and then I stitch them with ffmpeg.
-
[p5.js] Flame.
This video is 1800 frames (30 FPS * 60s)... a browser trying to save 1800 individual frames would lock up and die. Ccapture.js hooks into the browser's rendering code and captures the frames as a 'blob' - a binary object that is often used for streaming video - and then wraps them up into one single download.
-
[p5.js] Swirling the drain
p5.js runs the sketch, ccapture.js captures all of the frames (1800 in this video), and ffmpeg combines the frames into an MP4.
-
[p5.js] Surfing the simplex.
I use ccapture.js, which captures the frames as a blob in real-time then exports it as a .tar file full of jpgs when the sketch is finished (with 'finished' defined as reaching 1800 frames, in this case). This is a lot better than having the browser try to save 1800 jpgs the usual way.
What are some alternatives?
When comparing ffmpeg.js and ccapture.js you can also consider the following projects:
ffmpeg.wasm - FFmpeg for browser, powered by WebAssembly
hls.js - HLS.js is a JavaScript library that plays HLS in browsers with support for MSE.
webm-writer-js - JavaScript-based WebM video encoder for Google Chrome
video-react - A web video player built for the HTML5 world using React library.
react-native-view-shot - Snapshot a React Native view and save it to an image
video.js - Video.js - open source HTML5 video player
spectrum-vue - Adobe Spectrum UI Components for Vue.
flv.js - HTML5 FLV Player
piskel - A simple web-based tool for Spriting and Pixel art.
flowplayer - The HTML5 video player for the web
next-img - A Next.js plugin for embedding optimized images.
ffmpeg.js vs ffmpeg.wasm
ccapture.js vs ffmpeg.wasm
ffmpeg.js vs hls.js
ccapture.js vs webm-writer-js
ffmpeg.js vs video-react
ccapture.js vs react-native-view-shot
ffmpeg.js vs video.js
ccapture.js vs spectrum-vue
ffmpeg.js vs flv.js
ccapture.js vs piskel
ffmpeg.js vs flowplayer
ccapture.js vs next-img