ffmpeg-build-script icon indicating copy to clipboard operation
ffmpeg-build-script copied to clipboard

pip3 install and cargo issues

Open bernid opened this issue 1 year ago • 3 comments
trafficstars

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?

bernid avatar Jan 07 '24 13:01 bernid

rav1e is so sloow, I recommend you to disable it with env var SKIPRAV1E if you want to use av1 codec - use svtav1

mhaponiu avatar Jan 09 '24 16:01 mhaponiu

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.

bernid avatar Jan 09 '24 19:01 bernid

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.

outhud avatar Jul 30 '24 14:07 outhud