MPEG-4 and alpha transparency - the ongoing saga

痴心易碎 提交于 2019-12-01 03:16:21

问题


I'd like to reach some sort of definitive answer for the following questions:

  1. Is alpha transparency supported in MPEG-4-based codecs?
  2. Is there any way to be reasonably certain that there is no alpha-channel from the output of ffprobe?

Some links I've found on the subject:

  • https://stackoverflow.com/a/5057631/476716

Also, transparent alpha layers, an optional part of the H.264 specification, are now supported in H.264-based QuickTime movies.

  • http://software.intel.com/en-us/articles/alpha-channel-support-in-the-h264-decoder-in-ipp/

The support for alpha channel in the H.264 decoder is now available in Intel® Integrated Performance Primitives 6.0 version.

  • http://forums.creativecow.net/readpost/335/30475

The MPEG4 Simple Studio Profile supports auxiliary channels, which could be used for alpha or depth -- and presumably even displacement, motion vectors, normals, etc.

However, I've never seen a concrete example, or indeed any details on how you use these announced features.


回答1:


The short answer is that h.264 does not support an alpha channel since no decoder/encoder support the functionality. See this creativecow forum post for more info. While an alpha channel does not work in the h.264 video itself, it is possible to use 2 different h.264 videos to get the same effect. See my post to the creativecow forum for more info.



来源:https://stackoverflow.com/questions/10815805/mpeg-4-and-alpha-transparency-the-ongoing-saga

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!