[FFmpeg-trac] #9420(avdevice:new): DirectShow (dshow) audio input limited to 44.1 kHz / 16-bit

FFmpeg trac at avcodec.org
Tue Sep 14 06:45:51 EEST 2021

#9420: DirectShow (dshow) audio input limited to 44.1 kHz / 16-bit
             Reporter:  Brad Isbell  |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avdevice
              Version:  git-master   |               Resolution:
             Keywords:  dshow        |               Blocked By:
  directshow audio                   |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
Comment (by Brad Isbell):

 Replying to [comment:1 Balling]:
 > Is not that cpl signalling WASAPI, not dshow? WASAPI input is not
 suported in ffmpeg, only output through SDL 2.

 Good question... I'm not sure either way.

 However, I know these devices can operate at higher sample rates.  For
 example, VLC can play 48 kHz via DirectShow.  If I open a capture device
 and set to 48 kHz, it results in the following options:

 :dshow-vdev=none :dshow-adev=DVS Receive  7-8 (Dante Virtual Soundcard)
 :dshow-aspect-ratio=4\:3 :dshow-chroma= :dshow-fps=0 :no-dshow-config :no-
 dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-frequency=0 :dshow-tuner-
 country=0 :dshow-tuner-standard=0 :dshow-tuner-input=0 :dshow-video-
 input=-1 :dshow-video-output=-1 :dshow-audio-input=-1 :dshow-audio-
 output=-1 :dshow-amtuner-mode=1 :dshow-audio-channels=0 :dshow-audio-
 samplerate=48000 :dshow-audio-bitspersample=0 :live-caching=300

 We can see that the setting took effect by looking at the resulting sample
 rate and bitrate.


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

More information about the FFmpeg-trac mailing list