ffmpeg.js
ffmpeg.js copied to clipboard
Requests for new filter/decoder/etc
Please comment if you need some ffmpeg feature not currently available in npm builds. I'm considering two options: make one build with all features included (#26) or add those features to normal builds.
Demuxers
- [x] matroska
- [x] ogg
- [x] mov
- [x] mp3
- [x] wav
- [x] image2
- [x] concat
Decoders
- [x] vp8
- [x] h264
- [x] vorbis
- [x] opus
- [x] mp3
- [x] aac
- [x] pcm_s16le
- [x] mjpeg
- [x] png
- [ ] mpeg2video
- [ ] hevc
- [ ] gif
Filters
- [x] aresample
- [x] scale
- [x] crop
- [x] overlay
- [x] hstack
- [x] vstack
- [ ] palettegen
- [ ] paletteuse
- [ ] setpts
Encoders
- [ ] gif
- [ ] mjpeg
- [ ] png
Gif support would be a typical feature ffmpeg is used for (e.g. transcode a video to gif).
A use case for ffmpeg.js is to transcode videos in the browser for privacy reason. One can transcode videos that are not playable in the browser to webm, or extract video screenshot and save as jpg. Basically, ffmpeg.js extents the browser's video processing capabilities beyond those enabled by the html5 video and/or canvas tags.
It would be helpful if ffmpeg.js can support as much decoders as possible. At the very least, hevc and mpeg2video decoders should be included (*.mkv and *.avi videos are still quite common). Perhaps we can have an all inclusive build, a maximum decoders support build, a maximum filters support build, and a js file size optimized build?
Make one build with all features would be nice.
@haobinyang what features do you need in particular?
@haobinyang what features do you need in particular?
We need hevc decoder and all encoders you listed above. :)
hevc decoder please
The image encoders would be great as well
extracting images from video files or taking screenshots from a video seems a common use case
All above. As many as possible. Thanks!