Seth Bloombaum
December 6th, 2010, 12:35 AM
You 3D-ers might have some info I'm looking for. I'm looking to do some on-the-fly compositing in a web browser. The tried and true method is flash video using the VP6 codec, which supports a transparency channel - you get 8-bits of alpha info, a true RGBA method.
However, the client requirement is Silverlight, no flash allowed. There isn't a direct method, other than a 1-bit approach in which you can designate a transparent color and a tolerance (range) for it. Unfortunately, this method has significant aliasing artifacts, and is unacceptable picture quality.
As it turns out, MPEG-4/h.264 does have RGBA support in its spec, just like VP6. But, I can find no encoders that support it, including Expression, Main Concept, Sorenson Squeeze, Telestream Episode, and Super C (x.264).
I understand from Adam Stanislav's site that he and perhaps some others on this forum are working on multiplexing methods for 3D, using AVISynth. I really don't know much about it - is it possible that I could mux an alpha channel with it? The goal here is to end up with 8bits per pixel of Alpha, not 24... in an h.264 container.
I'm assured by my Silverlight guy that if I can encode it, he can decode it.
However, the client requirement is Silverlight, no flash allowed. There isn't a direct method, other than a 1-bit approach in which you can designate a transparent color and a tolerance (range) for it. Unfortunately, this method has significant aliasing artifacts, and is unacceptable picture quality.
As it turns out, MPEG-4/h.264 does have RGBA support in its spec, just like VP6. But, I can find no encoders that support it, including Expression, Main Concept, Sorenson Squeeze, Telestream Episode, and Super C (x.264).
I understand from Adam Stanislav's site that he and perhaps some others on this forum are working on multiplexing methods for 3D, using AVISynth. I really don't know much about it - is it possible that I could mux an alpha channel with it? The goal here is to end up with 8bits per pixel of Alpha, not 24... in an h.264 container.
I'm assured by my Silverlight guy that if I can encode it, he can decode it.