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

FFmpeg trac at avcodec.org
Thu Nov 19 14:53:45 EET 2020


#8994: pulseaudio recording: alsa capture volume levels are automatically reset
--------------------------------+---------------------------------------
             Reporter:  cri     |                     Type:  defect
               Status:  new     |                 Priority:  normal
            Component:  ffmpeg  |                  Version:  unspecified
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+---------------------------------------
 Summary of the bug: when recording audio with `-f pulse` ffmpeg doesn't
 respect the alsa capture volume levels previously set with alsamixer or
 amixer.


 How to reproduce:

 {{{

 amixer -c 0 set 'Capture' cap
 amixer -c 0 set 'Capture' 20dB
 amixer -c 0 set 'Internal Mic' cap
 amixer -c 0 set 'Internal Mic Boost' 20dB

 ffmpeg -f pulse -i alsa_input.pci-0000_00_1b.0.analog-stereo -ac 1 out.m4a

 }}}

 Expected result: ffmpeg should record audio using the volume levels I set
 with `amixer`.

 Actual result: ffmpeg automatically resets audio levels: 'Capture' to
 100%, 'Internal Mic Boost' to 0%

 ffmpeg version 4.1.6 (Debian 10 package)

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


More information about the FFmpeg-trac mailing list