Add ffprobe binaries for video metadata probing
This commit is contained in:
parent
ccd7d1f4c2
commit
4a284111e2
|
|
@ -5,7 +5,7 @@
|
||||||
.zed
|
.zed
|
||||||
.history
|
.history
|
||||||
upload
|
upload
|
||||||
*.exe
|
# *.exe (uncomment if needed to exclude all .exe files)
|
||||||
*.db
|
*.db
|
||||||
build
|
build
|
||||||
*.db-journal
|
*.db-journal
|
||||||
|
|
@ -34,6 +34,3 @@ redis_data/
|
||||||
.gomodcache/
|
.gomodcache/
|
||||||
.gocache-temp
|
.gocache-temp
|
||||||
.gopath
|
.gopath
|
||||||
|
|
||||||
# ffprobe binaries (too large for git)
|
|
||||||
service/ffprobe-bin/
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
Place platform ffprobe binaries here for embedded build mode.
|
||||||
|
|
||||||
|
Expected files:
|
||||||
|
|
||||||
|
- `windows-amd64/ffprobe.exe`
|
||||||
|
- `linux-amd64/ffprobe`
|
||||||
|
- `linux-arm64/ffprobe`
|
||||||
|
|
||||||
|
Build with:
|
||||||
|
|
||||||
|
`go build -tags embed_ffprobe .`
|
||||||
|
|
||||||
|
If not using `embed_ffprobe`, the service falls back to:
|
||||||
|
|
||||||
|
1. Side-by-side ffprobe file
|
||||||
|
2. ffprobe from PATH
|
||||||
|
3. HTTP range metadata parser
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue