fix: mp2 384k would cause stack overflow error

This commit is contained in:
minjaesong
2023-01-23 15:34:22 +09:00
parent c1031545ec
commit 8517406d8b
5 changed files with 34 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ let PATHFUN = (i) => `/ddol2/${(''+i).padStart(5,'0')}.bmp` // how can be the im
let AUDIOTRACK = 'ddol.mp2'
let AUDIOFORMAT = 'MP2fr' // PCMu8 or MP2fr
// to export video to its frames:
// ffmpeg -i file.mp4 file/%05d.bmp
// ffmpeg -i file.mp4 file/%05d.png
// the input frames must be resized (and cropped) beforehand, using ImageMagick is recommended, like so:
// mogrify -path ./path/to/write/results/ -resize 560x448^ -gravity Center -extent 560x448 ./path/to/source/files/*
//