Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219723

Re: mplayer with -loop 0 but w/o volume reset?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: mplayer with -loop 0 but w/o volume reset?
Date 2020-03-02 19:20 +0100
Message-ID <zFXPA-5Bh-13@gated-at.bofh.it> (permalink)
References <zFH85-3wb-1@gated-at.bofh.it> <zFPfk-h8-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 02 Mar 2020 at 09:01:56 (-0000), Curt wrote:
> On 2020-03-02, Emanuel Berg <moasenwood@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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

mplayer with -loop 0 but w/o volume reset? Emanuel Berg <moasenwood@zoho.eu> - 2020-03-02 01:30 +0100
  Re: mplayer with -loop 0 but w/o volume reset? Emanuel Berg <moasenwood@zoho.eu> - 2020-03-02 02:20 +0100
    Re: mplayer with -loop 0 but w/o volume reset? David Wright <deblis@lionunicorn.co.uk> - 2020-03-02 03:20 +0100
  Re: mplayer with -loop 0 but w/o volume reset? Curt <curty@free.fr> - 2020-03-02 10:10 +0100
    Re: mplayer with -loop 0 but w/o volume reset? David Wright <deblis@lionunicorn.co.uk> - 2020-03-02 19:20 +0100
      Re: mplayer with -loop 0 but w/o volume reset? Nicolas George <george@nsup.org> - 2020-03-02 19:30 +0100
      Re: mplayer with -loop 0 but w/o volume reset? Curt <curty@free.fr> - 2020-03-03 12:00 +0100
        Music players that save (different) volume settings for each song (was: Re: mplayer with -loop 0 but w/o volume reset? rhkramer@gmail.com - 2020-03-03 13:30 +0100
          Re: Music players that save (different) volume settings for each song (was: Re: mplayer with -loop 0 but w/o volume reset? Jonas Smedegaard <jonas@jones.dk> - 2020-03-03 14:20 +0100
          Re: Music players that save (different) volume settings for each  song (was: Re: mplayer with -loop 0 but w/o volume reset? David Wright <deblis@lionunicorn.co.uk> - 2020-03-05 20:00 +0100

csiph-web