#11148: DirectShow (dshow) support lacking beyond device defaults
-------------------------------------+-------------------------------------
             Reporter:  blurbdust    |                    Owner:  Diederick
                                     |  Niehorster
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avdevice
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by blurbdust):

 > Raised to what? 32 bit or 24 bit?
 32 bit as this is the maximum that I can find that is supported by
 DirectShow for audio devices.

 > Also, why would you need support for non-defaults? Would not it possibly
 break the device? Is it possible that sample_size only allowed value is 16
 since that is used to overwrite default of 24, while overwriting with 24
 bit on unsupported devices can lead to defects?
 My particular device is configurable to 16 bit, 24 bit, or 32 bit audio
 capture. The default for DirectShow for my device is 16 bit 48kHz for
 audio capture. The vendor created basically a DirectShow shim to their own
 software for use with third-party software. I would strongly prefer to use
 ffmpeg to not be locked into the vendor's software thus would like the
 ability to configure the capture beyond the offered defaults. If I use an
 older version of ffmpeg from before 2021-11-03, not only does the device
 report support for > 16 bit within ffmpeg, if I add the small hack of `+
 { "sample_size", "set audio sample size", OFFSET(sample_size),
 AV_OPT_TYPE_INT, {.i64 = 0}, 0, 32, DEC },` then configuration and capture
 from the device works from ffmpeg.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11148#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to