PINE64
Screen recorder - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Screen recorder (/showthread.php?tid=9257)



Screen recorder - jiyong - 02-23-2020

I am trying to record the screen of the Pinebook Pro with audio from the webcam mic.
I tried Kazam, but it can only record in AVI (huge file and audio died after 30 seconds!) and not with h264.

I'm testing with FFMPEG, but I get audio drops and the image quality is not what I hoped for.
This is the command I'm using at the moment:
ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -vcodec libx264 -c:v h264_rkmpp -thread_queue_size 32 -f alsa -ac 2 -i hw:0 output.mkv

Anyone has a working solution for recording the screen, or knows how to tweak FFMPEG?

I also installed the package x264 from the Synaptic Package Manager.


RE: Screen recorder - jiyong - 02-24-2020

I was watching a Youtube video from LearnLinuxTV and I noticed he used SimpleScreenRecorder.
That one gives a decent result.
It reports around 13 fps, so I guess 30 fps isn't possible, until we get hardware encoding running.


RE: Screen recorder - ab1jx - 03-10-2020

ffmpeg can also do it, see x11grab in the man page.  Not exactly a GUI user-friendly program but I've done it a couple times.  You can grab just part of the screen I think.  But computer screens with mostly low numbers of colors and sharp contrasts don't work well with mpeg which is a little like jpeg that way.