Skip to content

Commit

Permalink
Merge pull request #368 from Vankerkom/master
Browse files Browse the repository at this point in the history
Scene preview video generation optimizations
  • Loading branch information
soruly authored Sep 25, 2024
2 parents e67bde7 + d0e46f7 commit dd4faa2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,23 @@ const generateVideoPreview = async (filePath, start, end, size = "m", mute = fal
"-profile:v",
"high",
"-preset",
"faster",
"veryfast",
"-bf",
"8",
"-r",
"24000/1001",
"-pix_fmt",
"yuv420p",
"-c:a",
"aac",
"-ac",
"2",
"-b:a",
"128k",
"64k",
"-max_muxing_queue_size",
"1024",
"-movflags",
"empty_moov",
"empty_moov+faststart",
"-map_metadata",
"-1",
"-map_chapters",
Expand Down

0 comments on commit dd4faa2

Please sign in to comment.