Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 22 Sep 2018, 02:06
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
wex screencast, webcam, audio recorder
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [21 Posts]   Goto page: 1, 2 Next
Author Message
wiak

Joined: 11 Dec 2007
Posts: 938
Location: not Bulgaria

PostPosted: Tue 24 Apr 2018, 22:34    Post subject:  wex screencast, webcam, audio recorder  

NEWS: Mike Walsh has kindly created an All-In-One dotpet for weX, which includes fredx181's portable app version of ffmpeg, as well as scrox, and weav, and fredx181's gifenc-sel (for creating animated gifs either from within weX or run separately). Mike says it will run on most Pups from old 5.x series and up to latest. More details and download link available here:

http://www.murga-linux.com/puppy/viewtopic.php?p=998080#998080

weX screencast, webcam, audio recorder

New version released. Downloads for different distributions (dotpets are for 32 or 64bit Pups) below.

Aside from gtkdialog and ffmpeg (and bash), 'no' additional dependencies are required for audio-only recording or manually entered 'Fixed Area' webcam recording or screencasts (scrox required for automatic fullscreen or mouse-selectable webcam-size or screencasts) - basically, it is best to install scrox too (which requires giblib). See notes below about ffmpeg requirements for best results.

Because of new installation defaults it is advised old config directory is manually removed before installation of this new weX version (i.e. delete $HOME/.wex before installing. NOTE WELL!!! The very first time you try to run weX thereafter it will appear to not work. Just run it again - on that first run attempt it is just automatically creating its config directory $HOME/.wex
Also NOTE WELL: If you have an older ffmpeg that causes wex to fail with unrecognized option thread_queue_size then you should download the video and audio plugins from the following link, remove their dummy tar extensions, and place them in your $HOME/.wex/plugins folder: http://www.murga-linux.com/puppy/viewtopic.php?p=922081#922081 No problem then for audio recording, but for webcam or screencast recording, you might also need giblib and imlib2 (scrox needs these), also described in that link (newer Pups may already have these). To be honest... older ffmpeg are hopeless and need to buffer for ages before capturing anything. Without thread_queue_size and -filter_complex asyncts capability built into your ffmpeg I doubt you will get decent webcam captures (too much buffering required in that case for libx264 - so do yourself a favour and upgrade your ffmpeg in such cases...). Ubuntu xenial ffmpeg works great with no such issues.



Changes from previous version: Only minor (mainly fixed the tooltip documentation help text for those using pulseaudio rather than straight alsa) but also made the config file non-hidden and now uses aac, x264, with mp4 video container by default (tho I personally usually use mkv) for video/screencast recording and, by default, webcam is now NOT selected. gifenc-yad is now one of the external utility buttons by default (note that the button will only be visible if you actually also install fredx181's gifenc-yad; see download link below).

Licence is now MIT (aka liberal GPL-compatible X11 license).

Note that, weX automatically 'remembers' your selections when you choose other than the defaults anyway.

weX can be used for:

1. audio-only recording (as replacement for Precord), or

2. webcam (with or without audio) recording (as superior replacement for pAVrecord), or

3. screencast (with or without audio) recording (as superior replacement for pAVrecord and quality similar or matching SimpleScreenRecorder but without needing any Qt libs and allowing embedded optional webcam).

4. One button press to create scaled animated gif from weX recorded video/screencast assuming fredx181's gifenc-yad program is also installed.


Capturing an area of your screen (needs scrox program installed):

weX also allows a capture area to be defined using the mouse, or a single application window to be captured; for that additional functionality weX requires 'scrox' to be installed (a fork of MIT licensed scrot, which has all of scrot's functionality and options but with addition of ability to report back mouse cursor coordinates, which is what weX uses scrox for). You can find scrox in old wex thread, in link below:

http://www.murga-linux.com/puppy/viewtopic.php?p=918785&search_id=381482272#918785

If using weX with scrox (which is highly recommended) make sure to choose appropriate 32 or 64 bit version of scrox. weX dotpets, however, work on either 32bit or 64bit systems.

I also recommend you install a copy of fredx181's gifenc-yad script from below link so you can almost one-click create animated gifs from your weX recorded videos or screencasts:

http://murga-linux.com/puppy/viewtopic.php?p=948724#948724

Note that once you have created an animated gif in weX using gifenc-yad you can view the gif by simply changing the extension to .gif in the "File to record or process" editbox, and then press mpv assigned utility button (you can also re-assign that to mplayer if you wish).

Note that, aside from the look and feel of the GUI, pretty much all ffmpeg commandline details are user-changeable without altering main wex script. Such alterations are implemented via a simple plug-in facility incorporated into weX. weX can also call up external commands/utilities via buttons incorporated in its GUI - which utilities are available is also user-configurable.

Not been tested much on Pups. Kindly test and let me know if you find any issues.

wiak

version 0.8.18 downloads:
32: amd64 deb
35: 386 deb
37: amd64/i386 pet for most Pups
31: amd64/i386 pet for FatDog

Last edited by wiak on Fri 06 Jul 2018, 07:18; edited 2 times in total
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4144
Location: King's Lynn, UK.

PostPosted: Wed 04 Jul 2018, 10:00    Post subject:  

Hi, wiak.

Just thought I'd let you know how I'm getting on with WeX throughout the kennels.

So far tested (and fully working) in Slackos 560/570, Racy 5.5, and as of now, Lucid 5.2.8.7. This is using the re-packed all-in-one I put together from weav & scrox, and Fred's re-build of WeX with the newer ffmpeg.

Only issue I've noticed so far is the VU meter doesn't appear in Racy.....but that's a very minor niggle, and not that important.

EDIT:- Now also working nicely in Precise 571, ETP's 'Chromepup' (as I call it) - based on 571, and pemasu's Upup Raring

All in all, I am very impressed. Cheers!


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------


Last edited by Mike Walsh on Thu 05 Jul 2018, 07:14; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 3369
Location: holland

PostPosted: Wed 04 Jul 2018, 14:29    Post subject:  

Updated wex-portable AppImage (32-bit), now including latest weX version 0.8.18 from wiak. (same special build of ffmpeg as earlier is included in the AppImage)
Extract wex-portable_0.8.18.tar.gz and run (just click on) wex-portable.
https://dl.dropboxusercontent.com/s/gyr7w7lx8rhf13r/wex-portable_0.8.18.tar.gz?dl=1
See more info here:
http://www.murga-linux.com/puppy/viewtopic.php?p=923202#923202

EDIT: Sorry, removed dropbox link, need to change some first in the wex script (relative paths, I forgot, back later )
EDIT2: Fixed now, changed some absolute paths to relative in weX script, required to work for portable image, re-uploaded, link above.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 938
Location: not Bulgaria

PostPosted: Wed 04 Jul 2018, 22:10    Post subject:  

fredx181 wrote:
Updated wex-portable AppImage (32-bit), now including latest weX version 0.8.18 from wiak. (same special build of ffmpeg as earlier is included in the AppImage)
Extract wex-portable_0.8.18.tar.gz and run (just click on) wex-portable.
https://dl.dropboxusercontent.com/s/gyr7w7lx8rhf13r/wex-portable_0.8.18.tar.gz?dl=1
See more info here:
http://www.murga-linux.com/puppy/viewtopic.php?p=923202#923202

Fred


Hi Fred,

Thanks for that. Just wondered if you still provide separate version of that ffmpeg you compiled that maybe Mike Walsh could also also supply as dotpet so would be usable as ffmpeg system wide (with weX, scrox, weav, gifenc-sel or gifenc-yadin separate second dotpet)?

I remember you posted about the extra efficiency of that kind of alternative long time back.

Wiak
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3369
Location: holland

PostPosted: Thu 05 Jul 2018, 04:27    Post subject:  

wiak wrote:
Just wondered if you still provide separate version of that ffmpeg you compiled that maybe Mike Walsh could also also supply as dotpet so would be usable as ffmpeg system wide (with weX, scrox, weav, gifenc-sel or gifenc-yadin separate second dotpet)?

Yes, same static build of ffmpeg that I shared earlier:
https://drive.google.com/file/d/0ByBgCDlZZ8K5N1JoclFLZHBCX3M/view?usp=sharing

Quote:
I remember you posted about the extra efficiency of that kind of alternative long time back.


Indeed more efficient to install separate, then that ffmpeg can be used also system-wide, (however wex-portable is easy, only have to store it somewhere and click it).

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4144
Location: King's Lynn, UK.

PostPosted: Thu 05 Jul 2018, 07:05    Post subject:  

@ Fred/William:-

I take it this 'upgraded' AppImage could simply be swapped for the 0.8.17 AppImage, and everything would still work, yes?

Having now got the 'all-in-one' .pet I put together installed in at least seven Pups ( Laughing ), I don't really want to have to uninstall/re-install every single one with a new version..!

I'll probably re-pack with the new AppImage, then make the 'all-in-one' available here, or on one of the other threads (if that's OK with you two?) Where would be the best place for it?

----------------------------------------------------

I'll also see about packaging the ffmpeg build as a .pet.....although if that's done, should any advice be given to remove previous versions first (or would simply over-writing work)? I know the ffmpeg libs all need to be present and correct (as a 'matched' set) for everything to function properly, but I'm rather out of my depth with the 'mechanics' of much of this AV stuff.....I've got a feeling that simply over-writing would then interfere with existing ffmpeg stuff required by other programs that have probably been built to work with the older libs.

Is that an accurate assumption? Oh, BTW, Fred; what build is this? I can't simply label the .pet 'New ffmpeg...' Laughing And what about location; /usr/bin, since it's a compiled binary?


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 3369
Location: holland

PostPosted: Thu 05 Jul 2018, 08:06    Post subject:  

Hi Mike,

Quote:
I take it this 'upgraded' AppImage could simply be swapped for the 0.8.17 AppImage, and everything would still work, yes?


Yes, from what I tested, but could do no harm if you test also first, before swapping with the older version.
The only change is that wiak's newest weX is included, the rest is the same (ffmpeg and btw, also scrox is included)

Quote:
I'll also see about packaging the ffmpeg build as a .pet.....although if that's done, should any advice be given to remove previous versions first (or would simply over-writing work)? I know the ffmpeg libs all need to be present and correct (as a 'matched' set) for everything to function properly, but I'm rather out of my depth with the 'mechanics' of much of this AV stuff.....I've got a feeling that simply over-writing would then interfere with existing ffmpeg stuff required by other programs that have probably been built to work with the older libs.


Here's already a pet for it (binary in /usr/bin, it's version 3.1.2, btw) (link at bottom of post works)
http://www.murga-linux.com/puppy/viewtopic.php?p=923436#923436
This is a static build, so not dependent on any libs AFAIK, I think overwriting older one will be OK.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4144
Location: King's Lynn, UK.

PostPosted: Thu 05 Jul 2018, 19:07    Post subject:  

(19/07/18:- 'All-in-one' re-uploaded. Now includes a third .desktop entry, to allow starting of Fred's 'gifenc-sel' GIF-creator directly from Menu->Graphic.)

Don't forget to install xterm from your Pup's PPM.


------------------------------------------------------------------------------------

Hi again, Fred/everybody.

As promised, here's an 'all-in-one' (AIO) .pet for WeX. It includes the newest version of Wex-portable (0.8.18 - scrox now 'built-in'), weav, and the addition of GifenC-sel (for creating short .gifs with a single click).

Don't forget to check first to make sure your system has the following libs installed (most Pups seem to have them by default):-

libgiblib.so.1
libImlib2.so.1
(that's a capital 'i' before the m, not an 'L'.)

Once installed, follow Fred's instructions for enabling one of the utility 'buttons' in the main config window to start GifenC-sel:-

http://www.murga-linux.com/puppy/viewtopic.php?p=948724#948724

-------------------------------------------------------------------

You'll find there are 2 Menu entries in Menu->Multimedia; Wex screencaster, and Weav post-processor.

The all-in-one .pet package is available from here:-

https://drive.google.com/file/d/1rdHEofl7IVN0_Cfsl9NxkNmIe_z8UZcd/view?usp=sharing

.....and you should find this will work in pretty much all 32-bit Pups from early 5-series onwards. I, personally, have it working from Racy5.5 & Lucid 5.2.8.7 all the way up to peebee's current Upup Bionic.

Enjoy.

EDIT:- Apparently libglib and libImlib2 are also now 'built-in', so the step about checking you have them can be skipped. (Thanks to Fred for the info - see below.)


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------


Last edited by Mike Walsh on Thu 19 Jul 2018, 09:57; edited 6 times in total
Back to top
View user's profile Send private message Visit poster's website 
wiak

Joined: 11 Dec 2007
Posts: 938
Location: not Bulgaria

PostPosted: Fri 06 Jul 2018, 07:17    Post subject:  

Mike Walsh wrote:
Hi again, Fred/everybody.

As promised, here's an 'all-in-one' (AIO) .pet for WeX. It includes the newest version of Wex-portable (0.8.18 - scrox now 'built-in'), weav, and the addition of GifenC-sel (for creating short .gifs with a single click).


Hi Mike,

Link to your weX-portable dotpet post is added to first post of thread.

wiak
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3369
Location: holland

PostPosted: Fri 06 Jul 2018, 11:53    Post subject:  

Thanks Mike,

Quote:
As promised, here's an 'all-in-one' (AIO) .pet for WeX. It includes the newest version of Wex-portable (0.8.18 - scrox now 'built-in'), weav, and the addition of GifenC-sel (for creating short .gifs with a single click).

Don't forget to check first to make sure your system has the following libs installed (most Pups seem to have them by default):-

libgiblib.so.1
libImlib2.so.1 (that's a capital 'i' before the m, not an 'L'.)


For info: the libgiblib and libImlib2 libs are already present in the AppImage, so not needed to install (see pic)
When you run an AppImage, you can look in /tmp/.mount_xxxxx (mountpoint) to see what's inside.

Fred
2018-07-06-174422_475x211_scrot.png
 Description   Wex-portable Contents of <AppImage>/usr/lib/i386-linux-gnu/
 Filesize   35.52 KB
 Viewed   205 Time(s)

2018-07-06-174422_475x211_scrot.png


_________________
Dog Linux website
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4144
Location: King's Lynn, UK.

PostPosted: Fri 06 Jul 2018, 12:39    Post subject:  

Hi, Fred.

fredx181 wrote:
For info: the libgiblib and libImlib2 libs are already present in the AppImage, so not needed to install (see pic)
When you run an AppImage, you can look in /tmp/.mount_xxxxx (mountpoint) to see what's inside.


Ah! Excellent...

Just as an aside, did you know that the versions of those two libs have hardly changed in years? Libglib has been 1.0.6 all the way back to Racy/Lucid.....and apart from your version here, libImlib2 has been 1.4.2 for pretty well all Pups from Lucid through to Xenial; it's only the Bionics that seem to have finally begun updating them.....

I thought initially your updated wex-portable didn't have scrox.....despite what you said. It wasn't until I looked closer that I realised you'd left the 'default' settings on something else at the very moment you'd created the AppImage. I'd deleted /root/.wex, y'see, and allowed it to re-create the directory.

I'd had it on .mkvs, area selection, and audio/X11/webcam. You'd left it on .mp4s, fullscreen and audio/X11 only. So there's me wondering why I couldn't select an area....and why the webcam feed wasn't showing! Laughing

I have discovered what might be a wee 'bug'. If you close WeX with the provided 'Exit' icon, everything's fine & dandy. But if you close WeX with the window 'X', it appears to lose the settings you've selected, and reverts to the 'default' ones at the time of install.

Not intentional, I don't for a moment suppose..... Surprised


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 3369
Location: holland

PostPosted: Fri 06 Jul 2018, 13:13    Post subject:  

Mike Walsh wrote:
I'd had it on .mkvs, area selection, and audio/X11/webcam. You'd left it on .mp4s, fullscreen and audio/X11 only. So there's me wondering why I couldn't select an area....and why the webcam feed wasn't showing! Laughing


Not sure, but I think that's one of the changes wiak has made for v0.8.18 , that the webcam checkbox is not checked by default (and defaults to mp4 and full-screen ?), maybe wiak can confirm ?
Well...Not very important, I guess, just mentioning.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4144
Location: King's Lynn, UK.

PostPosted: Fri 06 Jul 2018, 14:21    Post subject:  

fredx181 wrote:
Mike Walsh wrote:
I'd had it on .mkvs, area selection, and audio/X11/webcam. You'd left it on .mp4s, fullscreen and audio/X11 only. So there's me wondering why I couldn't select an area....and why the webcam feed wasn't showing! Laughing


Not sure, but I think that's one of the changes wiak has made for v0.8.18 , that the webcam checkbox is not checked by default (and defaults to mp4 and full-screen ?), maybe wiak can confirm ?
Well...Not very important, I guess, just mentioning.

Fred


Ahhh.... I see. My mistake, mi amigo. Not your fault, then. I know.....

(*drops voice to a conspiratorial whisper*)

Let's blame William..!! (Hee-hee!)

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
wiak

Joined: 11 Dec 2007
Posts: 938
Location: not Bulgaria

PostPosted: Mon 09 Jul 2018, 04:05    Post subject:  

fredx181 wrote:

Not sure, but I think that's one of the changes wiak has made for v0.8.18 , that the webcam checkbox is not checked by default (and defaults to mp4 and full-screen ?), maybe wiak can confirm ?


Yep, William to 'blame', but I made these changes on purpose. Reason being that if with webcam checked, weX would bomb out for those using machine that doesn't have a webcam, so I made no webcam the default.

I put mp4 since some (probably Hamoudoudou...) seemed to prefer that (claiming that some of video players didn't work with mkv). Personally I use mkv. Let's not say I don't listen to user feedback - Hamoudoudou gave feedback back then and I responded accordingly...

wiak
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4144
Location: King's Lynn, UK.

PostPosted: Mon 09 Jul 2018, 05:19    Post subject:  

No worries, William. Thanks for the explanation.

I must confess to using mkv more & more myself. It just seems more.....stable? (Is that even the right word here?) I used to use mp4 myself (reasoning that the standard had been around for ages, and must, therefore be 'sorted').....but in recent years quite a few new standards have appeared, some of which just seem to be far more versatile.

We have to move with the times.


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [21 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0721s ][ Queries: 12 (0.0078s) ][ GZIP on ]