Hi I think there may be one format missing in AVPixelFormat.
AV_PIX_FMT_YUYV210 [cid:part1.002B7405.3138ACFB@matrox.com] The start of each line in the V210 video buffer format must be aligned to a multiple of 48 pixels (128 bytes). This means that if a line is not a multiple of 48, each line of video data must be padded out to the nearest 48 pixel boundary. For example, a 1280 × 720 video buffer is 1280 pixels wide, which is not a multiple of 48. Each line of the video buffer must be padded to 1296 pixels (3456 bytes) in order to make each line a multiple of 48. It's popular when video is in 10bit. Yufei.
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".