Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alfg/mp4
/ functions
Functions
50 in github.com/alfg/mp4
⨍
Functions
50
◇
Types & classes
26
↓ 12 callers
Method
ReadBoxData
ReadBoxData reads the box data from an atom box.
atom/box.go:92
↓ 8 callers
Function
readBoxes
(m *Mp4Reader, start int64, n int64)
atom/box.go:99
↓ 5 callers
Method
Parse
Parse reads an MP4 reader for atom boxes.
atom/box.go:28
↓ 4 callers
Function
Open
Open opens a file and returns an &Mp4Reader{}.
mp4.go:12
↓ 4 callers
Function
fixed16
(bytes []byte)
atom/util.go:35
↓ 4 callers
Function
fixed32
(bytes []byte)
atom/util.go:42
↓ 3 callers
Method
Size
()
examples/server_example/main.go:19
↓ 2 callers
Function
OpenFromReader
OpenFromReader read and returns an &Mp4Reader{}.
mp4.go:25
↓ 2 callers
Method
ReadBytesAt
ReadBytesAt reads a box at n and offset.
atom/box.go:76
↓ 2 callers
Method
parse
()
atom/avc1.go:9
↓ 1 callers
Function
GetDurationString
GetDurationString Helper function to print a duration value in the form H:MM:SS.MS
atom/util.go:10
↓ 1 callers
Method
ReadBoxAt
ReadBoxAt reads a box from an offset.
atom/box.go:61
↓ 1 callers
Function
getLanguageString
(language uint16)
atom/mdhd.go:41
↓ 1 callers
Method
parse
()
atom/trak.go:19
↓ 1 callers
Method
parse
()
atom/uuid.go:15
Function
BenchmarkOpen
(b *testing.B)
mp4_test.go:24
Method
GetHeight
GetHeight returns a calculated tkhd height.
atom/tkhd.go:51
Method
GetWidth
GetWidth returns a calculated tkhd width.
atom/tkhd.go:46
Function
OpenFromBytes
OpenFromBytes read and returns an &Mp4Reader{}.
mp4.go:34
Method
String
()
atom/util.go:31
Function
TestFixed16
(t *testing.T)
atom/util_test.go:18
Function
TestFixed32
(t *testing.T)
atom/util_test.go:44
Function
TestGetDurationString
(t *testing.T)
atom/util_test.go:9
Function
TestOpen
(t *testing.T)
mp4_test.go:9
Function
getDurationMS
(duration, timescale uint32)
cmd/mp4info/mp4info.go:91
Function
getFlags
(flags uint32)
cmd/mp4info/mp4info.go:109
Function
getFramerate
(sampleCounts []uint32, duration, timescale uint32)
cmd/mp4info/mp4info.go:85
Function
getHandlerType
(handler string)
cmd/mp4info/mp4info.go:99
Function
init
()
cmd/mp4info/mp4info.go:52
Function
main
()
cmd/mp4info/mp4info.go:57
Function
main
()
examples/reader_example/main.go:12
Function
main
()
examples/file_example/main.go:11
Function
main
()
examples/server_example/main.go:57
Method
parse
()
atom/moov.go:27
Method
parse
()
atom/edts.go:13
Method
parse
()
atom/stts.go:19
Method
parse
()
atom/vmhd.go:18
Method
parse
()
atom/hmhd.go:21
Method
parse
()
atom/elst.go:26
Method
parse
()
atom/minf.go:19
Method
parse
()
atom/mdhd.go:28
Method
parse
()
atom/stbl.go:14
Method
parse
()
atom/tkhd.go:27
Method
parse
()
atom/ftyp.go:20
Method
parse
()
atom/hdlr.go:18
Method
parse
()
atom/stsd.go:19
Method
parse
()
atom/mvhd.go:27
Method
parse
()
atom/mdia.go:17
Function
to16
(i atom.Fixed32)
cmd/mp4info/mp4info.go:95
Function
upload
(w http.ResponseWriter, r *http.Request)
examples/server_example/main.go:22