ffmpegwasm / ffmpegwasm/ffmpeg.wasm
Can I decode a single frame?
未关闭
- 主要语言
- C
- 星标
- 17.8k
- 派生
- 1.1k
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Is your feature request related to a problem? Please describe.**
We need to decode a H265 stream which is received as individual I frames or P frames.
Is there a way to decode these individual frames via ffmpeg.wasm into image data?
**Describe the solution you'd like**
A method to decode an HVEC frame into image data (dataArray acceptable by ImageData)
https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData
**Describe alternatives you've considered**
We have a native ffmpeg binding that works with node, which we could call ffmpeg APIs like `av_parser_parse2` and `avcodec_send_packet`. But that doesn't work in browsers.
贡献指南
评估
这个 Issue 还没有评估数据。