Skip to content

yutopp/go-flv-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-flv-examples

Example programs which using go-flv library.

How to build

make dep-init # install dependencies, dep is required
make

Programs are generated under dist directory.

Programs

cmd/dump

dump outputs flv header data and tag data.

Usage

Usage of dist/dump:
  -i string
    	Input file

Example

> dist/dump -i /tmp/flv_h263_mp3.flv

2018/06/01 19:29:00 Open file: /tmp/flv_h263_mp3.flv
2018/06/01 19:29:00 Header: &{Version:1 Flags:2 DataOffset:9}
2018/06/01 19:29:00 Tag: {TagType:18 Timestamp:0 StreamID:0 Data:<nil>}
2018/06/01 19:29:00 Tag: {TagType:8 Timestamp:0 StreamID:0 Data:0xc42000a160}
2018/06/01 19:29:00 Tag: {TagType:9 Timestamp:0 StreamID:0 Data:0xc42000a1c0}
...

(TODO: fix Data section to show internal payload...)

License

Boost Software License - Version 1.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published