Fedora 37 - simplescreenrecorder got Fail

Hello All,

When I start recording, I get an error and the application freezes.

==================== SSR started ====================
SimpleScreenRecorder 0.4.4
Compiled with GCC 12.1.1
Qt: header 5.15.5, lib 5.15.6
libavformat: header 59.27.100, lib 59.27.100
libavcodec: header 59.37.100, lib 59.37.100
libavutil: header 57.28.100, lib 57.28.100
libswscale: header 6.7.100, lib 6.7.100
[CPUFeatures::Detect] CPU features: mmx sse sse2 sse3 ssse3 sse4_1 sse4_2 avx
[ALSAInput::GetSourceList] Generating source list ...
[ALSAInput::GetSourceList] Found plugin: [pipewire] PipeWire Sound Server
[ALSAInput::GetSourceList] Found card: [hw:0] HDA Intel PCH
[ALSAInput::GetSourceList] Found device: [hw:0,0] HDA Intel PCH: 92HD81B1X5 Analog
[PulseAudioInput::GetSourceList] Generating source list ...
[SourceNamesCallback] Found source: [alsa_output.pci-0000_00_1b.0.analog-stereo.monitor] Monitor of Built-in Audio Analog Stereo
[SourceNamesCallback] Found source: [alsa_input.pci-0000_00_1b.0.analog-stereo] Built-in Audio Analog Stereo
[SourceNamesCallback] Found source: [bluez_output.60_93_16_44_E4_BA.1.monitor] Monitor of AirPods - Artem
[PageRecord::StartPage] Starting page ...
[PageRecord::StartPage] Started page.
[SimpleSynth::SynthThread] Synth thread started.
[MakeThreadHighPriority] Warning: Can't increase the thread priority.
[PageRecord::StartOutput] Starting output ...
[PageRecord::StartOutput] Output file: /home/acentos/Videos/test-video-2022-11-11_02.37.56.mp4
[Muxer::Init] Using format mp4 (MP4 (MPEG-4 Part 14)).
[Muxer::AddStream] Using codec libx264 (libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10).
[VideoEncoder::PrepareStream] Using pixel format nv12.
[libx264 @ 0x55cb624dd5c0] using SAR=1/1
[libx264 @ 0x55cb624dd5c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x55cb624dd5c0] profile High, level 3.2, 4:2:0, 8-bit
[libx264 @ 0x55cb624dd5c0] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=1 keyint_min=1 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=15.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[Muxer::AddStream] Using codec pcm_s16le (PCM signed 16-bit little-endian).
[AudioEncoder::PrepareStream] Using sample format s16i.
[BaseEncoder::EncoderThread] Encoder thread started.
[Muxer::Start] Error: Can't write header!
[mp4 @ 0x55cb624dbf40] Could not find tag for codec pcm_s16le in stream #1, codec not currently supported in container
[BaseEncoder::~BaseEncoder] Stopping encoder thread ...
[BaseEncoder::EncoderThread] Encoder thread started.
[BaseEncoder::EncoderThread] Encoder thread stopped.
[BaseEncoder::~BaseEncoder] Stopping encoder thread ...
[BaseEncoder::EncoderThread] Encoder thread stopped.
[PageRecord::StartOutput] Error: Something went wrong during initialization.
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 881, resource id: 13472187, major code: 40 (TranslateCoords), minor code: 0
[PageRecord::StartOutput] Starting output ...
[PageRecord::StartOutput] Output file: /home/acentos/Videos/test-video-2022-11-11_02.38.08.mp4
[Muxer::Init] Using format mp4 (MP4 (MPEG-4 Part 14)).
[Muxer::AddStream] Using codec libx264 (libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10).
[VideoEncoder::PrepareStream] Using pixel format nv12.
[libx264 @ 0x55cb62568340] using SAR=1/1
[libx264 @ 0x55cb62568340] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x55cb62568340] profile High, level 3.2, 4:2:0, 8-bit
[libx264 @ 0x55cb62568340] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=1 keyint_min=1 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=15.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[BaseEncoder::EncoderThread] Encoder thread started.
[Muxer::AddStream] Using codec pcm_s16le (PCM signed 16-bit little-endian).
[AudioEncoder::PrepareStream] Using sample format s16i.
[BaseEncoder::EncoderThread] Encoder thread started.
[Muxer::Start] Error: Can't write header!
[mp4 @ 0x55cb628eb800] Could not find tag for codec pcm_s16le in stream #1, codec not currently supported in container
[BaseEncoder::~BaseEncoder] Stopping encoder thread ...
[BaseEncoder::EncoderThread] Encoder thread stopped.
[BaseEncoder::~BaseEncoder] Stopping encoder thread ...
[BaseEncoder::EncoderThread] Encoder thread stopped.
[PageRecord::StartOutput] Error: Something went wrong during initialization.
[PageRecord::StopPage] Stopping page ...
[PageRecord::StopPage] Stopped page.
[SimpleSynth::~SimpleSynth] Stopping synth thread ...
[SimpleSynth::SynthThread] Synth thread stopped.
==================== SSR stopped ====================

Perhaps it is worth delivering some kind of library?

Linux vagrant 6.0.7-301.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 4 18:35:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
simplescreenrecorder-0.4.4-2.fc37.x86_64

1 Like

I have not installed SSR on F37 yet since I have yet to upgrade a bare metal system to F37. I have had no problems with SSR on F36.
I have simplescreenrecorder-0.4.4-1.fc36 and you have simplescreenrecorder-0.4.4-2.fc37 so there may be some differences.
To test your issue I installed SSR on my F37 beta VM and got this when starting it from the command line.
First image is when I was using wayland.

The next was when using xorg.

I had no errors so wonder what the issue was for you. I certainly did not need anything other than what was installed by installing simplescreenrecorder from the rpmfusion repo.

$ uname -a
Linux fedora 6.0.7-301.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 4 18:35:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ dnf list installed simplescreenrecorder
Installed Packages
simplescreenrecorder.x86_64             0.4.4-2.fc37             @rpmfusion-free

With SSR I always use RAW for the audio codec when recording and then if I want something different I use ffmpeg to change the audio stream codec. This way I have consistent lossless audio recorded.

2 Likes

Hello.
Thank you, Jeff V for you response.

It looks like the problem is with the Fedora 37 package, so I downloaded the package from RPM Fusion under Fedora 36 - it works fine.

simplescreenrecorder-0.4.4-1.fc36.x86_64
Linux vagrant 6.0.7-301.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 4 18:35:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

My response said that the simplescreenrecorder-0.4.4-2.fc37.x86_64 package was installed and worked fine for me with my vanilla and fully updated F37 system in a VM. I still don’t understand why the same package does not work for you.

I installed F37 in the VM, beta version, upgraded it to the latest, then enabled the rpmfusion repos and installed simplescreenrecorder. Everything worked when using xorg and not wayland.

If it fails for you then it seems something was installed differently or not installed that interferes. Installing SSR from rpmfusion also pulled in several dependencies.

My Fedora on a laptop is being upgraded from version 34.
I cleared the cache (including .ssr files) and removed all old packages for previous versions, it worked with latest simplescreenrecorder-0.4.4-2.fc37.x86_64. :love_you_gesture:
Also sudo dnf upgrade --refresh

1 Like