ffmpeg-build-script
ffmpeg-build-script copied to clipboard
pip3 install and cargo issues
Hello, Thank you for this script. I'm trying to build ffmpeg with '--enable-gpl-and-non-free' on my Ubuntu 23.10 x64 machine. Unfortunately I got stuck 2 times. First time I've received: 'error: externally-managed-environment' when script run: $ pip3 install pip setuptools --quiet --upgrade --no-cache-dir --disable-pip-version-check So I 've installed python3-venv, created a new virtual environment 'python3 -m venv myenv' and activated the virtual environment 'source myenv/bin/activate'. The script moved on but stops building cargo and errors again appear indicating 'undefined reference to ...' some functions/files See full script log: https://www.dropbox.com/scl/fi/wr1xvwasm5sjdru4pt89i/script.log?rlkey=0agotbpxlpovsgad7f2qxa9s6&raw=1 What should I do move forward?
rav1e is so sloow, I recommend you to disable it with env var SKIPRAV1E if you want to use av1 codec - use svtav1
Thanks for leading me to a temporary solution to sacrifice the rarely used librav1e AV1 encoder. I simply uninstalled rust/cargo
rustup self uninstall
and the building script continued to the end.
I'm seeing this issue also on Debian 12 bookworm.
It's not possible to disable SKIPRAV1E using the "Quick install and build" method. There should be a better fix for this.