2011-09-22 83 views
0

嗨我想從Windows Apache2提供的靜態html5頁面流視頻。據對
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Apache-Version2 這僅適用於Linux的Apache指南,所以我從
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Internet-Information-Services-IIS7-Version2得到mod_h264_streaming.dll但是當我的LoadModule h264_streaming_module模塊/ mod_h264_streaming.dll在httpd.conf它返回在Windows Apache2中加載mod_h264_streaming.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 

任何幫助將是感謝,先進的感謝!

回答

1

DLL你下載的是僅適用於IIS而不是Apache

0

分步 1-起初下載Visual Studio 2008的64位SP1,一定要安裝Visual C++ 2008的x64 SP1再發行組件包 可以下載從;

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- Extrach文件,複製 「mod_h264_streaming.so」

3-如果您正在使用WAMP服務器去C:\ WAMP \ BIN \ apache的\ Apache2.4.4 \模塊拖放(添加,複製的內容永遠你說)mod_h264_streaming文件的路徑。如果您沒有使用wamp,請轉到C:/ Apache24/modules /並添加mod_h264_streaming。然後轉到httpd.conf(位於C:\ wamp \ bin \ apache \ Apache2.4.4 \ conf路徑中),用notepad ++打開找到加載模塊行 就好像;

LoadModule auth_basic_module modules/mod_auth_basic.so // opened module 
#LoadModule auth_digest_module modules/mod_auth_digest.so // closed module 
#LoadModule authn_anon_module modules/mod_authn_anon.so 

當您找到這些行時,請添加此行;

LoadModule h264_streaming_module modules/mod_h264_streaming.so 

保存並退出。最後重啓apache服務器。模塊已準備好爲您服務。