1.0.6 • Published 2 years ago

flv-data v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

flv data· npm version

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

flv-data online 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

FieldTypeDescription
-iurl stringinput file url
-dataurl string or JSONStirngmetadata, is json url or JSONStirng
-ttimestampvideo timestamp
-ourl stringoutput file url

other

flv.js online test

FLV video_file_format_spec for AMF

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago