Kagami / ffmpeg.js

Port of FFmpeg with Emscripten
Other
3.28k stars 332 forks source link

Requests for new filter/decoder/etc #104

Open Kagami opened 4 years ago

Kagami commented 4 years ago

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

Decoders

Filters

Encoders

tpetry commented 4 years ago

Gif support would be a typical feature ffmpeg is used for (e.g. transcode a video to gif).

woranl commented 4 years ago

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?

haobinyang commented 4 years ago

Make one build with all features would be nice.

Kagami commented 4 years ago

@haobinyang what features do you need in particular?

haobinyang commented 4 years ago

@haobinyang what features do you need in particular?

We need hevc decoder and all encoders you listed above. :)

florian-milky commented 4 years ago

hevc decoder please

antti2000 commented 4 years ago

The image encoders would be great as well

flyingzl commented 4 years ago

extracting images from video files or taking screenshots from a video seems a common use case

Hudie commented 4 years ago

All above. As many as possible. Thanks!