Find appropriate pixel layout for video file writer
Remove alpha channel from video writer
Remove alpha channel from video writer
Use common pix format code for video writer
Add resize code but it does not work yet
Fixed resize code