Brooooooklyn / Brooooooklyn/webcodecs-node
Supports native binding for ffprobe
- 主要语言
- Rust
- 星标
- 92
- 派生
- 2
- 平均合并
- 14 小时 15 分钟
- 30 天内合并 PR
- 4
描述
[ffprobe](https://ffmpeg.org/ffprobe.html) is a crucial tool for extracting audio and video information.
Currently, there are almost no native NAPI bindings available for Node.js(https://www.npmjs.com/search?q=ffprobe).
Existing libraries either involve cumbersome installation processes or lack cross-platform compatibility.
We've already implemented cross-platform static library builds in our CI, so let's have napi-rs handle it. This will also help us test our webcodecs implementation.
See also node-av: https://www.reddit.com/r/node/comments/1n3y6ye/comment/nbk8p2z/
----
```bash
ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate,avg_frame_rate,time_base,start_pts,duration,has_b_frame foo.mp4
# output
[STREAM]
has_b_frames=2
r_frame_rate=30/1
avg_frame_rate=30/1
time_base=1/15360
start_pts=0
duration=3.000000
[/STREAM]
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先检查 CI 中现有的跨平台静态库构建,以及 napi-rs 在当前 WebCodecs 实现中的使用方式。将请求的 ffprobe 流字段和命令输出与 binding API 设计进行比较;完成的标准是提供一个能够公开等效信息并支持所述 WebCodecs 测试目标的跨平台原生 Node.js binding。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- node.js, rust
- 领域
- audio-video-rtc
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100