Get help with MATE specific problems
-
SEMERENDO.cr
- Black ninja

- Posts: 88
- Joined: 08 Nov 2023, 20:36
- Distribution: alt, Porteus 5 mixed + x0.9
Post#1
by SEMERENDO.cr » 08 May 2025, 23:58
I'd like to know if
there are any additional parameters to record sound as well?
Code: Select all
ffmpeg -f x11grab -r 24 -s 1920x1080 -i :0.0 recorder.mp4
SEMERENDO.cr
-
donald
- Full of knowledge

- Posts: 2106
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Post#2
by donald » 09 May 2025, 19:51
Hi
Here is a ffmpeg line I use in porteus
5.01
Code: Select all
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 25 -s 1360x768 -i :0.0 -vcodec libx264 -preset ultrafast output.mkv
...be aware that porteus 5.1 switched to pipewire.
donald
-
SEMERENDO.cr
- Black ninja

- Posts: 88
- Joined: 08 Nov 2023, 20:36
- Distribution: alt, Porteus 5 mixed + x0.9
Post#3
by SEMERENDO.cr » 11 May 2025, 09:34
In the future, will I only change "pulse" to "pipewire"?
SEMERENDO.cr
-
ncmprhnsbl
- DEV Team

- Posts: 4289
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#4
by ncmprhnsbl » 12 May 2025, 01:58
SEMERENDO.cr wrote: ↑11 May 2025, 09:34
In the future, will I only change "pulse" to "pipewire"?
maybe, in some future yet to be realised timeline

... i don't see any direct support for pipewire anywhere in ffmpeg at the moment.
but at this point (afaics and without testing), donald's ffmpeg command might work with pipewire as is, because it's supposed to have backward compatibility with pulse (through libpulse, which is present)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
SEMERENDO.cr
- Black ninja

- Posts: 88
- Joined: 08 Nov 2023, 20:36
- Distribution: alt, Porteus 5 mixed + x0.9
Post#5
by SEMERENDO.cr » 20 May 2025, 04:16
The truth is that any parameter for the audio reported an error to me.
ncmprhnsbl wrote: ↑12 May 2025, 01:58
i don't see any direct support for pipewire anywhere in ffmpeg at the moment.
SEMERENDO.cr