On Mon 02 Mar 2020 at 09:01:56 (-0000), Curt wrote: > On 2020-03-02, Emanuel Berg <moasenw...@zoho.eu> wrote: > > Can I use mplayer with -loop 0 _but_ with the > > volume not resetting when the file ends and > > begins again? > > It would seem a flabbergasting thing that a soft with a thousand flags > wouldn't > have one or two to set the volume. What have you tried so far? > > mplayer RainyMood.mp3 -loop 0 -volume 55 & > > ? > > I can't test this loopy hypothesis as I don't have mplayer installed on > this machine. > > >From the man: > > -volume <-1-100> (also see -af volume) > > Set the startup volume in the mixer, either hardware or software (if > used with -softvol). A value of -1 (the default) will not change the > volume.
On my system, that doesn't work either. I used as an example: $ mplayer -volume 50 -fs -loop 0 -softvol Youtube/Come\ Live\ With\ Me-_bVNd_sRlMk.mkv which sets the volume at 50%, and changed it with / and * whilst playing. The volume resets to 50% with each loop. $ mplayer -volume -1 -fs -loop 0 -softvol Youtube/Come\ Live\ With\ Me-_bVNd_sRlMk.mkv The volume starts at 100% with each loop, regardless of how it was changed during playing. $ mplayer -volume '-1' -fs -loop 0 -softvol Youtube/Come\ Live\ With\ Me-_bVNd_sRlMk.mkv Ditto. Actually, the -softvol is redundant here, as mplayer doesn't have any effect on my ALSA mixer settings. (Which would it choose?) > Maybe there ain't no way and you'll be obliged to switch to vlc or > something. I'm not sure I'd install vlc just for looping when mpv can handle it satisfactorily already. What else would it buy me? (for 40 extra packages including Recommends). Cheers, David.