Clarity wrote: Tue Jan 28, 2025 4:20 am
Since ffmpeg seemingly is ubiquitous across the Linux distro community, maybe moving to a non-static might be a reasonable step for both now and in the future for WEX.
I'm not sure if wex is in current KLV-Airedale, but I think it used to be, and was in various WDL (pre-KL) Arch-based distros I made. In these distros it always simply used non-static normal ffmpeg install; that works fine as long as the ffmeg is not really ancient... I've always myself used wex in that way. Was a time in the past, however, when Puppy Linux had very old versions of ffmpeg that were no good for modern screencast/video encoding protocols; for that reason mikewalsh created a portable involving a static ffmpeg fredx181 had located somewhere, but I've never had a need for that. Wex itself is just a gtkdialog/bash relatively small script, whereas a portable variant is relatively large since has to include static ffmpeg and dependencies.
As for the future, unfortunately wex has no future as it currently stands since the screencapture is for distros using X and not Wayland; some very major work would be required on it if I hoped to make it work with Wayland too; for example, it uses scrotx (my fork of scrot) to find coordinates of the X display to define desktop area the user wants to capture - something similar would have to replace that for Wayland. For the moment though - with current non-wayland XFCE distros, for example, wex continues to provide a low resource audio/video/screencast capability. Actually, for a long time I've wanted to re-write parts of Wex such that it uses yad somehow instead of gtkdialog - most of the internal functions wouldn't need altered for that - just the GUI coding. If I ever do that I suppose I should check to see which functions currently rely on an X display and see if some Wayland-based equivalent could be easily/alternatively slotted in. All things are possible in coding of course, and the core capture code, which is the bulk of the program, certainly would not need to be changed.
It is not only wex that needs to be revised for wayland in this forum utility app world - all Take A Shot or screencapturing-type utilities need similar revision if to be useful with Wayland-based distros.