soywiz-archive / haxe-openfl-webm

NME haxe extensions for decoding webm videos (mkv+vp8+vorbis).
http://lib.haxe.org/p/nme-webm
38 stars 11 forks source link

webm video with alpha support #3

Open saveriocastellano opened 10 years ago

saveriocastellano commented 10 years ago

hello, does the video player support alpha? I have tried playing the webm video with alpha from google but the transparent areas are displayed as black..

soywiz commented 10 years ago

I will check. Do you know when they added alpha support? Maybe the version of the library I'm using doesn't support it. I think I updated the version of the library a year ago or so.

saveriocastellano commented 10 years ago

hello, thanks for the reply. This is what i'm trying to workout, it looks like google has recently introduced support for alpha in the Webm project, look at this page:

https://chromiumcodereview.appspot.com/15342004

However this support is in media/webm project, as far as I understand you are not using this in haxe-openfl-webm, you are just using libvpx. Is that correct?

soywiz commented 10 years ago

I think that code is the chromium's source code: https://github.com/scheib/chromium/blob/master/media/base/decoder_buffer.cc

I'm using libwebm: https://github.com/soywiz/haxe-openfl-webm/tree/master/project/libwebm

Didn't they add support for alpha in libwebm?

saveriocastellano commented 10 years ago

yes it looks like google added alpha support to libwebm recently, have a look the the second item in this list:

http://code.metager.de/source/history/google/WebM/libwebm/mkvmuxerutil.cpp

so maybe I should try to fetch the latest version of libwebm and rebuild your haxe-openfl-webm with it right?

soywiz commented 10 years ago

Yeah. Try to do that. If now I will try too in a few days when I have some time. Thanks!

saveriocastellano commented 10 years ago

i will try that and let you know how it goes, thanks.

thornebrandt commented 10 years ago

Any update on alpha channel for webm ?