Gentoo Archives: gentoo-user

From: Daniel Sonck <daniel@×××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Screenrecording with audio from firefox
Date: Wed, 03 Jun 2020 18:59:15
Message-Id: 2340210.c0AfBUgzCh@komeji
In Reply to: Re: [gentoo-user] Screenrecording with audio from firefox by tuxic@posteo.de
1 Yes, I realize it might not have been clear, as I got a bit confused by my own
2 thought process as well.
3
4 I will also answer in pieces related to your questions
5
6 On Wednesday, June 3, 2020 5:31:43 PM CEST tuxic@××××××.de wrote:
7 > Hi Daniel,
8 >
9 > sorry for not understanding the whole setup ...
10 >
11 > Please see my inserted questions below:
12 >
13 > On 06/03 04:44, Daniel Sonck wrote:
14 > > It might be that your Qt5 is perhaps partially updated or out of date
15 > > even,
16 > > but not sure. I do know that it can be a pain to compile due to Qt5
17 > > changing. If it's too much of a hassle to get it to work, Catia could be
18 > > replaced by QJackCtl, however then you will need to have the tweaks
19 > > Cadence does for you manually applied. Which, according to my system, is:
20 > >
21 > > pcm.!default {
22 > >
23 > > type plug
24 > > slave { pcm "jack" }
25 > >
26 > > }
27 > >
28 > > pcm.jack {
29 > >
30 > > type jack
31 > > playback_ports {
32 > >
33 > > 0 system:playback_1
34 > > 1 system:playback_2
35 > >
36 > > }
37 > > capture_ports {
38 > >
39 > > 0 system:capture_1
40 > > 1 system:capture_2
41 > >
42 > > }
43 > >
44 > > }
45 > >
46 > > ctl.mixer0 {
47 > >
48 > > type hw
49 > > card 0
50 > >
51 > > ( In case you want to entirely not bother with pulseaudio )
52 >
53 > The above setup is for alsa/jack/obs...right.
54 > Since jackd does not start (it crashes) and I am currently not in
55 > the mood to fix an error which helps to fix a problem which should
56 > fix a problem for an application which in first place was there to
57 > help me to fix an issue to record from Firefox...I will try
58 > pulseaudio -- despite the fact, that I really don't like it.
59
60 The crash might be due to it not getting exclusive access to alsa or the sound
61 card not properly selected. Yes that configuration is for alsa -> jack -> obs/
62 simplescreenrecorder
63
64 >
65 > > Or, like me where I have it set to pulseaudio mode which creates:
66 > Ok...the following is for alsa/pulseaudio/obs
67 >
68 > > pcm.!default {
69 > >
70 > > type plug
71 > > slave { pcm "pulse" }
72 > >
73 > > }
74 > >
75 > > pcm.pulse {
76 > >
77 > > type pulse
78 > >
79 > > }
80 > >
81 > > ctl.mixer0 {
82 > >
83 > > type hw
84 > > card 0
85 > >
86 > > }
87 > >
88 > > This would go into a file .asoundrc in your $HOME and force ALSA native
89 > > programs to actually hook up as Jack clients,
90 >
91 > ...sorry...why jack? Do I need jack for pulseaudio?
92
93 Here I actually meant "using the first config file will force alsa native
94 programs to connect to jack. Incidentally, the second solution will (usually)
95 also work for alsa as it would do "alsa -> pulseaudio -> jack -> obs/
96 simplescreenrecorder", which is my default as I'm more accustomed to
97 pulseaudio and jack (some programs like Discord really want pulseaudio)
98
99 >
100 > > so you can manage your audio.
101 > > Note that you would still need to go into QJackCtls settings to setup the
102 > > correct main audio device
103 >
104 > Pulseaudio->pavucontrol....right?
105
106 this was still related to the first asoundrc file.
107
108 >
109 > I am......irritated......at least....;)
110 >
111 > HEEEELLLLLLPPPP! :)
112
113 Well, I will make sure it eventually works one way or another :) as I know how
114 frustrating sound can be sometimes. As I said, I create music, as such I want
115 Jack, but I also want to watch youtube without having to tear down my music
116 setup. And I stream from time to time, so I use Jack/Alsa/Pulseaudio all at
117 the same time and have picked up some things along the way.
118
119 >
120 > Cheers!
121 > Meino
122 >
123
124 Regards,
125
126 Daniel
127
128 > > On Wednesday, June 3, 2020 4:30:11 PM CEST tuxic@××××××.de wrote:
129 > > > ‘QPainterPath ballPath’ has incomplete type and cannot be defined