Configure ffmpeg location
All checks were successful
Build and Push Image / build-and-push (push) Successful in 4m20s
All checks were successful
Build and Push Image / build-and-push (push) Successful in 4m20s
This commit is contained in:
@@ -132,6 +132,11 @@ public class ThumbnailService(IMongoDatabase db, AobaService aobaService)
|
|||||||
{
|
{
|
||||||
opt.WithCustomArgument($"-vf \"crop='min(in_w,in_h)':'min(in_w,in_h)',scale={w}:{w}\" -loop 0 -r 15")
|
opt.WithCustomArgument($"-vf \"crop='min(in_w,in_h)':'min(in_w,in_h)',scale={w}:{w}\" -loop 0 -r 15")
|
||||||
.ForceFormat("webp");
|
.ForceFormat("webp");
|
||||||
|
}).Configure(cfg =>
|
||||||
|
{
|
||||||
|
#if !DEBUG
|
||||||
|
cfg.BinaryFolder = "/usr/bin";
|
||||||
|
#endif
|
||||||
}).ProcessSynchronously();
|
}).ProcessSynchronously();
|
||||||
output.Position = 0;
|
output.Position = 0;
|
||||||
return output;
|
return output;
|
||||||
|
|||||||
Reference in New Issue
Block a user