No error before 99%, the sonarr container has a limit of 10GB ram, while using the script it uses around 5GB. Every time it gets to 99% it errors and I am not sure what to do as it works 100% outside the container. I am hoping you might know what is going on here?
Can the option off installing and setup of ffmpeg be added if it already detects it and add to the start up script apk add libva-utils for vainfo testing or small testing script to test the install?
Error at 99%
Error while filtering: Out of memory
Failed to inject frame into filter network: Out of memory
Error while filtering: Out of memory
Possible testing script after it has set everything up or triggered manually.
#!/bin/sh
# Check if vainfo is installed
if ! command -v vainfo &> /dev/null; then
echo "vainfo not found. Installing libva-utils..."
apk add libva-utils
fi
# Check if ffmpeg is installed
if ! command -v ffmpeg &> /dev/null; then
echo "ffmpeg not found. Please install ffmpeg."
fi
# Check if /dev/dri/renderD128 is accessible
if [ ! -e "/dev/dri/renderD128" ]; then
echo "/dev/dri/renderD128 is not accessible."
else
echo "/dev/dri/renderD128 is accessible."
fi
# Test vainfo
echo "Testing vainfo..."
vainfo
echo "Testing complete."
Hey there,
No error before 99%, the sonarr container has a limit of 10GB ram, while using the script it uses around 5GB. Every time it gets to 99% it errors and I am not sure what to do as it works 100% outside the container. I am hoping you might know what is going on here?
Can the option off installing and setup of ffmpeg be added if it already detects it and add to the start up script
apk add libva-utils
for vainfo testing or small testing script to test the install?Error at 99%
Possible testing script after it has set everything up or triggered manually.