[FFmpeg-trac] #11148(avdevice:open): DirectShow (dshow) support lacking beyond device defaults
FFmpeg
trac at avcodec.org
Tue Aug 27 16:48:24 EEST 2024
#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):
I apologize, I grabbed the wrong link from my notes.
https://learn.microsoft.com/en-us/windows/win32/api/mmreg/ns-mmreg-
waveformatex
shouldn't be too device specific since the code jumps to `next` if the
capture type isn't `refptr_FORMAT_WaveFormatEx`. This at least shows > 16
is supported by DirectShow and the limit within ffmpeg should be raised.
{{{
wBitsPerSample
Specifies the number of bits per sample for the format type specified by
wFormatTag. If wFormatTag = WAVE_FORMAT_PCM, then wBitsPerSample should be
set to either 8 or 16. If wFormatTag = WAVE_FORMAT_IEEE_FLOAT,
wBitsPerSample should be set to 32. For non-PCM formats, set the value of
this member according to the manufacturer's specification for the format
tag. Some compression schemes cannot define a value for wBitsPerSample. In
this case, set wBitsPerSample to zero.
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11148#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list