Brooooooklyn / Brooooooklyn/webcodecs-node

Supports native binding for ffprobe

Aperta
#25 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
92
Fork
2
Merge medio
14h 15m
PR unite (30g)
4

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.