-
Notifications
You must be signed in to change notification settings - Fork 268
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
Bug: ffmpeg consumer constant failure - cannot allocate memory #1530
Comments
I'm struggling to reproduce this, the command provided above does not work with ffmpeg 4.4, which is what ubuntu 22.04 uses by default. |
I use ffmpeg 6.1.1 built from source with NVIDIA GPU. The workflow is following:
|
I did a test also with v2.4.0-stable from yesterday and same error appeared. |
I just ran the same output with a random input video directly in ffmpeg and got the same issue. From the final comment in the trac thread you posted
Does not seem to be an issue with casparcg? Could you try the same test. |
Observed Behavior
Use CasparCG server v2.4.0-rc1 with ffmpeg 6.1.1 and start ffmpeg consumer started via:
with CasparCG client v2.3.0-rc1 executing a 48 hours playlist. Everything started as expected and on the 12th minute the ffmpeg cosumer terminates with Cannot allocate memory issue described here. It appeared that this error has already been reported as issue on ffmpeg trac system here.
I increased 10 times the default fifo_size and buffer_size values, as a result the ffmpeg consumer failed in around 120 minutes.
I increased 20 times the default fifo_size and buffer_size values, as a result the ffmpeg consumer failed in around 240 minutes.
Expected behaviour
I expect ffmpeg consumer not to throw such an error.
Steps to reproduce
Environment
The text was updated successfully, but these errors were encountered: