marksfink / cfenc

Command-line Cineform encoder/transcoder for Linux and Mac.
GNU Lesser General Public License v3.0
8 stars 2 forks source link

Alpha channel #1

Open arest opened 4 years ago

arest commented 4 years ago

Hi, I'm struggling to deal with alpha channel. Could you provide directions by any chance?

marksfink commented 4 years ago

The program does not support alpha channels right now. I mention this in the readme, btw. Now that I know there is interest in that, I will consider adding it; however, it may take a month or so before I get to it. If you are a programmer and willing, you could look at adding it also.

marksfink commented 4 years ago

@arest I sat down today to see how much work it would be to add support for alpha channels and found that it was quite easy. So I created the alpha branch which supports alpha channels. I have not merged into the master branch yet until you can test it. I did some basic testing and I believe it is working, but would like others to test also.

There is no command line option for it. If the input video has an alpha channel then cfenc automatically encodes to RGBA. I looked into YUVA and was surprised to find that the Cineform SDK does not support it.

arest commented 4 years ago

Many thanks @marksfink. Looking forward to test it!