Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 3b65cec

Browse files
committed
Update mp4 scale build script
1 parent 68888c1 commit 3b65cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wasm/build-scripts/build-ffmpeg.mp4-scale.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ FLAGS=(
2121
-s EXPORT_NAME="createFFmpegCore" # assign export name for browser
2222
-s EXPORTED_FUNCTIONS="[_main, _proxy_main]" # export main and proxy_main funcs
2323
-s EXTRA_EXPORTED_RUNTIME_METHODS="[FS, cwrap, ccall, setValue, writeAsciiToMemory]" # export preamble funcs
24-
-s INITIAL_MEMORY=1073741824 # 1073741824 bytes = 1 GB
24+
-s INITIAL_MEMORY=2146435072 # 64 KB * 1024 * 16 * 2047 = 2146435072 bytes ~= 2 GB
2525
$OPTIM_FLAGS
2626
)
2727
echo "FFMPEG_EM_FLAGS=${FLAGS[@]}"

0 commit comments

Comments
 (0)