Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

av_interleaved_write_frame(): Out of memory #11

Open
LiubomyrB opened this issue Nov 22, 2023 · 0 comments
Open

av_interleaved_write_frame(): Out of memory #11

LiubomyrB opened this issue Nov 22, 2023 · 0 comments

Comments

@LiubomyrB
Copy link

Hello.
I have streamana app installed on my dev server. The problem is the next error that may occur right after livestreaming to the HLS endpoint is started or after some time. This causes livestreaming to stop. Maybe the reason is that I removed a few arguments when building ffmpeg-worker-hls.js. Namely, I removed STACK_SIZE=5MB because of the error: "Attempt to set a non-existent setting: 'STACK_SIZE'". I replaced it with "--stack-size=5242880". Also removed "-O3" and "--closure" (there was an error: "Closure compiler run failed"). My arguments for compiling ffmpeg.js were: EMCC_COMMON_CORE_ARGS = --memory-init-file 0 --stack-size=5242880 -s ABORTING_MALLOC=0 -s WASM_ASYNC_COMPILATION=0 -s ASSERTIONS=1 -s TOTAL_MEMORY=100MB -s DEFAULT_PTHREAD_STACK_SIZE=5MB -s PTHREAD_POOL_SIZE=10 -s ASYNCIFY_STACK_SIZE=65536 --pre-js $(PRE_JS) -o $@

Please help me to fix this bug.

Знімок екрана 2023-11-22 013208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant