If you are starting omxplayer
from the command line you can use the --vol
option to set the volume at start.
$man omxplayer
...
-b
--vol n set initial volume in millibels (default 0)
You can do a trial and error experiment with a few values and see which one is best suited to your likes. Then you can create an alias
for omxplayer -b --vol nnnn
It's important to note that the units are millibels not decibels. So, a value of -50
is not going to do much. Since the scale is logarithmic, 3.0dB is twice or one half power. So, the -3000
set point is one half power of the default 0
setting.
How to set an alias
#alias omxplayer="omxplayer -b --vol -1000"
It's important to remember that the alias needs to be created in the proper user's environment. So, if you run omxplayer
as root
, you will need to create the alias in a root
shell.
$sudo -s