[FFmpeg-trac] #10418(avdevice:new): DirectShow, wrong pixel format
FFmpeg
trac at avcodec.org
Mon Jun 19 22:23:59 EEST 2023
#10418: DirectShow, wrong pixel format
--------------------------------------+------------------------------------
Reporter: Michael Koch | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avdevice
Version: git-master | Resolution:
Keywords: dshow | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+------------------------------------
Comment (by Michael Koch):
Replying to [comment:8 Balling]:
> >It seems an uncompressed 8-bit gray frame must be encoded with "RGB8"
pixel format, together with a palette which contains 256 levels of gray.
>
> Where is the code that will decode palette?? How does it look?
"For palettized formats, the color of each pixel is specified as an index
into a palette. The palette must be included in the format block,
following the BITMAPINFOHEADER structure."
Source: https://learn.microsoft.com/en-us/windows/win32/directshow
/uncompressed-rgb-video-subtypes
and some more details when you click on BITMAPINFOHEADER.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10418#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list