Skip to content
Discussion options

You must be logged in to vote

I'm not sure if the alpha channel in AVI files is respected by video players. However, you can give it a try.
Create a video stream using the AviWriter.AddVideoStream method - it sets the uncompressed format and 32 bits per pixel by default. And pass your 32-bit bitmaps to the WriteFrame method. Remember that in this case (when not using the UncompressedVideoEncoder for pre-processing frames) bitmap data should be in the bottom-up layout - the bottom line of a picture goes first, the top line goes last.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Marek68
Comment options

Answer selected by Marek68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants