simple-screen-recorder from source or porteus stock

Non release banter
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

simple-screen-recorder from source or porteus stock

Post#1 by francois » 01 Dec 2013, 02:07

I am trying to build a tool that is on ubuntu to make some video capture of the whole screen or some part of the screen. However, note that since porteus 3.0 version, this package is available stock on porteus kde edition.

The package is simple-screen-recorder and is maintained by MaartenBaert:
http://www.maartenbaert.be/simplescreenrecorder/

On github:
https://github.com/MaartenBaert/ssr/issues/
https://github.com/MaartenBaert/ssr/iss ... t-28735903

Formerly, I have tried to work with xvidcap which worked quite well for me back in the past. Presently, I am trying to get it working under porteus and I am stuck:
https://forum.porteus.org/viewtopic.php ... 32#p19832

Under ubuntu and debian, xvidcap is no more maintained. At least that is what I can conclude from my different searches on the topic. There seems to be very few information on xvidcap recently on the net.

I have been preparing the necessary libraries and turned them into modules, including 05-devel.xzm to be able to build from source under the 64 bit architecture the package simple-screen-recorder.

So if I may I would appreciate some troubleshooting with a few of you guys to get simple-screen-recorder to work under porteus (slackware), which would certainly please MaartenBaert. He would like to have it running under other distributions. Here is a few questions if I may to get me thru the troubleshooting of simple-screen-recorder under porteus.

1) How come the locate function does not work under porteus?

Code: Select all

root@porteus:~# locate -b libavformat
bash: locate: command not found
root@porteus:~# 
Ok. Forget about this one I just found the missing package under PPM slackware.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4613
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: simple-screen-recorder (ssr) building from source

Post#2 by fanthom » 01 Dec 2013, 09:39

ssr needs ffmpeg which requires a dozen of deps and will be rather hard to get it working all togheder.
good news is that i have done all the job already and ffmpeg is a part of 002-xorg.xzm in porteus-3.0 (unpublished beta). i have also added ssr to KDE4 desktop already along with qwinff: http://qwinff.blogspot.ie/p/screenshots.html and other goodies. these package could be also merged to razor if brokenman accept them.
Please add [Solved] to your thread title if the solution was found.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5542
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: simple-screen-recorder (ssr) building from source

Post#3 by brokenman » 01 Dec 2013, 13:16

If you are using mate you can download the alien ffmpeg and then use the script below to create screen recording. For me the quality is better than any of the GUI screen recorders.

Get ffmpeg here: https://dl.dropboxusercontent.com/u/686 ... 1alien.txz

ffmpeg -f x11grab -s 1920x1080 -r 25 -i :0.0 -vcodec libx264 -preset medium -crf 22 -y /tmp/out.mp4
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: simple-screen-recorder (ssr) building from source

Post#4 by francois » 01 Dec 2013, 16:54

fanthom wrote:ssr needs ffmpeg which requires a dozen of deps and will be rather hard to get it working all together.
good news is that i have done all the job already and ffmpeg is a part of 002-xorg.xzm in porteus-3.0 (unpublished beta). i have also added ssr to KDE4 desktop already along with qwinff: http://qwinff.blogspot.ie/p/screenshots.html and other goodies. these package could be also merged to razor if brokenman accept them.
Finally, I anticipated that ffmpeg might work if libav did not. Though I would have preferred libav as it is lighter. And you came with the suggestion of using ffmpeg.

I am happy to read that ssr will come stock in porteus 3.0. And even more happy to read that there will be other treats :D

Trying to work on xvidcap with your comments, see post on xvidcap:
viewtopic.php?f=48&t=2879

I did not achieved to get xvidcap working, but found a missing package called jack-audio-connection-kit-0.121.3-x86_64-1sl for which I had a missing dependencies error message trying to build simplescreenrecorder. As the script simple-build-and-install would not work for me, I used the traditional ./configure, make and make install DESTDIR=ssr, and then transformed the ssr folder into a module. It works :D But with a small colateral problem.

Its a good thing that you announce ssr for the porteus 3.0 beta edition. Nonetheless, I am kind of proud to have built a module from source with quite a respectable quantity of dependencies. I used to restrain myself to simpler source building. As bigger package with their numerous dependencies render the operation difficult. As an example, I was never able to build the chess game scidvspc (don't laugh brokenman, I know you did).

@brokenman: Thanks for your suggestion. Simplescreenrecorder is reported to provide very good resolution. In addition, there is a gui interface with the option of selecting a variable rectangle. However, I might use your version of fmmpeg, as I suspect that the one I built with PPM yields some funny and unnecessary error message.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: simple-screen-recorder (ssr) building from source

Post#5 by francois » 04 Dec 2013, 19:56

I had some bug using ffmpeg built from PPM with ssr. The message appears when I use ssr and dependencies. Here is the bug, its a dialog box about sound devices:
https://plus.google.com/u/0/photos/1183 ... 8728258337

The ffmpeg alien version brokeman provided was not better to remove that message.

Suggestions are appreciated.
Thanks.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4613
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: simple-screen-recorder (ssr) building from source

Post#6 by fanthom » 04 Dec 2013, 20:26

this is just a warning. please run following command:

Code: Select all

rm ~/.kde4/share/config/phonon*
and reboot porteus. this should fix the issue.
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: simple-screen-recorder (ssr) building from source

Post#7 by francois » 05 Dec 2013, 00:57

This did the job. If I build a bundle for sse. How do I specify that into the bundle?

Thanks
Voltaire: Le mieux est l'ennemi du bien.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4613
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: simple-screen-recorder (ssr) building from source

Post#8 by fanthom » 05 Dec 2013, 08:29

this is internal KDE feature (gives a warning that something changed in audio devices configuration, probably when porteus is booted with saved changes on different PCs or with new drivers activated) and is not connected with building from sources in any way.
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: simple-screen-recorder (ssr) building from source

Post#9 by francois » 05 Dec 2013, 09:58

Thanks for the explanation. Your patience with me is much appreciated. :)
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: simple-screen-recorder (ssr) building from source

Post#10 by francois » 14 Dec 2013, 20:42

Coming back about ssr. The sound is not recorded. In addition with ssr in the module section avidemux also has some problem with the sound. It is not functional.

Any idea about what should be going wrong?
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: simple-screen-recorder (ssr) building from source

Post#11 by francois » 31 Jan 2015, 17:38

I am presently using simple screen recorder in the kde environment. I works just fine. No problem at all. This is really a very usefull video recording utility.
Thanks to you fanthom. :)
Voltaire: Le mieux est l'ennemi du bien.

Post Reply