Forums

libffmpeg with Chrome headless

Hi, I am trying to set up Selenium to use Chrome headless. When I execute the command below I get an error about a missing shared lib. Is the lib actually needed i.e. skip via a parameter , or can I install it myself? Thanks.

/usr/bin/chromium-browser --headless --disable-gpu --disable-dev-shm-usage --no-sandbox

The error;

/usr/bin/chromium-browser: line 85: /dev/fd/62: No such file or directory
/usr/lib/chromium-browser/chromium-browser: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory

Thanks in Advance.

Headless chrome will not work unless we have enabled the new virtualisation system for your account. I have done that now, so new consoles will use it and your web apps will use it once you have reloaded them.

Thanks Glenn! That's fixed it.

Cool. Thanks for letting us know.