Added support for multiple Video streams
This commit is contained in:
parent
32f30850c4
commit
b577495180
5 changed files with 124 additions and 73 deletions
|
@ -20,6 +20,7 @@ Calling the `Read()` function will fill in the `Video` struct `framebuffer` with
|
|||
|
||||
```go
|
||||
vidio.NewVideo(filename string) (*vidio.Video, error)
|
||||
vidio.NewVideoStreams(filename string) ([]*vidio.Video, error)
|
||||
|
||||
FileName() string
|
||||
Width() int
|
||||
|
@ -31,7 +32,9 @@ Duration() float64
|
|||
FPS() float64
|
||||
Codec() string
|
||||
AudioCodec() string
|
||||
Stream() int
|
||||
FrameBuffer() []byte
|
||||
MetaData() map[string]string
|
||||
SetFrameBuffer(buffer []byte) error
|
||||
|
||||
Read() bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue