View previous topic :: View next topic |
Author |
Message |
mich Tux's lil' helper

Joined: 29 Sep 2007 Posts: 135
|
Posted: Wed Feb 19, 2025 10:17 am Post subject: Gnome screen recorder failed! |
|
|
Hello,
When I open the gnome screen recorder and try to record a video it send the following message: screencast failed to start
Can somebody help me please?
Thanks in advance,
Michel |
|
Back to top |
|
 |
CooSee Veteran


Joined: 20 Nov 2004 Posts: 1518 Location: Earth
|
Posted: Thu Feb 20, 2025 1:01 am Post subject: |
|
|
from https://wiki.gentoo.org/wiki/GNOME/Guide#GNOME_built-in_screen_recorder_is_not_working
Quote: | GNOME's screen recorder uses vp8 codec which is developed by Google. The recorder needs this codec and pipewire screencast feature to record the desktop.
It can be enabled it via the the vpx and screencast USE flags in either the make.conf or package.use files. |
Code: | USE="vpx screencast" |
and re-compile pipewire.
 _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
 |
mich Tux's lil' helper

Joined: 29 Sep 2007 Posts: 135
|
Posted: Thu Feb 20, 2025 6:56 am Post subject: |
|
|
Thank you, I'll try and comeback!!! |
|
Back to top |
|
 |
mich Tux's lil' helper

Joined: 29 Sep 2007 Posts: 135
|
Posted: Thu Feb 20, 2025 1:22 pm Post subject: |
|
|
mich wrote: |
Thank you, I'll try and comeback!!! |
Hello,
I did via package.use: cat /etc/portage/package.use/pipewire
media-video/pipewire vpx screencast
And when I verify: i don't see the news flags
Code: | I] media-video/pipewire
Available versions: 1.2.6(0/0.4)^t 1.2.7(0/0.4)^t 1.2.7-r1(0/0.4)^t **9999(0/0.4)*l^t {X bluetooth dbus doc echo-cancel elogind extra ffmpeg flatpak gsettings gstreamer ieee1394 jack-client jack-sdk liblc3 lv2 (+)man modemmanager pipewire-alsa readline roc selinux sound-server ssl system-service systemd test v4l zeroconf ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 1.2.7-r1(0/0.4)^t(08:38:47 AM 01/19/2025)(X bluetooth dbus elogind gstreamer readline ssl -doc -echo-cancel -extra -ffmpeg -flatpak -gsettings -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -man -modemmanager -pipewire-alsa -roc -selinux -sound-server -system-service -systemd -test -v4l -zeroconf ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
Homepage: https://pipewire.org/
Description: Multimedia processing graphs
|
Thanks
[Administrator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 2744
|
Posted: Thu Feb 20, 2025 2:38 pm Post subject: |
|
|
mich wrote: | mich wrote: |
Thank you, I'll try and comeback!!! |
Hello,
I did via package.use: cat /etc/portage/package.use/pipewire
media-video/pipewire vpx screencast
And when I verify: i don't see the news flag |
That's because pipewire does not have such flags. Add them to USE in make.conf would be the easiest.
If you insist on putting them in package.use, run emerge with USE="screencast vpx" on the command line and see which packages are impacted and which of them are relevant, then add the corresponding entries to package.use.
Best Regards,
Georgi |
|
Back to top |
|
 |
mich Tux's lil' helper

Joined: 29 Sep 2007 Posts: 135
|
Posted: Thu Feb 20, 2025 4:44 pm Post subject: |
|
|
logrusx wrote: | mich wrote: | mich wrote: |
Thank you, I'll try and comeback!!! |
Hello,
I did via package.use: cat /etc/portage/package.use/pipewire
media-video/pipewire vpx screencast
And when I verify: i don't see the news flag |
That's because pipewire does not have such flags. Add them to USE in make.conf would be the easiest.
If you insist on putting them in package.use, run emerge with USE="screencast vpx" on the command line and see which packages are impacted and which of them are relevant, then add the corresponding entries to package.use.
Best Regards,
Georgi |
Hello,
USE="screencast vpx" emerge -a pipewire
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 14.31 s (backtrack: 0/20).
[ebuild R ] media-video/pipewire-1.2.7-r1
Any package impacted, but after emerge finished I tried to record video and have the same error message: screencast failed to start
Thanks |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 2744
|
Posted: Thu Feb 20, 2025 4:56 pm Post subject: |
|
|
First of all, you need to update world.
Second, you need to instruct emerge to look for changed use flags with -U then you need to instruct it to go in depth with -D. The universal command is
Code: | emerge -DuUav @world |
I already told you pipewire has none of those use flags and this rebuild is irrelevant.
As a consequence you need to run
Code: | emerge --deselect pipewire | because you recorded it in world where it should not be.
Almost always, when you run emerge to fix something, you need to run it with -1 (--oneshot). Only run emerge without oneshot when you explicitly want the thing emerged. Like firefox or chromium for example.
If you use binary packages you add g to instruct emerge to look for binary packages.
Third, I happen to have Gnome installed. I just migrated off of it a couple of weeks ago and still haven;t figure out what should I keep and what should I get rid of. I didn't find such a program - gnome screen recorder. Neither in Gnome itself, nor in the main tree, nor in the overlays.
Where did you get it from?
Best Regards,
Georgi |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5412 Location: Bavaria
|
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 2744
|
Posted: Thu Feb 20, 2025 7:46 pm Post subject: |
|
|
OK, I found out I could use the screenshot tool to capture the screen. I was able to do it. What I have is screencast enabled on mutter and vpx enabled on gst-plugins-meta and ffmepg. You might not need to enable it on ffmpeg, because I have some recollections I enabled it for something else, but if it doesn't work, try enabling that too.
However I'm not happy with the quality of the video produced. I wasn't able to forward or rewind it in mpv, it always terminated the playback, which is a pretty bad sign for the quality of the file.
Best Regards,
Georgi |
|
Back to top |
|
 |
|