[FFmpeg-user] rgb8

Paul B Mahol onemda at gmail.com
Tue May 30 15:13:38 EEST 2023


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.


Does it have one byte per pixel?
> How does it differ from "gray" pixel format?
> Is rgb8 a color or monochrome format?
> Is rgb8 in FFmpeg the same as described here?
>
> https://www.theimagingsource.com/en-us/documentation/icimagingcontrolactivex/PixelformatRGB8.htm
>
>
> Michael
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list