Adjust audio volume level with CLI omxplayer - Raspberry Pi

前端 未结 5 1210
死守一世寂寞
死守一世寂寞 2021-02-07 19:33

I have a bash script that plays .mp3 files on my Raspberry Pi via omxplayer. But can not control the local (earphone) audio volume with the GUI. Is there a comm

5条回答
  •  清歌不尽
    2021-02-07 19:54

    You can set the initial volume by adding the option --vol:

    omxplayer --vol N Sogn_title.mp3

    Where N is a number indicating the millibels. Valid values for N are for example:

    5000 (increase the volume)

    -15000 (decrease the volume)

提交回复
热议问题