flv-data

1.0.6 • Public • Published

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

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

other

flv.js online test

FLV video_file_format_spec for AMF

/flv-data/

    Package Sidebar

    Install

    npm i flv-data

    Weekly Downloads

    3

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    20.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • zhuguibiao