]> git.sesse.net Git - mlt/commit
Add alpha channel support to avformat consumer.
authorDan Dennedy <dan@dennedy.org>
Sat, 13 Apr 2013 19:11:17 +0000 (12:11 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 13 Apr 2013 19:11:17 +0000 (12:11 -0700)
commitf5bacc9cd22fdf91102cc11cecb4a99bd8426036
tree6244d3367db2ae33cb092f1141d32eb5572187fe
parent3d1f96959dd9d2662191ef8faa821f5e129dc8fb
Add alpha channel support to avformat consumer.

This requires that you set the pix_fmt property correctly for the codec:
  vcodec=png pix_fmt=rgba
  vcodec=targa pix_fmt=bgra
  vcodec=qtrle pix_fmt=argb

Sometimes you also need to use mlt_image_format=rgb24a to prevent losing
the alpha channel during image processing.
src/modules/avformat/consumer_avformat.c