You are not logged in.
More ffmpeg minimal minimalist minimalism...
Don't use a bloated screen recorder like Simple Screen Recorder, OBS, etc...
Just use ffmpeg to record your screen and alsa to record the audio at the same time...
This is the command that I use; adjust it to your needs , because I have alsa set to use my USB microphone default:CARD=U0x46d0x825, my screen size -video_size 1366x768, frame rate -r 15 etc...
ffmpeg -y -f alsa -i default:CARD=U0x46d0x825 -f x11grab -r 15 -video_size 1366x768 -i :0.0+0,0 -c:v libx264rgb -preset ultrafast ~/Videos/output.mkv
If you're not sure how to find your USB microphone (if you use one), use this command to find it, then exchange your "card" in the command...
arecord -L
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline
If you are only interested in keeping your screen from turning off, don't use a bloated power manager or screen saver...just add this to your autostart...
xset s off && xset -dpms
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline
^ Multiple options can be combined in a single command:
xset s off -dpms
Brianna Ghey — Rest In Power
Offline
^ Multiple options can be combined in a single command:
xset s off -dpms
HEY! Don't be minimalizing my minimalism!
Bwahahahaha!
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline
Don't use a bloated volume icon on your panel ; just use the volume keys on your keyboard.
Here's what I have in my Openbox rc.xml file; adjust it to the needs of your WM/DE. By the way, this is for alsa-only...
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer set Master 5%+</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer set Master 5%-</command>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer set Master toggle</command>
</action>
</keybind>
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline
this is for alsa-only
Actually those commands will also work for PulseAudio (or PipeWire). But that's not very minimal
Brianna Ghey — Rest In Power
Offline
MiyoLinux wrote:this is for alsa-only
Actually those commands will also work for PulseAudio (or PipeWire). But that's not very minimal
Thanks. I didn't know that since I don't use them. Could've sworn I saw different execute command for pulse at some point.
Thanks HoaS.
Last edited by MiyoLinux (2021-04-08 17:58:26)
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline
Actually, moc seems to be the lightest way to play audio that I know of.
ffplay is way more cpu usage intensive in my findings... heh.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
Don't use a bloated volume icon on your panel ; just use the volume keys on your keyboard.
Here's what I have in my Openbox rc.xml file; adjust it to the needs of your WM/DE. By the way, this is for alsa-only...
<keybind key="XF86AudioRaiseVolume"> <action name="Execute"> <command>amixer set Master 5%+</command> </action> </keybind> <keybind key="XF86AudioLowerVolume"> <action name="Execute"> <command>amixer set Master 5%-</command> </action> </keybind> <keybind key="XF86AudioMute"> <action name="Execute"> <command>amixer set Master toggle</command> </action> </keybind>
I use the same/similar for dwm. But i dont need the percentage sign, not sure if that is due to my wm or yours?
static Key keys[] = {
/* modifier key function argument */
{ 0, XF86XK_AudioMute, spawn, SHCMD("amixer set Master toggle")},
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("amixer set Master 5+")},
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("amixer set Master 5-")},
Offline
I wonder if apt is bloat. I'm sure it is to a certain extent. Would the system allow you to uninstall apt and aptitude and dpkg? Then just build stuff from source. Would you still have Devuan at that point?
I'm going to try 'sudo apt purge apt aptitude dpkg' in a Devuan vm and see what happens... And really sudo is bloat too when you think about it, so I'll try 'sudo apt purge apt aptitude dpkg sudo' just for kicks.
Update: Nope, does not work.
Last edited by andyprough (2021-04-09 02:52:51)
Offline
Actually, moc seems to be the lightest way to play audio that I know of.
ffplay is way more cpu usage intensive in my findings... heh.
Yes, big difference. Just played the same song with each - top showed moc using 1.4% cpu, and ffplay using 8%-14%. ffplay is bloat.
Offline
Quick ps_mem comparison:
1.0 MiB + 2.1 MiB = 3.1 MiB aplay
7.5 MiB + 24.2 MiB = 31.7 MiB mocp (2)
38.6 MiB + 67.5 MiB = 106.0 MiB ffplay
aplay ftw!
Brianna Ghey — Rest In Power
Offline
1.8 MiB + 796.5 KiB = 2.6 MiB mpg123.bin
Offline
1.8 MiB + 796.5 KiB = 2.6 MiB mpg123.bin
we have a new winner!
But.
ps_mem.py -p 31564
Private + Shared = RAM used Program
1.1 MiB + 633.5 KiB = 1.7 MiB mpg123.bin
---------------------------------
1.7 MiB
=================================
Offline
Perhaps we need a "Tips for Low Resource Usage" thread? LOLOL!
I guess minimalism means different things though. My idea behind it was tips for using less (or unneeded) applications.
The new thread request was a joke. Lots of great info here! Thanks everyone....keep it coming.
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline
On my hardware:
1.7 MiB + 2.8 MiB = 4.5 MiB mpg123
This is a 16GiB machine so Linux grabs all the memory it can for applications. I presume anticapitalista & dice have less memory available.
EDIT: death to MP3! Lossless compression ftw!
Last edited by Head_on_a_Stick (2021-04-09 16:06:07)
Brianna Ghey — Rest In Power
Offline
On my hardware:
1.7 MiB + 2.8 MiB = 4.5 MiB mpg123
This is a 16GiB machine so Linux grabs all the memory it can for applications. I presume anticapitalista & dice have less memory available.
EDIT: death to MP3! Lossless compression ftw!
half yours on the machine im on at present. Valid point though.
Hey mp3 is ok, half my library is mp3, only the good stuff is flac
Offline
anticapitalista wrote:1.8 MiB + 796.5 KiB = 2.6 MiB mpg123.bin
we have a new winner!
But.
ps_mem.py -p 31564 Private + Shared = RAM used Program 1.1 MiB + 633.5 KiB = 1.7 MiB mpg123.bin --------------------------------- 1.7 MiB =================================
Nice!
Different machines will give different results. I boot Miyo-Rolling x86_64 on my laptop, and it boots at 180 MBs of RAM. Same exact setup boots on my old HP dx5150. desktop at 130 MBs of RAM.
We need a new "How to get the same results on every computer" thread.
LOLOLOLOLOLOLOLOLOL
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline
EDIT: death to MP3! Lossless compression ftw!
How about ogg?
2.8 MiB + 2.0 MiB = 4.8 MiB ogg123
ogg123 /home/anticap/Music/Leftfield/Leftfield-Leftism/01.Release\ the\ Pressure.ogg
Last edited by anticapitalista (2021-04-09 16:37:35)
Offline
For flac - via sox
3.7 MiB + 1.2 MiB = 4.9 MiB play
play 10-That\'s\ When\ I\ Reach\ For\ My\ Revolver.flac
Offline
How about ogg?
That's just a container — it can hold either lossy (bad) or lossless (good) CODECs. OggPCM is one of the better options and carries the official HoaS stamp of approval™
EDIT: Leftfield, nice!
Last edited by Head_on_a_Stick (2021-04-09 17:56:49)
Brianna Ghey — Rest In Power
Offline
https://www.youtube.com/watch?v=PSEsWLRpPp4 LOLOLOL!!!
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline
https://www.youtube.com/watch?v=PSEsWLRpPp4 LOLOLOL!!!
People may not realize that despite his lack of curly locks, Miyo still has one of the prettiest wives in all of Linux land: https://yewtu.be/watch?v=OYgZib8z6uY
Offline