: This article mainly introduces how to use nginx to build flv and mp4 streaming media servers based on rtmp or http. if you are interested in PHP tutorials, refer to it. Http://itindex.net/detail/48702-nginx-rtmp-http
I. streaming media playback
Http://itindex.net/detail/48702-nginx-rtmp-http
One, streaming media playback mode
1. HTTP mode
this way to download the FLV video file to local playback, once the FLV video file download is complete, will not consume the server resources and
Www. fire-rain.comblogFFMPEG_H264_MP4PHP + FFMPEG automatic transcoding H264 standard Mp4 File recently made an online teaching network project, need to upload any format of video automatic h264 standard video, using html5 playback. Finally, PHP +
Php+ffmpeg implements the automatic transcoding of video into H264 standard MP4 file,
Configuring the php.ini File
File_uploads = on;//whether to allow the switch to upload files over HTTP. The default is on is open upload_tmp_dir;//File upload to
PHP + FFMPEG Enables automatic Transcoding of videos into H264 standard Mp4 files,
Configure the php. ini file
Copy codeThe Code is as follows:File_uploads = on; // whether to allow file upload over HTTP. ON is enabled by default.Upload_tmp_dir; //
Recently, I am working on an online tutorial Network project. I need to upload videos in any format to automatically play h264 standard videos using html5. Finally, PHP + FFMPEG is used for implementation. Here we will share our detailed solutions
Recently, I am working on an online tutorial Network project. I need to upload videos in any format to automatically play h264 standard videos using html5. Finally, PHP + FFMPEG is used for implementation. Here we will share our detailed solutions
From//http://blog.chedushi.com/archives/6532?utm_source=tuicool
Using Nginx to build a streaming media server with HTTP and rtmp protocols
Experimental Purpose:
Allows Nginx to support FLV and MP4 format files while supporting RTMP protocol while
Recently, I am working on an online tutorial network project. I need to upload videos in any format to automatically play h264 standard videos using html5. Finally, PHP + FFMPEG is used for implementation. here we will share our detailed solutions
Configuring PHP.ini Files
Copy Code code as follows:
File_uploads = on;/whether to allow the switch to upload files over HTTP. The default is on, which is open
Upload_tmp_dir//files are uploaded to the server where temporary files
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.