radek-k / FFMediaToolkit

FFMediaToolkit is a cross-platform video decoder/encoder library for .NET that uses FFmpeg native libraries. It supports video frames extraction, reading stream metadata and creating videos from bitmaps in any format supported by FFmpeg.
MIT License
353 stars 56 forks source link

Add UYVY422 pixel format support. #26

Closed dakahler closed 4 years ago

dakahler commented 4 years ago

I have a capture card that feeds me raw pixel data in YUV422 (or more specifically, UYVY422) format. With this change, I can pass it straight through without an intermediate conversion to RGB.

radek-k commented 4 years ago

Thanks. It will be released with version 3.0 I will also combine ImagePixelFormat and VideoPixelFormat into one enum.