cos tam dziala
This commit is contained in:
@@ -16,17 +16,21 @@ export async function encodeFrames({
|
||||
"-y",
|
||||
"-pattern_type", "glob",
|
||||
"-framerate", fps.toString(),
|
||||
"-i", inputPattern,
|
||||
"-i", inputPattern.toString(),
|
||||
|
||||
"-i", path.resolve("./music.mp3"),
|
||||
|
||||
"-vf",
|
||||
"transpose=2,scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2",
|
||||
// "-autorotate",
|
||||
|
||||
"-c:v", "libx264",
|
||||
"-pix_fmt", "yuv420p",
|
||||
|
||||
|
||||
"-c:a", "mp3",
|
||||
|
||||
"-shortest",
|
||||
"-fps_mode", "cfr",
|
||||
// "-preset", "medium",
|
||||
// "-crf", "18",
|
||||
output,
|
||||
|
||||
Reference in New Issue
Block a user