[FFmpeg-user] rgb8

Michael Koch astroelectronic at t-online.de
Sat Jun 10 07:44:05 EEST 2023


Am 30.05.2023 um 14:13 schrieb Paul B Mahol:
> On Tue, May 30, 2023 at 1:58 PM Michael Koch <astroelectronic at t-online.de>
> wrote:
>
>> Am 30.05.2023 um 13:52 schrieb Paul B Mahol:
>>> On Tue, May 30, 2023 at 1:36 PM Michael Koch <
>> astroelectronic at t-online.de>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> Is rgb8 a Bayer format?
>>>> One byte per pixel is correct?
>>>>
>>> Nope.
>>>
>>> bayer are named bayer_* if that was not obvious from output.
>> Can you please explain what rgb8 is?
>>
> rgb8 is as obvious from ffmpeg output:
>
> IO... rgb8                   3              8      2-3-3
>
> It means RED get 2 bits, GREEN get 3 bits and BLUE get 3 bits.
> It is using 1 byte, same like gray format.

Might it be possible that RGB8 in DirectShow is not the same as rgb8 in 
FFmpeg?
Here RGB8 is described as "RGB, 8 bpp, palettized":
https://learn.microsoft.com/en-us/windows/win32/directshow/uncompressed-rgb-video-subtypes 


Michael



More information about the ffmpeg-user mailing list