[FFmpeg-trac] #8994(ffmpeg:new): pulseaudio recording: alsa capture volume levels are automatically reset

FFmpeg trac at avcodec.org
Tue Nov 24 17:29:57 EET 2020


#8994: pulseaudio recording: alsa capture volume levels are automatically reset
-------------------------------------+----------------------------------
             Reporter:  cri          |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------

Comment (by cri):

 Ah you're right, I finally found a clarification buried in the pulseaudio
 documentation:
 https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/PulseAudioStoleMyVolumes/

 Basically, pulseaudio will automatically adjust the low-level alsa mixer
 controls (mic level and
 boost) to match the capture level currently set in pulseaudio for the
 recording source.

 In fact the example in my first post shows a wrong approach: i.e. set
 mixer controls using
 ALSA tools and then record using ffmpeg -f pulse format.

 The right way is to choose either ALSA or pulse, and use the proper tools
 for initial setup
 and the proper ffmpeg -f option.

 * ALSA: use `amixer` or `alsamixer` for setup, then use `ffmpeg -f
 alsa...`

 * PA: use `pactl` or `pavucontrol` for setup, then use `ffmpeg -f
 pulse...`

 I guess you can close this ticket.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8994#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list