A command-line tool for inspecting and manipulating FLV and E-FLV (Enhanced FLV) files.
go build -o bin/
bin/eflv [command] [flags]
Display structural information about an FLV / E-FLV file.
bin/eflv info <input.flv> [--json] [--verbose]
| Flag | Description |
|---|---|
--json |
Output machine-readable JSON instead of text |
--verbose |
Include lower-level details (offsets, timestamps, tag counts) |
Merge two E-FLV inputs into a single output FLV.
bin/eflv merge <a.flv> <b.flv> -o <out.flv> [--multitrack]
| Flag | Description |
|---|---|
-o, --output |
Output file path (required) |
--multitrack |
Preserve each input as a separate track group |
├── main.go # Entry point
├── cmd/
│ ├── root.go # Root CLI command (Cobra)
│ ├── info.go # info subcommand
│ └── merge.go # merge subcommand
├── flv/
│ ├── parser.go # FLV file parsing
│ ├── amf0.go # AMF0 decoder
│ ├── codec_config.go # Codec configuration record parsing
│ └── merge.go # FLV merge logic
Work in progress. The tool is under active development. Current state: