diff --git a/go.mod b/go.mod index 831f46a0c..69a31fdc0 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ require ( codeberg.org/gruf/go-store/v2 v2.2.2 github.com/DmitriyVTitov/size v1.5.0 github.com/KimMachineGun/automemlimit v0.3.0 - github.com/abema/go-mp4 v0.13.0 + github.com/abema/go-mp4 v1.0.0 github.com/buckket/go-blurhash v1.1.0 github.com/coreos/go-oidc/v3 v3.6.0 github.com/disintegration/imaging v1.6.2 diff --git a/go.sum b/go.sum index e2e714119..239ac1919 100644 --- a/go.sum +++ b/go.sum @@ -91,8 +91,8 @@ github.com/DmitriyVTitov/size v1.5.0 h1:/PzqxYrOyOUX1BXj6J9OuVRVGe+66VL4D9FlUaW5 github.com/DmitriyVTitov/size v1.5.0/go.mod h1:le6rNI4CoLQV1b9gzp1+3d7hMAD/uu2QcJ+aYbNgiU0= github.com/KimMachineGun/automemlimit v0.3.0 h1:khgwM5ESVN85cE6Bq2ozMAAWDfrOEwQ51D/YlmThE04= github.com/KimMachineGun/automemlimit v0.3.0/go.mod h1:pJhTW/nWJMj6SnWSU2TEKSlCaM+1N5Mej+IfS/5/Ol0= -github.com/abema/go-mp4 v0.13.0 h1:gjEZLt7g0ePpYA5sUDrI2r8X+WuI8o+USkgG5wMgmkI= -github.com/abema/go-mp4 v0.13.0/go.mod h1:vPl9t5ZK7K0x68jh12/+ECWBCXoWuIDtNgPtU2f04ws= +github.com/abema/go-mp4 v1.0.0 h1:SvfJv+fi2Bpa1uInouqIYpEUFN3yyYCQMXlf4ijOHf0= +github.com/abema/go-mp4 v1.0.0/go.mod h1:vPl9t5ZK7K0x68jh12/+ECWBCXoWuIDtNgPtU2f04ws= github.com/ajg/form v1.5.1 h1:t9c7v8JUKu/XxOGBU0yjNpaMloxGEJhUkqFRq0ibGeU= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/andybalholm/brotli v1.0.0/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y= diff --git a/vendor/github.com/abema/go-mp4/README.md b/vendor/github.com/abema/go-mp4/README.md index 2c6acfdd3..c876a2166 100644 --- a/vendor/github.com/abema/go-mp4/README.md +++ b/vendor/github.com/abema/go-mp4/README.md @@ -6,7 +6,8 @@ go-mp4 [![Coverage Status](https://coveralls.io/repos/github/abema/go-mp4/badge.svg)](https://coveralls.io/github/abema/go-mp4) [![Go Report Card](https://goreportcard.com/badge/github.com/abema/go-mp4)](https://goreportcard.com/report/github.com/abema/go-mp4) -go-mp4 is Go library for reading and writing MP4. +go-mp4 is Go library and CLI tool which provide low-level I/O interfaces of MP4. +This library supports you to parse or build any MP4 boxes(atoms) directly. ## Integration with your Go application @@ -135,7 +136,7 @@ If you should reduce Read function calls, you can wrap the io.ReadSeeker by [buf Install mp4tool as follows: ```sh -go install github.com/abema/go-mp4/mp4tool@latest +go install github.com/abema/go-mp4/cmd/mp4tool@latest mp4tool -help ``` diff --git a/vendor/github.com/abema/go-mp4/box.go b/vendor/github.com/abema/go-mp4/box.go index 72a137951..c69e89257 100644 --- a/vendor/github.com/abema/go-mp4/box.go +++ b/vendor/github.com/abema/go-mp4/box.go @@ -5,7 +5,7 @@ import ( "io" "math" - "github.com/abema/go-mp4/bitio" + "github.com/abema/go-mp4/internal/bitio" ) const LengthUnlimited = math.MaxUint32 diff --git a/vendor/github.com/abema/go-mp4/box_types_iso14496_12.go b/vendor/github.com/abema/go-mp4/box_types_iso14496_12.go index b3e46fd75..f87fb467b 100644 --- a/vendor/github.com/abema/go-mp4/box_types_iso14496_12.go +++ b/vendor/github.com/abema/go-mp4/box_types_iso14496_12.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "github.com/abema/go-mp4/bitio" - "github.com/abema/go-mp4/util" + "github.com/abema/go-mp4/internal/bitio" + "github.com/abema/go-mp4/internal/util" ) /*************************** btrt ****************************/ diff --git a/vendor/github.com/abema/go-mp4/box_types_metadata.go b/vendor/github.com/abema/go-mp4/box_types_metadata.go index a56145e99..de2146975 100644 --- a/vendor/github.com/abema/go-mp4/box_types_metadata.go +++ b/vendor/github.com/abema/go-mp4/box_types_metadata.go @@ -3,7 +3,7 @@ package mp4 import ( "fmt" - "github.com/abema/go-mp4/util" + "github.com/abema/go-mp4/internal/util" ) /*************************** ilst ****************************/ diff --git a/vendor/github.com/abema/go-mp4/bitio/bitio.go b/vendor/github.com/abema/go-mp4/internal/bitio/bitio.go similarity index 100% rename from vendor/github.com/abema/go-mp4/bitio/bitio.go rename to vendor/github.com/abema/go-mp4/internal/bitio/bitio.go diff --git a/vendor/github.com/abema/go-mp4/bitio/read.go b/vendor/github.com/abema/go-mp4/internal/bitio/read.go similarity index 100% rename from vendor/github.com/abema/go-mp4/bitio/read.go rename to vendor/github.com/abema/go-mp4/internal/bitio/read.go diff --git a/vendor/github.com/abema/go-mp4/bitio/write.go b/vendor/github.com/abema/go-mp4/internal/bitio/write.go similarity index 100% rename from vendor/github.com/abema/go-mp4/bitio/write.go rename to vendor/github.com/abema/go-mp4/internal/bitio/write.go diff --git a/vendor/github.com/abema/go-mp4/util/io.go b/vendor/github.com/abema/go-mp4/internal/util/io.go similarity index 100% rename from vendor/github.com/abema/go-mp4/util/io.go rename to vendor/github.com/abema/go-mp4/internal/util/io.go diff --git a/vendor/github.com/abema/go-mp4/util/string.go b/vendor/github.com/abema/go-mp4/internal/util/string.go similarity index 100% rename from vendor/github.com/abema/go-mp4/util/string.go rename to vendor/github.com/abema/go-mp4/internal/util/string.go diff --git a/vendor/github.com/abema/go-mp4/marshaller.go b/vendor/github.com/abema/go-mp4/marshaller.go index b5c66860b..18ff79a0c 100644 --- a/vendor/github.com/abema/go-mp4/marshaller.go +++ b/vendor/github.com/abema/go-mp4/marshaller.go @@ -8,7 +8,7 @@ import ( "math" "reflect" - "github.com/abema/go-mp4/bitio" + "github.com/abema/go-mp4/internal/bitio" ) const ( diff --git a/vendor/github.com/abema/go-mp4/probe.go b/vendor/github.com/abema/go-mp4/probe.go index e407b95c2..2ffaf7aca 100644 --- a/vendor/github.com/abema/go-mp4/probe.go +++ b/vendor/github.com/abema/go-mp4/probe.go @@ -5,7 +5,7 @@ import ( "errors" "io" - "github.com/abema/go-mp4/bitio" + "github.com/abema/go-mp4/internal/bitio" ) type ProbeInfo struct { diff --git a/vendor/github.com/abema/go-mp4/string.go b/vendor/github.com/abema/go-mp4/string.go index 56afff1bb..4bc368e42 100644 --- a/vendor/github.com/abema/go-mp4/string.go +++ b/vendor/github.com/abema/go-mp4/string.go @@ -7,7 +7,7 @@ import ( "reflect" "strconv" - "github.com/abema/go-mp4/util" + "github.com/abema/go-mp4/internal/util" ) type stringifier struct { diff --git a/vendor/modules.txt b/vendor/modules.txt index 98cc60a73..794b27aca 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -77,11 +77,11 @@ github.com/DmitriyVTitov/size ## explicit; go 1.19 github.com/KimMachineGun/automemlimit github.com/KimMachineGun/automemlimit/memlimit -# github.com/abema/go-mp4 v0.13.0 +# github.com/abema/go-mp4 v1.0.0 ## explicit; go 1.14 github.com/abema/go-mp4 -github.com/abema/go-mp4/bitio -github.com/abema/go-mp4/util +github.com/abema/go-mp4/internal/bitio +github.com/abema/go-mp4/internal/util # github.com/aymerick/douceur v0.2.0 ## explicit github.com/aymerick/douceur/css