Page 1 of 1

[SOLVED] SimpleScreenRecorder H.264 not installed

PostPosted: Jan 28th, '24, 10:35
by maluethy
I am using Mageia 9 with Plasma Desktop and would like to make screen recordings with SimpleScreenRecorder and the "YouTube" output profile. However, under "Video" in SimpleScreenRecorder, the codec says "H.264 not installed".
SimpleScreenRecorder YouTube H264 S01B.png
SimpleScreenRecorder H.264 not installed
SimpleScreenRecorder YouTube H264 S01B.png (68.2 KiB) Viewed 17947 times

I have activated the tainted and nonfree repositories. I have installed H.264 codecs via the Mageia Control Centre, but the message persists. I then installed the audio and video codecs via Mageia Welcome, but the message persists.
Mageia Welcome Application S01.png
Mageia Welcome Application
Mageia Welcome Application S01.png (24.28 KiB) Viewed 17947 times

How do I proceed so that SimpleScreenRecorder recognises H.264?

Thanks in advance for the support.

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 28th, '24, 15:46
by sturmvogel
Works out of the box on an untinkered installation.

Code: Select all
[root@testbox ~]# rpm -qa | grep 264
lib64x264_164-0.164-0.20220222.2.mga9.tainted
libquicktime-x264-1.2.4-32.mga9.tainted
x264-0.164-0.20220222.2.mga9.tainted
gstreamer1.0-x264-1.22.8-1.mga9.tainted
[root@testbox ~]#


Code: Select all
[root@testbox ~]# rpm -qa | grep gstreamer
gstreamer1.0-tools-1.22.8-1.mga9
lib64gstreamer1.0_0-1.22.8-1.mga9
lib64gstreamer-plugins-base1.0_0-1.22.8-1.mga9
phonon-gstreamer-common-4.10.0-3.mga9
gstreamer1.0-plugins-base-1.22.8-1.mga9
gstreamer1.0-cdparanoia-1.22.8-1.mga9
gstreamer1.0-plugins-good-1.22.8-1.mga9
phonon4qt5-gstreamer-4.10.0-3.mga9
gstreamer1.0-farstream-0.2.9-6.mga9
gstreamer1.0-libav-1.22.8-1.mga9
gstreamer1.0-wavpack-1.22.8-1.mga9
gstreamer1.0-lame-1.22.8-1.mga9
gstreamer1.0-dv-1.22.8-1.mga9
gstreamer1.0-pulse-1.22.8-1.mga9
gstreamer1.0-twolame-1.22.8-1.mga9
gstreamer1.0-flac-1.22.8-1.mga9
gstreamer1.0-vaapi-1.22.8-1.mga9
gstreamer1.0-speex-1.22.8-1.mga9
gstreamer1.0-soup-1.22.8-1.mga9
gstreamer1.0-plugins-bad-1.22.8-1.mga9.tainted
gstreamer1.0-cdio-1.22.8-1.mga9.tainted
gstreamer1.0-faad-1.22.8-1.mga9.tainted
gstreamer1.0-mpeg-1.22.8-1.mga9.tainted
gstreamer1.0-amrnb-1.22.8-1.mga9.tainted
gstreamer1.0-rtmp-1.22.8-1.mga9.tainted
gstreamer1.0-x264-1.22.8-1.mga9.tainted
gstreamer1.0-x265-1.22.8-1.mga9.tainted
gstreamer1.0-a52dec-1.22.8-1.mga9.tainted
gstreamer1.0-gsm-1.22.8-1.mga9.tainted
gstreamer1.0-plugins-ugly-1.22.8-1.mga9.tainted
gstreamer1.0-gme-1.22.8-1.mga9.tainted
lib64gstreamer-plugins-base-gir1.0-1.22.8-1.mga9
[root@testbox ~]#


Code: Select all
[root@testbox ~]# rpm -qa | grep codec
lib64avcodec59-5.1.3-3.mga9.tainted
kcodecs-5.105.0-1.mga9
lib64kf5codecs5-5.105.0-1.mga9
lib64gstcodecparsers1.0_0-1.22.8-1.mga9.tainted
task-codec-audio-9-1.mga9.tainted
task-codec-video-9-1.mga9.tainted
lib64gstcodecs1.0_0-1.22.8-1.mga9.tainted
[root@testbox ~]#

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 28th, '24, 16:18
by morgano
I just for this installed SimpleScreenRecorder from our repo.
No problem here, that Codec field only say "H.264"

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 28th, '24, 16:46
by doktor5000
Best post the outputs of
Code: Select all
urpmq --list-media active --list-url
rpm -qa | grep -iE "x26[45]|codec|simplescreen"|sort

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 28th, '24, 18:12
by maluethy
Thanks for the feedback.
I have installed SimpleScreenRecorder from Mageia.
Below are the outputs from the console:
Code: Select all
[root@localhost ~]# urpmq --list-media active --list-url
Core Release https://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/9/x86_64/media/core/release
Core Updates https://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/9/x86_64/media/core/updates
Nonfree Release https://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/9/x86_64/media/nonfree/release
Nonfree Updates https://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/9/x86_64/media/nonfree/updates
Tainted Release https://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/9/x86_64/media/tainted/release
Tainted Updates https://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/9/x86_64/media/tainted/updates


Code: Select all
[root@localhost ~]# rpm -qa | grep -iE "x26[45]|codec|simplescreen"|sort
gstreamer1.0-x264-1.22.8-1.mga9.tainted
gstreamer1.0-x265-1.22.8-1.mga9.tainted
kcodecs-5.105.0-1.mga9
lib64avcodec59-5.1.3-3.mga9
lib64gstcodecparsers1.0_0-1.22.8-1.mga9.tainted
lib64gstcodecs1.0_0-1.22.8-1.mga9.tainted
lib64kf5codecs5-5.105.0-1.mga9
lib64opencv_imgcodecs406-4.6.0-5.mga9
lib64x264_164-0.164-0.20220222.2.mga9.tainted
lib64x264-devel-0.164-0.20220222.2.mga9.tainted
lib64x265_192-3.4-3.mga9.tainted
libquicktime-x264-1.2.4-32.mga9.tainted
simplescreenrecorder-0.4.4-1.mga9
task-codec-audio-9-1.mga9.tainted
task-codec-video-9-1.mga9.tainted
x264-0.164-0.20220222.2.mga9.tainted
x265-3.4-3.mga9.tainted
[root@localhost ~]#

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 28th, '24, 23:15
by morgano
And codecs here:
Code: Select all
$ rpm -qa | grep codec
kcodecs-5.105.0-1.mga9
lib64kf5codecs5-5.105.0-1.mga9
lib64opencv_imgcodecs406-4.6.0-5.mga9
task-codec-video-9-1.mga9.tainted
task-codec-audio-9-1.mga9.tainted
lib64avcodec59-5.1.3-3.mga9.tainted
lib64gstcodecparsers1.0_0-1.22.8-1.mga9.tainted
lib64gstcodecs1.0_0-1.22.8-1.mga9.tainted


If you start simplescreenrecorder from a terminal, does it show some interesting output?

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 29th, '24, 11:26
by maluethy
I installed Mageia 9 with the following packages: Workstation > Documentation, Configuration, Console Tools. By default, other packages were selected, such as Multimedia and Internet. I don't know if this has any influence on the current situation.

In an older forum post, the problem, as I understand it, was with 32bit repositories that were not activated. In my installation, the repositories are set according to the default settings of the wizard. As far as I can understand without 32bit repositories. I don't know whether the 32bit repositories are necessary for SimpleScreenRecorder today or not.
viewtopic.php?f=23&t=11396&p=66334&hilit=264#p66334

Starting simplescreenrecorder from the terminal gives out:
Code: Select all
[shark22@localhost ~]$ simplescreenrecorder
==================== SSR gestartet ====================
SimpleScreenRecorder 0.4.4
Compiled with GCC 12.2.0
Qt: header 5.15.5, lib 5.15.7
libavformat: header 59.16.100, lib 59.27.100
libavcodec: header 59.18.100, lib 59.37.100
libavutil: header 57.17.100, lib 57.28.100
libswscale: header 6.4.100, lib 6.7.100
[CPUFeatures::Detect] CPU Merkmale: mmx sse sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 bmi1 bmi2
[ScreenScaling] Detected fractional screen scale factor, scaling was disabled.
[ALSAInput::GetSourceList] Generiere Quell-Liste...
[ALSAInput::GetSourceList] Plugin gefunden: [lavrate] Rate Converter Plugin Using Libav/FFmpeg Library
[ALSAInput::GetSourceList] Karte gefunden: [hw:0] HDA ATI HDMI
[ALSAInput::GetSourceList] Karte gefunden: [hw:1] HD-Audio Generic
[ALSAInput::GetSourceList] Gerät gefunden: [hw:1,0] HD-Audio Generic: ALC892 Analog
[ALSAInput::GetSourceList] Gerät gefunden: [hw:1,2] HD-Audio Generic: ALC892 Alt Analog
[PulseAudioInput::GetSourceList] Generiere Quell-Liste...
[SourceNamesCallback] Quelle gefunden: [alsa_output.pci-0000_28_00.1.hdmi-stereo.monitor] Monitor of Navi 10 H
DMI Audio Digital Stereo (HDMI)
[SourceNamesCallback] Quelle gefunden: [alsa_output.pci-0000_2a_00.4.analog-stereo.monitor] Monitor of Starshi
p/Matisse HD Audio Controller Analog Stereo


Morgano, I don't know the meaning of the codecs listed or what to do with them. The output would be:
Code: Select all
[root@localhost ~]# rpm -qa | grep codec
lib64avcodec59-5.1.3-3.mga9
kcodecs-5.105.0-1.mga9
lib64kf5codecs5-5.105.0-1.mga9
lib64opencv_imgcodecs406-4.6.0-5.mga9
lib64gstcodecparsers1.0_0-1.22.8-1.mga9.tainted
lib64gstcodecs1.0_0-1.22.8-1.mga9.tainted
task-codec-audio-9-1.mga9.tainted
task-codec-video-9-1.mga9.tainted
[root@localhost ~]#


Code: Select all
[root@localhost ~]# rpm -qa | grep 264
lib64x264_164-0.164-0.20220222.2.mga9.tainted
x264-0.164-0.20220222.2.mga9.tainted
lib64x264-devel-0.164-0.20220222.2.mga9.tainted
libquicktime-x264-1.2.4-32.mga9.tainted
gstreamer1.0-x264-1.22.8-1.mga9.tainted
[root@localhost ~]#


Code: Select all
[root@localhost ~]# rpm -qa | grep gstreamer
phonon-gstreamer-common-4.10.0-3.mga9
phonon4qt5-gstreamer-4.10.0-3.mga9
gstreamer1.0-farstream-0.2.9-6.mga9
lib64gstreamer1.0_0-1.22.8-1.mga9
gstreamer1.0-tools-1.22.8-1.mga9
lib64gstreamer-plugins-base1.0_0-1.22.8-1.mga9
gstreamer1.0-plugins-base-1.22.8-1.mga9
gstreamer1.0-soup-1.22.8-1.mga9
gstreamer1.0-plugins-good-1.22.8-1.mga9
gstreamer1.0-vaapi-1.22.8-1.mga9
gstreamer1.0-pulse-1.22.8-1.mga9
gstreamer1.0-twolame-1.22.8-1.mga9
gstreamer1.0-speex-1.22.8-1.mga9
gstreamer1.0-cdparanoia-1.22.8-1.mga9
gstreamer1.0-wavpack-1.22.8-1.mga9
gstreamer1.0-flac-1.22.8-1.mga9
gstreamer1.0-dv-1.22.8-1.mga9
gstreamer1.0-libav-1.22.8-1.mga9
gstreamer1.0-plugins-bad-1.22.8-1.mga9.tainted
gstreamer1.0-rtmp-1.22.8-1.mga9.tainted
gstreamer1.0-cdio-1.22.8-1.mga9.tainted
gstreamer1.0-a52dec-1.22.8-1.mga9.tainted
gstreamer1.0-gsm-1.22.8-1.mga9.tainted
gstreamer1.0-mpeg-1.22.8-1.mga9.tainted
gstreamer1.0-plugins-ugly-1.22.8-1.mga9.tainted
gstreamer1.0-x264-1.22.8-1.mga9.tainted
gstreamer1.0-gme-1.22.8-1.mga9.tainted
gstreamer1.0-faad-1.22.8-1.mga9.tainted
gstreamer1.0-lame-1.22.8-1.mga9
gstreamer1.0-amrnb-1.22.8-1.mga9.tainted
gstreamer1.0-x265-1.22.8-1.mga9.tainted
[root@localhost ~]#


Code: Select all
[root@localhost ~]# rpm -qa | grep codec
lib64avcodec59-5.1.3-3.mga9
kcodecs-5.105.0-1.mga9
lib64kf5codecs5-5.105.0-1.mga9
lib64opencv_imgcodecs406-4.6.0-5.mga9
lib64gstcodecparsers1.0_0-1.22.8-1.mga9.tainted
lib64gstcodecs1.0_0-1.22.8-1.mga9.tainted
task-codec-audio-9-1.mga9.tainted
task-codec-video-9-1.mga9.tainted
[root@localhost ~]#

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 29th, '24, 13:32
by morgano
FWIW, I have 32 bit repos enabled, and when installing simplescreenrecorder many i586 packages was installed by dependency.

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 29th, '24, 21:30
by maluethy
Thanks for the feedback.
I have activated the 32bit repositories, uninstalled SimpleScreenRecorder in the Mageia control centre, installed the newly added H.264 32 bit codecs and reinstalled SimpleScreenRecorder. The message in SimpleScreenRecorder remains: H.264 not installed. - Should I restart the computer between uninstalling software and reinstalling it? Does it help to uninstall and reinstall all H.264 codecs?

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 29th, '24, 23:11
by doktor5000
No need to restart your computer after installing normal userspace applications. It probably won't help to uninstall/reinstall all H.264 codecs.

As simplescreenrecorder uses ffmpeg, and that is not contained in the outputs, can you please post the output of
Code: Select all
rpm -qa |grep -iE "ffmpeg|avformat|avcodec|avutil|avfilter|swscale|postproc|resample"|sort

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 30th, '24, 14:04
by maluethy
Thanks for the explanations.
Below is the output of the command from the console as user:
Code: Select all
[shark22@localhost ~]$ rpm -qa |grep -iE "ffmpeg|avformat|avcodec|avutil|avfilter|swscale|postproc|resample"|sort
ffmpeg-5.1.3-3.mga9
ffmpegthumbs-23.04.1-1.mga9
lib64avcodec59-5.1.3-3.mga9
lib64avfilter8-5.1.3-3.mga9
lib64avformat59-5.1.3-3.mga9
lib64avutil57-5.1.3-3.mga9
lib64postproc56-5.1.3-3.mga9
lib64swresample4-5.1.3-3.mga9
lib64swscaler6-5.1.3-3.mga9
lib64zita-resampler1-1.10.1-1.mga9
[shark22@localhost ~]$

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Jan 30th, '24, 15:24
by morgano
I think you need to upgrade to the tainted versions. I have:
Code: Select all
$ rpm -qa |grep -iE "ffmpeg|avformat|avcodec|avutil|avfilter|swscale|postproc|resample"|sort
ffmpeg-5.1.3-3.mga9.tainted
ffmpegthumbs-23.04.1-1.mga9
lib64avcodec59-5.1.3-3.mga9.tainted
lib64avfilter8-5.1.3-3.mga9.tainted
lib64avformat59-5.1.3-3.mga9.tainted
lib64avutil57-5.1.3-3.mga9.tainted
lib64ffmpegthumbnailer4-2.2.2^git20220218-1.mga9
lib64postproc56-5.1.3-3.mga9.tainted
lib64swresample4-5.1.3-3.mga9.tainted
lib64swscaler6-5.1.3-3.mga9.tainted
lib64zita-resampler1-1.10.1-1.mga9

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Feb 2nd, '24, 13:02
by maluethy
Thank you for your feedback.
How do I upgrade to the tainted versions?

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Feb 2nd, '24, 14:28
by morgano
Enable the tainted repos. Both release and updates. As you have both 64 and 32 bit you need both arches now too so in total 4 repos.

Graphical tool MCC -> Configure media sources for install and update
https://doc.mageia.org/mcc/9/en/content ... edit-media

result:
Code: Select all
$ urpmq --list-media active --list-url | grep tainted
Tainted Release https://ftp.acc.umu.se/mirror/mageia/distrib/9/x86_64/media/tainted/release
Tainted Updates https://ftp.acc.umu.se/mirror/mageia/distrib/9/x86_64/media/tainted/updates
Tainted 32bit Release https://ftp.acc.umu.se/mirror/mageia/distrib/9/i586/media/tainted/release
Tainted 32bit Updates https://ftp.acc.umu.se/mirror/mageia/distrib/9/i586/media/tainted/updates


Then in MCC drakrpm top left dropdown select which here say "Packages with GUI"
https://doc.mageia.org/mcc/9/en/content ... l#rpmdrake
change that to "All updates"

Now you can manually select updates for what is have installed.
To the help is categories in left pane, and click columns to sort.

If you want to install updates to everything installed, from any active media, it is efficient to instead as root run "urpmi --auto-up" in terminal. First, to test, try "urpmi --auto-up --test" to only see what it would do.

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Feb 2nd, '24, 17:28
by doktor5000
Or simply just run as root
Code: Select all
urpmi --auto-update

as you already have the tainted repos enabled.

Re: SimpleScreenRecorder H.264 not installed

PostPosted: Feb 3rd, '24, 16:00
by maluethy
Many thanks for the descriptions, the links and the commands.
I simply executed the command "urpmi -auto-update" as root and now the H.264 protocol is available in the YouTube profile in SimpleScreenRecorder. > The screen recording now works.
Why did it not work before the update with the command "urpmi -auto-update"? Is the execution of this command necessary because of the manual installation of H.264 or because of the media source tainted versions?

Re: [SOLVED] SimpleScreenRecorder H.264 not installed

PostPosted: Feb 3rd, '24, 21:23
by doktor5000
When you enable tainted repos, you want to replace all installed package with their tainted versions. For that you either need to run urpmi --auto-update or use drakrpm with the filter set to "All updates" as mentioned by morgano (and select all updates in that view).