最近,Adobe 在 Flash Player 10.1 的 release notes 中这样写到: In Flash Player 10.1, H.264 hardware acceleration is not supported under Linux and Mac OS. Linux currently lacks a developed standard API that supports H.264 hardware video decoding, and Mac OS X does not expose access to the required APIs. We will continue to evaluate adding [...]
昨天碰巧翻到一个叫 CoreAVC for Linux 的项目,其实应该之前很早就听说过,因为这个项目在去年五月份的时候曾经被 Google Code 停止提供服务,因为“DMCA complaint”,但现在又恢复了,不过可能 patch 更新得不够及时,不一定能够用在 svn HEAD 的 mplayer 上。 CoreAVC for Linux 到底是个怎么样的项目呢?众所周知的是,CoreAVC 是目前公认软解 H.264 效率最高的解码器,在 Windows 平台有提供,价格是 $15 (不过大部分 Windows 用户都用破解版本的)。开发这个解码器的公司还把它移植到了 Palm, Symbian, Windows CE 等平台上,是移动平台中最有名的一个通用播放器,叫 CorePlayer。 从去年二月开始,CorePlayer 被移植到了 Windows 和 Mac OS X 平台上,但官方没有提供给 Mac OS X 平台的 CoreAVC (假如有的话,应该是 Perian, Flip4Mac 那样作为 QuickTime 插件的形式,但不知道这个公司出于什么考虑,并没有像 Windows [...]
MEncoder 是常用的离线编码器,属于 mplayer 项目的一部分,这里介绍了怎样用 MEncoder 编码常见的视频流。 首先,要安装 x264 编码库,mplayer 需要这个库才能加上 H. 264 编码支持: $ git clone git://git.videolan.org/x264.git $ cd x264 $ ./configure $ make && sudo make install 注意 x264 库需要 yasm 汇编器,MacPorts 下可以用 sudo port install yasm 安装。 然后编译 mplayer (包括 mencoder)。 $ svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer $ cd mplayer $ ./configure # 注意输出中是否有 [...]
© jjgod / blog. Powered by WordPress using the DePo Skinny Theme.