It is possible to record desktop in a terminal with FFmpeg but is not possible have pause option, only with Ctrl + C is possible to stop the video but this create a video (then several by repeating this) and to Resume is necessary to start again the recording and next with other commands joing the video files. Because this I have been searching the Web tirelessly on Github, Gitlab, fling.com, Google, I was looking for someone who has done a GUI program to use FFmpeg on Linux to make Screencast and
be able to put Pause, I found a GUI software writing in Go (https://golang.org/) called ffmpegui:
are an explanation about there:
in that place we can edit
[Screencast] Grabar pantalla con FFmpeg + seguir cursor + mostrar cursor + grabar rectangulo de 480p
https:// facilitarelsoftwarelibre. blogspot.com/2021/03/ screencast-ffmpeg-follow- mouse-linux.html
then join the files from the list:
are an explanation about there:
The main idea of this program is join all video files in the stop option button:
but the developer writing it on a MAC OS X and I can't run on Linux, but the developer said that have Linux support, I don't know how to
XvidCap abandoned
I
started looking for this idea because I know the xvidcap application which
can be configured to record a rectangle + follow the mouse, and is
possible to move inside the box, and have Pause, but the application has been abandoned
DEPENDENCES FOR FFMPEGUI
XvidCap is available in:
https://sourceforge.net/ projects/xvidcap/files/ xvidcap/1.1.7/
I tested in MX Linux 19.3 x386 with the version:
xvidcap 1.1.7jaunty i386.deb
I tested in MX Linux 19.3 x386 with the version:
xvidcap 1.1.7jaunty i386.deb
and run with:
padsp xvidcap --audio yes --audio_bits 128 --cap_geometry 854x480[+200+200] --fps 30 --quality 100 --file "Su video.mpg"
here a video:
but
the program records video of very poor quality, and the audio sounds
very bad when one moves with the box, and is not possible use it to make
great video tutorials (with FFmpeg yes)
I know that there is other applications like: SimpleScreenRecorder, Vokoscreen-NG, etc but no one is like XvidCap (but FFmpeg is greate)
I
am not developer but try to read about what happened and I found that
the commands that theveloper used are to ffmpeg on MAC OS X. I think
that the solution is change that commands to the commands for ffmpeg on
Linux
DEPENDENCES FOR FFMPEGUI
Install some dependences for Ubuntu, Debian:
sudo apt-get install libgtk-3-dev golang ffmpeg
INSTALL ui
To install ffmpegui first is necessary to install ui (https://github.com/andlabs/ ui), put in terminal:
go get github.com/andlabs/ui/...
then:
INSTALL ffmpegui
Now put in terminal:
go get github.com/raviraa/ffmpegui/...
then when is installed
RUN
to launch it:
$HOME/go/bin/ffmpegui
ERROR MESSAGE
aappear to me a message that said:
INFO: 20:02:45 mainui.go:83: Starting in GUI mode
panic: OS not supported
pherhaps is necessary change:
MAC OS X ffmpeg option:
FFmpeg Devices Documentation - avfoundation
https://ffmpeg.org/ffmpeg- devices.html#avfoundation
https://ffmpeg.org/ffmpeg-
to
Linux ffmpeg option:
but I don't know how to do that
To Edit the program
This program has been installed in:
/home/youruser/go/src/github. com/raviraa/ffmpegui/
in that place we can edit
Asking developer for help
I think on write to developer but there is no email in that account: https://github.com/raviraa
At
this time I am try to using ffmpeg from terminal to made screencast,
but without pause, only stop and if is necessary next have to join some
videos a one.
I do a entry on my blog about (but in spanish):
[Screencast] Grabar pantalla con FFmpeg + seguir cursor + mostrar cursor + grabar rectangulo de 480p
https://
TO RECORD A 480p RECTANGLE + FOLLOW THE MOUSE (MOVE EDGE AT 50px)
The following are instructions to record in a rectangle of 854x480 pixels + follow the mouse, to explain in more detail the places on the screen where we are moving, and the rectangle will only move following the mouse when the pointer reaches within 50 pixels up to the border within the boxffmpeg -follow_mouse 50 -show_region 1 -video_size 854x480 -r 60 -f x11grab -i :0.0 \
-f alsa -ac 2 -i default \
-c:v libx264 -qp 0 -preset ultrafast \
"$HOME/Rec-$(date '+%Y-%m-%d_%H.%M.%S').mp4"
.
. . this feature only works correctly in Linux Operating Systems with
FFmpeg 4, example Ubuntu 20.04 Focal that has the version FFmpeg 4.2.4 (https://packages.ubuntu.com/ focal/ffmpeg), or Debian 11 Bullseye that has FFmpeg 4.3.2 (https://packages.debian.org/ bullseye/ffmpeg) and Linux like MX Linux 21, this or that you use in Ubuntu a PPA or compile from source code one of the versions 4 of FFmpeg.
I made a video:
Commands to join the videos
At the moment I think that is possible to join the videos with this:
First Create a list of all files to convert
for f in *.mp4; do echo "file '$f'" >> mylist.txt; done
then join the files from the list:
ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
perhaps you can help to make this idea to run
or create a GUI in some other way to get it to work
if you do please said me: wachin.id@gmail.com
God Bless You