ALSO AVAILABLE FOR WEEDOGLINUX AND FOR DEBIANDOGS
I haven't made a dotpet for a longtime, but I noticed peebee's LxPupSc (32bit version at least) came with pavrecord, which is pretty old now and not particularly good at screencast recording.
So please find attached, dotpet for latest wex that I've tested in LxPupSc 32bit distro. Should also work on BionicPup32, and BionicPup64, and probably (untested) on LxPupSc64 (if you have trouble just let me know; it can be made to work in any such recent distro easily enough...).
EDIT: sorry, it was actually BionicPup32 I successfully tested it on. Have since successfully tested in LxPupSc64 (had to use Package Manager NG to fetch the dependency giblib-1.2.4-x86_64_3salix though since Puppy Package Manager couldn't find it). I will also definitely work in BionicPup64 and I'll try LxPupSc32 later and report back, though I'm pretty sure will work fine there too.
Note that this is latest 0.8.19 version of wex, which is the same one used in WeeDogLinux Arch64, but this Puppy version is set up to use alsa 'plughw:0,0' by default rather than 'pulse' audio. Change that plughw:0,0 if your underlying audio hardware uses something else...
NOTE WELL: you also need to install the attached scrox (32bit version if for a 32bit distro or 64bit version if for 64bit distro) and scrox has dependency giblib1, which you'll need to install from Puppy Package Manager; I did put giblib1 (and libimlib2) as a dependency in the dotpet petspecs but for some reason PPM doesn't auto-fetch giblib1.
Also, pause control is really just there for audio recording (doesn't really work with screencasts and sometimes doesn't work even with audio so in practice I avoid using pause in case it causes issues...).
Finally, note that scrox is a special fork of screenshot program 'scrot' so can also be used for simple screenshots (exactly as scrot), but note that scrox has extra capability required by wex (scrot does not output cursor X/Y positions, which wex needs and scrox does provide).
Aside from scrox (and giblib1), wex itself just depends on bash,gtkdialog3 and ffmpeg, so works out of the box on most recent Pups (and can be made to work on older ones with some config tweaks).
EDIT: Probably worth mentioning that wex works great with fredx181's gifenc-sel program. If that is also installed, wex automatically puts a button in its big window for calling that up and automatically then turning any recorded video or screencast into an animated gif. Also works great with mhwaveedit (wex has a button to call up mhwaveedit, when it is installed, so the recorded audio auto-shows up inside the mhwaveedit window).
wiak