fix: sprite

This commit is contained in:
Justyer
2024-05-08 15:43:20 +08:00
parent 6096b0f507
commit 67abd46db5
2 changed files with 5 additions and 1 deletions

View File

@@ -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"},
},
}
)

View File

@@ -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),
)