在 Windows Apache2 中加载 mod_h264_streaming.dll
您好,我正在尝试从 Windows Apache2 提供的静态 html5 页面流式传输视频。根据 Apache 指南
http://h264 .code-shop.com/trac/wiki/Mod-H264-Streaming-Apache-Version2
这仅适用于Linux,所以我从
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Internet-Information-Services-IIS7-Version2 但是当我 LoadModule h264_streaming_module module/mod_h264_streaming. httpd.conf 中的 dll 它返回
httpd.exe: Syntax error on line 129 of C:/Program Files (x86)/Apache Software Fo
undation/Apache2.2/conf/httpd.conf: Can't locate API module structure `h264_stre
aming_module' in file C:/Program Files (x86)/Apache Software Foundation/Apache2.
2/modules/mod_h264_streaming.dll: No error
任何帮助,将不胜感激,提前致谢!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您下载的 dll 仅适用于 IIS,不适用于 apache
That dll you downloaded is only for IIS not apache
步步
1-首先下载Visual Studio 2008 x64 SP1,一定要安装Visual C++ 2008 x64 SP1 Redistributable Package
可以从以下位置下载:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=BA9257CA-337F-4B40-8C14-157CFDFFEE4E
2- 从 ; 下载 Apache 模块 mod_h264_streaming ;下载前的https://www.apachehaus.net/modules/mod_h264_streaming/。请注意您的 apache 版本。请考虑一下。
3- 提取文件,复制“mod_h264_streaming.so”
3- 如果您使用 Wamp 服务器,请转到 C:\wamp\bin\apache\Apache2.4.4\modules 并将 mod_h264_streaming 文件拖放到(添加,复制您所说的内容)小路。如果您不使用 wamp,请转到 C:/Apache24/modules/ 并添加 mod_h264_streaming。
4-然后转到httpd.conf(在C:\wamp\bin\apache\Apache2.4.4\conf路径中),用notepad++打开找到加载模块行
就像;
当你找到这些行时添加这个;
保存并退出。最后重新启动apache服务器。模块已准备好为您服务。
Step by Step
1- At first Download Visual Studio 2008 x64 SP1, be sure to install the Visual C++ 2008 x64 SP1 Redistributable Package
it can be downloaded from;
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=BA9257CA-337F-4B40-8C14-157CFDFFEE4E
2- Download Apache module mod_h264_streaming from ; https://www.apachehaus.net/modules/mod_h264_streaming/ in the below.Before download Please careful about your apache version.consider it.
3- Extrach files , copy "mod_h264_streaming.so"
3- If you are using Wamp server go the C:\wamp\bin\apache\Apache2.4.4\modules and drop(add,copy what ever you say) mod_h264_streaming file to the path. If you are not using wamp go to C:/Apache24/modules/ and add mod_h264_streaming.
4- Then Go to httpd.conf (in the C:\wamp\bin\apache\Apache2.4.4\conf path) , open with notepad++ find load modules line
just like ;
When you find the lines add this ;
save and quit. Finally restart the apache server. Module is ready to serve you.