1.首先需要安装apx2
sudo apt-get install apache2-threaded-dev
2.下载h264stream的tar包
cd ~
wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz
3.创建
cd ~/mod_h264_streaming-2.2.7
./configure --with-apxs=`which apxs2`
make
sudo make install
4. 编辑/etc/apache2/httpd.conf
sudo vim /etc/apache2/httpd.conf
加入内容:
LoadModule h264_streaming_module /usr/lib/apache2/modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4
5.重启apache
sudo /etc/init.d/apache2 restart
6.下载一个.mp4视频放到apache的web根目录下,我的是在apache的web根目录下(var/www)
wget -O test.mp4 "http://h264.code-shop.com:8080/trailer2.mp4"
这是从h264的官网下载的一个视频,也可以自己上传一个视频到你的apache的web根目录下。
7.测试,输入http://yourip/test.mp4
如果你使用的IE浏览器会出现下载的提示框,最好你是选择使用chrome浏览器。
如果出现:
这种情况的话,说明你的.mp4视频文件下载的有问题,需要重新换一个视频再重试。
安装正确应该与
http://192.168.0.56/input.mp4相同
- 大小: 22.3 KB
- 大小: 47.5 KB
分享到:
相关推荐
apache+Windows配置flv,mp4视频支持随意拖动 配置成功,亲测可用,注意对应...LoadModule h264_streaming_module modules/mod_h264_streaming.so AddHandler h264-streaming.extensions .mp4 第二步,重启apache服务
ngwsx-0.8.39 with h264 streaming module. features: *) native port of nginx on windows. *) single process mode. *) windows service. *) iocp event method. *) file aio. *) zlib-1.2.3. (statically link...
第一步,下载mod_flvx.so和mod_h264_streaming.so并放到apache目录下的modules文件夹下 mod_flvx.so mod_h264_streaming.so 把这两个文件放到,apache的modules目录中,然后查找httpd.conf这个文件,打开编辑,找到...
第一步,下载mod_flvx.so和mod_h264_streaming.so并放到apache目录下的modules文件夹下 mod_flvx.so mod_h264_streaming.so 把这两个文件放到,apache的modules目录中,然后查找httpd.conf这个文件,打开编辑,找到...
提供以下三个windows版本 apache mod_h264_streaming.so下载 1.Apache/2.2.34 (Win32) 2.Apache/2.4.48 (Win64) 3.Apache/2.4.48 (Win32) 注意:测试过程中,发现httpd.conf配置引用mod_h264_streaming.so后,含有...
编译好的mod_h264_streaming,在redhat6.5,apache2上测试通过,理论上centos6,redhat6全系列都支持 vi httpd.conf LoadModule h264_streaming_module modules/mod_h264_streaming.so AddHandler h264-streaming....
apache+Windows配置flv,mp4视频支持随意拖动 解压得到下面二个文件: ...LoadModule h264_streaming_module modules/mod_h264_streaming.so AddHandler h264-streaming.extensions .mp4 重启apache服务
Building Data Streaming Applications with Apache Kafka 英文azw3 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
Apache Kafka is a popular distributed streaming platform that acts as a messaging queue or an enterprise messaging system. It lets you publish and subscribe to a stream of records and process them in ...
apache flv mp4伪流模块mod_flvx.so mod_h264_streaming.so
包含yamdi-1.9.tar.gz nginx_mod_h264_streaming-2.2.7.tar.gz nginx-1.8.1
为伪流(pseudo-streaming)提供支持,节省编译代码,使用APXS工具等复杂操作,直接将so文件加入APACHE进行配置即可,支持FLV与MP4文件的操作
Building Data Streaming Applications with Apache Kafka_Code 源码 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
h.264 streaming server
windows + apache2.4 + php 5.5 播放mp4 和flv,亲测可用。...LoadModule h264_streaming_module modules/mod_h264_streaming.so AddHandler h264-streaming.extensions .mp4 第三步,重启apache服务
nginx_mod_h264_streaming-2.2.7,MP4流媒体支持模块
网上大多是支持2.2版本的。这个是亲测可用apache2.4版的支持流媒体服务插件。 把 ...LoadModule h264_streaming_module modules/mod_h264_streaming.so AddHandler h264-streaming.extensions .mp4
h.264 streaming introduction live555
第一步,下载mod_flvx.so和mod_h264_streaming.so并放到apache目录下的...LoadModule h264_streaming_module modules/mod_h264_streaming.so AddHandler h264-streaming.extensions .mp4 第三步,重启apache服务
Streaming Architecture New Designs Using Apache Kafka and MapR Streams