flv-data
v1.0.6
Published
node flv metadata
Downloads
5
Maintainers
Readme
flv data·
add custom script tag data or metadata at any time of the FLV file
English | 简体中文
Why Do It?
There is an FLV live stream in my project, and the result of algorithm analysis needs to be displayed in real time. Therefore, I will add custom script tag data to each frame of the FLV file, and then display it.
demo
Usage Instructions
npm
npm install flv-data -g
flv-data run demo
flv-data -i input.flv -data test.json --t=1000 -o test.flv
API
| Field | Type | Description |
| ------- | -------------------------- | -------------------------------- |
| -i
| url string
| input file url|
| -data
| url string or JSONStirng
| metadata, is json url or JSONStirng |
| -t
| timestamp
| video timestamp |
| -o
| url string
| output file url