Brooooooklyn / Brooooooklyn/webcodecs-node

Supports native binding for ffprobe

Đang mở
#25 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
92
Fork
2
Merge trung bình
14 giờ 15 phút
Pull request đã merge (30 ngày)
4

Mô tả

[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]
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by reviewing the existing cross-platform static library builds in CI and how napi-rs is used for the current WebCodecs implementation. Compare the requested ffprobe stream fields and command output with the binding API design; done means a cross-platform native Node.js binding that exposes equivalent information and supports the stated WebCodecs testing goal.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
node.js, rust
Lĩnh vực
audio-video-rtc
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.