Page 1 of 1

simple-screen-recorder from source or porteus stock

Posted: 01 Dec 2013, 02:07
by francois
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.

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

Posted: 01 Dec 2013, 09:39
by fanthom
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.

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

Posted: 01 Dec 2013, 13:16
by brokenman
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

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

Posted: 01 Dec 2013, 16:54
by francois
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.

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

Posted: 04 Dec 2013, 19:56
by francois
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.

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

Posted: 04 Dec 2013, 20:26
by fanthom
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.

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

Posted: 05 Dec 2013, 00:57
by francois
This did the job. If I build a bundle for sse. How do I specify that into the bundle?

Thanks

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

Posted: 05 Dec 2013, 08:29
by fanthom
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.

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

Posted: 05 Dec 2013, 09:58
by francois
Thanks for the explanation. Your patience with me is much appreciated. :)

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

Posted: 14 Dec 2013, 20:42
by francois
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?

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

Posted: 31 Jan 2015, 17:38
by francois
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. :)