Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Screenrecording with audio from firefox
Date: Wed, 03 Jun 2020 14:30:21
Message-Id: 20200603143011.ks24peetnxrzewcf@solfire
In Reply to: Re: [gentoo-user] Screenrecording with audio from firefox by Daniel Sonck
1 Hi Daniel,
2
3 thanks a lot....cadence failed to compile...
4
5 In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44,
6 from /usr/include/qt5/QtCore/qlist.h:47,
7 from /usr/include/qt5/QtCore/qstringlist.h:41,
8 from /usr/include/qt5/QtGui/qcolor.h:46,
9 from /usr/include/qt5/QtGui/qpixmap.h:45,
10 from /usr/include/qt5/QtGui/QPixmap:1,
11 from ../widgets/pixmapdial.hpp:21,
12 from ../widgets/pixmapdial.cpp:18:
13 /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here
14 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
15 | ^~~~~~~
16 ../widgets/pixmapdial.cpp: In member function ‘virtual void PixmapDial::paintEvent(QPaintEvent*)’:
17 ../widgets/pixmapdial.cpp:231:26: error: aggregate ‘QPainterPath ballPath’ has incomplete type and cannot be defined
18 231 | QPainterPath ballPath;
19 | ^~~~~~~~
20 ../widgets/pixmapdial.cpp:278:26: error: aggregate ‘QPainterPath ballPath’ has incomplete type and cannot be defined
21 278 | QPainterPath ballPath;
22 | ^~~~~~~~
23 make[1]: *** [Makefile:63: ../widgets/pixmapdial.o] Error 1
24 make[1]: *** Waiting for unfinished jobs....
25 c++ jackmeter.o qrc_resources-jackmeter.o ../widgets/digitalpeakmeter.o -Wl,-O1 -Wl,--as-needed -lQt5Widgets -lQt5Gui -lQt5Core -ldl -o cadence-jackmeter
26 make[1]: Leaving directory '/var/tmp/portage/media-sound/cadence-0.9.0-r4/work/Cadence-0.9.0/c++/jackmeter'
27 make[1]: Leaving directory '/var/tmp/portage/media-sound/cadence-0.9.0-r4/work/Cadence-0.9.0/c++/xycontroller'
28 make: *** [Makefile:34: xycontroller] Error 2
29 * ERROR: media-sound/cadence-0.9.0-r4::gentoo failed (compile phase):
30 * emake failed
31
32
33 Cheers!
34 Meino
35
36
37
38
39
40
41 On 06/03 04:20, Daniel Sonck wrote:
42 > I'm not entirely sure if it's part of portage yet (long time since I touched
43 > gentoo) but it's a modern jack routing program in similar style to the cadence
44 > program. If cadence exists, it's likely bundled with catia otherwise it can be
45 > found in the audio overlay, this issue specifically mentions it: https://
46 > github.com/gentoo-audio/audio-overlay/issues/47
47 >
48 > On Wednesday, June 3, 2020 4:17:15 PM CEST tuxic@××××××.de wrote:
49 > > Hi Daniel,
50 > >
51 > > short question...what is catia (beside a CAD program by Dassault
52 > > Systems... ;)...
53 > > Can't find that in portage...
54 > >
55 > > Cheers!
56 > > Meino
57 > >
58 > > On 06/03 03:47, Daniel Sonck wrote:
59 > > > I just installed simplescreenrecorder as well. The same pulseaudio method
60 > > > should also work for that by choosing the "Monitor" variants, although I
61 > > > have to add that it would not allow you to capture both a mic and firefox
62 > > > (or other application at the same time) unless you play back your own
63 > > > microphone sound. With OBS you can add an Input and Output source to have
64 > > > both mic and desktop audio.
65 > > >
66 > > > If you want to have more control or are reluctant to use pulseaudio (as
67 > > > some are) then it gets more complicated. With ALSA, I know there are ways
68 > > > to support it by editing the ALSA configuration file but I don't know
69 > > > anything about that (nor do I really like that approach).
70 > > >
71 > > > I would then recommend using JACK instead, and setup ALSA programs to use
72 > > > a
73 > > > wrapper for JACK, this would allow you to route any audio through anything
74 > > > (for which people in Music as I am use Jack) including mixing it together
75 > > > before sending to SimpleScreenRecorder or OBS. The 2 tools I recommend to
76 > > > add would be cadence (for configuring Jack + ALSA) and catia (to setup
77 > > > the proper audio routing) possibly combined with some jack audio mixer to
78 > > > get a "virtual mixing panel".
79 > > >
80 > > > Hope this helps
81 > > >
82 > > > Regards,
83 > > >
84 > > > Daniel
85 > > >
86 > > > On Wednesday, June 3, 2020 3:30:53 PM CEST tuxic@××××××.de wrote:
87 > > > > Hi,
88 > > > >
89 > > > > To record my screen with audio I installed
90 > > > > obs and then simplescreenrecoder.
91 > > > >
92 > > > > Recording the video stream more or less works (I cannot record a
93 > > > > firefox-window and need to record the full screen).
94 > > > >
95 > > > > But recording the audio from the source which will be replayed
96 > > > > by firefox only give me a stuttering sinus tone.
97 > > > >
98 > > > > According to different tutorials I watched the recording of
99 > > > > a gameplay works with video/audio which exactly mine setup.
100 > > > >
101 > > > > Interestingly I cannot find the regarding options of both
102 > > > > screen recorders any more (the tutorials refer to older versions
103 > > > > of the recorders).
104 > > > >
105 > > > > How can I record video and audio from the played source nonetheless?
106 > > > >
107 > > > > Cheers!
108 > > > > Meino
109 >
110 >
111 >
112 >
113 >

Replies

Subject Author
Re: [gentoo-user] Screenrecording with audio from firefox Daniel Sonck <daniel@×××××.nl>
Re: [gentoo-user] Screenrecording with audio from firefox David Haller <gentoo@×××××××.de>