-
-
Notifications
You must be signed in to change notification settings - Fork 61
Common questions and problems
sudo apt install libgl libegl libfontconfig libxkbcommon0 libwayland-cursor0
Make sure you have libopengl0
installed through your package manager. It may go by a close but different name so may need to search for it.
On Ubuntu 22.04 right now need to manually set the env variable QT_QPA_PLATFORM to wayland.
QT_QPA_PLATFORM=wayland ./FastFlix
Please refrain from using the snap
version of FFmpeg
as it has serval issues. If you do plan on using it, it will at minimum need installed with devmode
enabled to work at all with 2-pass encodings.
If you're on linux and experience this, you need to install some more packages for xcb.
sudo apt install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev libxcb-cursor0
zypper install libgthread-2 Mesa-libGL1 libxkbcommon0 qt6-wayland
If you're still having issues please set the env variable QT_DEBUG_PLUGINS=1
and put the output into an issue for me to look at
QT_DEBUG_PLUGINS=1 ./FastFlix
You will probably see a block like:
qt.core.library: "/venv/lib/python3.11/site-packages/PySide6/Qt/plugins/platforms/libqxcb.so" cannot load:
Cannot load library /venv/lib/python3.11/site-packages/PySide6/Qt/plugins/platforms/libqxcb.so:
(libxcb-cursor.so.0: cannot open shared object file: No such file or directory)
qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/venv/lib/python3.11/site-packages/PySide6/Qt/plugins/platforms/libqxcb.so"
: "Cannot load library /venv/lib/python3.11/site-packages/PySide6/Qt/plugins/platforms/libqxcb.so:
(libxcb-cursor.so.0: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Notice how it says it cannot find libxcb-cursor.so.0
, which means you should search your package manager for that name before the .so.*
part, aka in this case if I look in apt
for libxcb-cursor
I will see there is libxcb-cursor0
(there is also a -dev
package, but you do not need those.) After installing any it says it's missing, it should work.
Move the fonts folder to a new location, and reinstall fontconfig
to force a reconfiguration.
On Ubuntu / Debian:
mv /etc/fonts /etc/fonts.bak
sudo apt install fontconfig --reinstall
Make sure you ase using the non-free mesa driver, for intel on ubuntu that is called intel-media-va-driver-non-free
You will need to add a direct path to the correct QT library as an env variable LD_LIBRARY_PATH=:/usr/lib/x86_64-linux-gnu/qt6
Example by @dacorsa in https://github.com/cdgriffith/FastFlix/issues/535
Exec=env LD_LIBRARY_PATH=:/usr/lib/x86_64-linux-gnu/qt6 ; cd /app/FastFlix/ ; . venv/bin/activate ; venv/bin/python -m fastflix
If you have "Burn In" subtitles enabled, this is probably the cause. The "overlay" filter can use huge amounts of memory as reported by Zeid164.
You need to increase the Max Musing Queue Size, command line equivalent: -max_muxing_queue_size 1024
This is generally due to the color space not being transferred correctly. Possibly a bt2020 video was turned into a bt709. If it is happening with FastFlix please raise an issue with the MediaInfo text of the input and output video and the command FastFlix generated, would really help in fixing it fast or figuring out why it is behaving that way.
You probably need to update FFmpeg.
This Wiki is a Work In Progress