Fix mpv lags system while playing yt video

There are different ways:

  1. Using resample
mpv -vo=gpu --video-sync=display-resample -hwdec=auto "https://www.youtube.com/watch?v=ENxwig2JOKo"
Read more…

Opencv - Could not find the Qt platform plugin "wayland"

Error:

❯ python getcolor.py
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "/home/stroky/testline/alemeno/lib/python3.12/site-packages/cv2/qt/plugins"
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

fish: Job 1, 'python getcolor.py' terminated by signal SIGABRT (Abort)
Read more…

Cava mic source input

Add below section in cava config

get the source ID:

pactl list sources
Read more…

connect to hidden wifi from cli

  1. Install iwd for iwctl
sudo pacman -S iwd
Read more…

Compress video without quality loss

ffmpeg -i <input file>  -vcodec libx265 -crf 28 <output file>