mirror of
https://github.com/fxkt-tech/liv
synced 2025-09-26 20:11:20 +08:00
fix: sprite
This commit is contained in:
@@ -12,8 +12,11 @@ func main() {
|
||||
var (
|
||||
ctx = context.Background()
|
||||
params = &liv.ConvertContainerParams{
|
||||
InFile: "../../testdata/in.mp4",
|
||||
InFile: "../../../testdata/in.mp4",
|
||||
OutFile: "out-convert-container.mp4",
|
||||
Metadata: []*liv.KV{
|
||||
{K: "comment", V: "xx"},
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
@@ -129,6 +129,7 @@ func (ss *Snapshot) Sprite(ctx context.Context, params *SpriteParams) error {
|
||||
|
||||
filters = append(filters, filterFPS, filterScale, filterTile)
|
||||
outputOptions = append(outputOptions,
|
||||
output.Map(filterTile.S()),
|
||||
output.File(params.Outfile),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user