MCPcopy Create free account

hub / github.com/alfg/mp4 / functions

Functions50 in github.com/alfg/mp4

↓ 12 callersMethodReadBoxData
ReadBoxData reads the box data from an atom box.
atom/box.go:92
↓ 8 callersFunctionreadBoxes
(m *Mp4Reader, start int64, n int64)
atom/box.go:99
↓ 5 callersMethodParse
Parse reads an MP4 reader for atom boxes.
atom/box.go:28
↓ 4 callersFunctionOpen
Open opens a file and returns an &Mp4Reader{}.
mp4.go:12
↓ 4 callersFunctionfixed16
(bytes []byte)
atom/util.go:35
↓ 4 callersFunctionfixed32
(bytes []byte)
atom/util.go:42
↓ 3 callersMethodSize
()
examples/server_example/main.go:19
↓ 2 callersFunctionOpenFromReader
OpenFromReader read and returns an &Mp4Reader{}.
mp4.go:25
↓ 2 callersMethodReadBytesAt
ReadBytesAt reads a box at n and offset.
atom/box.go:76
↓ 2 callersMethodparse
()
atom/avc1.go:9
↓ 1 callersFunctionGetDurationString
GetDurationString Helper function to print a duration value in the form H:MM:SS.MS
atom/util.go:10
↓ 1 callersMethodReadBoxAt
ReadBoxAt reads a box from an offset.
atom/box.go:61
↓ 1 callersFunctiongetLanguageString
(language uint16)
atom/mdhd.go:41
↓ 1 callersMethodparse
()
atom/trak.go:19
↓ 1 callersMethodparse
()
atom/uuid.go:15
FunctionBenchmarkOpen
(b *testing.B)
mp4_test.go:24
MethodGetHeight
GetHeight returns a calculated tkhd height.
atom/tkhd.go:51
MethodGetWidth
GetWidth returns a calculated tkhd width.
atom/tkhd.go:46
FunctionOpenFromBytes
OpenFromBytes read and returns an &Mp4Reader{}.
mp4.go:34
MethodString
()
atom/util.go:31
FunctionTestFixed16
(t *testing.T)
atom/util_test.go:18
FunctionTestFixed32
(t *testing.T)
atom/util_test.go:44
FunctionTestGetDurationString
(t *testing.T)
atom/util_test.go:9
FunctionTestOpen
(t *testing.T)
mp4_test.go:9
FunctiongetDurationMS
(duration, timescale uint32)
cmd/mp4info/mp4info.go:91
FunctiongetFlags
(flags uint32)
cmd/mp4info/mp4info.go:109
FunctiongetFramerate
(sampleCounts []uint32, duration, timescale uint32)
cmd/mp4info/mp4info.go:85
FunctiongetHandlerType
(handler string)
cmd/mp4info/mp4info.go:99
Functioninit
()
cmd/mp4info/mp4info.go:52
Functionmain
()
cmd/mp4info/mp4info.go:57
Functionmain
()
examples/reader_example/main.go:12
Functionmain
()
examples/file_example/main.go:11
Functionmain
()
examples/server_example/main.go:57
Methodparse
()
atom/moov.go:27
Methodparse
()
atom/edts.go:13
Methodparse
()
atom/stts.go:19
Methodparse
()
atom/vmhd.go:18
Methodparse
()
atom/hmhd.go:21
Methodparse
()
atom/elst.go:26
Methodparse
()
atom/minf.go:19
Methodparse
()
atom/mdhd.go:28
Methodparse
()
atom/stbl.go:14
Methodparse
()
atom/tkhd.go:27
Methodparse
()
atom/ftyp.go:20
Methodparse
()
atom/hdlr.go:18
Methodparse
()
atom/stsd.go:19
Methodparse
()
atom/mvhd.go:27
Methodparse
()
atom/mdia.go:17
Functionto16
(i atom.Fixed32)
cmd/mp4info/mp4info.go:95
Functionupload
(w http.ResponseWriter, r *http.Request)
examples/server_example/main.go:22