[Libav-user] Pixel Format Question

Neil Menne the1evilgenius at gmail.com
Mon Apr 29 19:17:45 CEST 2013


To close this out, it was indeed AV_PIX_FMT_BGR24. The combination of
'bgr8' and CV_8UC3 gives us that. I also was able to verify this writing
some OpenCV code to get the frame information.

-Neil


On Fri, Apr 26, 2013 at 9:54 AM, Neil Menne <the1evilgenius at gmail.com>wrote:

> They describe it as "any primitive type from the list can be defined by an
> identifier in the form CV_<bit-depth>{U|S|F}C(<number_of_channels>). For
> example, uchar ~ CV8UC1, 3-element floating-point tuple ~ CV_32FC3, ..."
>
> That's the best description I can find.
>
>
> On Thu, Apr 25, 2013 at 10:57 PM, Carl Eugen Hoyos <cehoyos at ag.or.at>wrote:
>
>> Bjoern Drabeck <bjoern.drabeck at ...> writes:
>>
>> > Afaik 8 bit, 3 channels, unsigned char..
>> > so that would sound like AV_PIX_FMT_BGR24 to me.. right?
>>
>> Or AV_PIX_FMT_RGB24.
>>
>> Please fix your quoting / don't use html, Carl Eugen
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130429/79ee30c4/attachment.html>


More information about the Libav-user mailing list