)--------------------------------------------------------------------------------------------------------------- ----------------------------------------1. Installing zlibTar xzvf zlib-1.2.3.tar.gz #解压 cd zlib-1.2.3 #进入解压目录 ./configure #配置 make make install #编译并安装2. Installing gcc-c++Yum-y install gcc-c++ #会自动安装的, but requires networking4. Installing PcreTar zxvf pcre-7.9.tar.gz cd pcre-7.9./configure--prefix=/usr/local/pcre #配置安装路径为/usr/local/pcre make ma Ke Install5. Installi
The full name of the FLV video is Flash, which is not the same as Flash and uses a different player. In order to improve the classroom effect, we often download various resources from the Internet to enrich the courseware content when making courseware. Most are in FLV format video files, but many people do not know how to insert multimedia software PowerPoint. Today, the Waves Ripple Computer knowledge Lea
Tips | media
The FLV streaming Media format is a new video format, all called flash videos. Flash MX 2004 provides the perfect support, its appearance effectively solves the video file import Flash, makes the exported SWF file bulky, cannot use on the network very good shortcoming. Here's how to use the compact FLV streaming media file.
I. Establishment of FLV
of Nalu (nal_unit_type) Description: #define NALU_TYPE_SLICE 1#define NALU_TYPE_DPA 2#define NALU_TYPE_DPB 3#define NALU_TYPE_DPC 4#define NALU_TYPE_IDR 5#define NALU_TYPE_SEI 6#define NALU_TYPE_SPS 7#define NALU_TYPE_PPS 8#define Nalu_type_aud 9#define NALU_TYPE_EOSEQ 10#define Nalu_type_eostream 11#define Nalu_type_fill 12 Each Nalu the first byte 0x1f can derive its type, such as the first nalu:67 0x1f = 7, then this unit is an SPS, the third: the 0x1f = 8, This unit is PPS, so look at the
This series of articles navigation
Quick Start for ffmpeg under Windows
FFmpeg parameter explanation
MEncoder and FFmpeg parameter detailed (Java processing video)
Java generated video thumbnails (ffmpeg)
Using FFmpeg to convert video files into FLV finishing
Java Video processing MEncoder
Java Video Processing Ffmped+mencoder
1, first download ffmpeg
2, extract the extracted ffmpeg.exe and PthreadGC2.dll files to any directory (of course, can also
500: The width of the player. 400: The height of the player. FLVPLAYER.SWF: Player file address, if you do not have room to put, please direct http://www.cnzz.cc/Flv/Flvplayer.swf. http://www.cnzz.cc/news/UploadFiles_1118/200809/Shenzhou Seventh Ignition launch moment. flv:flv file address. www.cnzz.cc: The top of the player flag, which can be default. Flvplayer.swf This is the FLV player, which is the down
PHP implementation time to get FLV files
This article mainly introduces the PHP implementation to get the FLV file time, this article directly give implementation code and use method, the need for friends can refer to the following
How PHP Gets the flv file time, the answer is fopen file after viewing the FLV file
PHP implementation to obtain the FLV File time ,. How long does PHP obtain the FLV file? How does PHP obtain the FLV file Time? the answer is to view the FLV file is HEX data after the fopen file and convert it to number. Copy the code as follows: phpfunct PHP time for obtaining FL
Summary
Author: Gucci flying e
Blog: www.v246.com
QQ: 28095553
Email: aquaqu (circle. a) gmail.com
This article is original from the ancient brake flying e. For more information, see the source!
The following is the source code:
[Full text]
Author: Gucci flying e
Blog: www.v246.com
QQ: 28095553
Email: aquaqu (circle. a) gmail.com
This article is original from the ancient brake flying e. For more information, see the source!
This method has been verified by practice, is b
1. First download FFMPEG
2. decompress the decompressed ffmpeg.exe and pthreadgc2.dll files to any directory (of course, it can also be a directory in webroot)
3. Create the BAT file convertvideo. BAT and add the following content: (for parameter descriptions, see Appendix 1)
[TXT]View plaincopy
% 1/FFMPEG-I % 2-y-AB 56-ar 22050-B 500-R 15-s 320 * 240% 3
Exit
******************
% 1 is the FFMPEG storage directory
% 2 is the file path to be converted
% 3 is the output directory of the
HTTP protocol implementation of the FLV playback is not complicated, the original implementation of the principle is the use of FlowPlayer plug-in implementation, the effect is good. But there are still two big problems that affect the customer's emotional access:1. The page is stuck when preloaded, and there seems to be no side-down broadcast.2. Occasionally, you cannot drag the timeline to the part that is not downloaded. I believe many people also
The reason is because it is not on Windows Server 2003. This mime-type type of flv, for which Adobe has given its solution. As follows:
for server users:
1. On the 2003 server, locate IIS Manager.
2. Expand the local server name, right-click the select attribute, and on the Internet Information Services tab, click the Edit button below the bottom computer MIME map.
3. Click on the "New Type" button and add the extension.
PHP implementation to obtain the FLV File time. PHP implementation of FLV file acquisition time this article mainly introduces the PHP implementation of FLV file acquisition time, this article directly provides the implementation code and use method, for more information about how to obtain FLV files in PHP, see
This
Build an mp4/flv Streaming Media Server Based on tengine in CentOS6 (
Location ~ \. Mp4 $ {Root/mnt/media/vod;Mp4;Limit_conn addr 20;Limit_rate 200 k;}
Location/hls {# Serve HLS fragmentsAlias/mnt/media/app;}
Access_log logs/nginxflv_access.log access;}}---------------- Nginx configuration file --------------
4. Convert your movies into mp4 and flv formats to test the nginx environment.
4.1) Prepare a movie
To prepare the software:
Nginx-1.6.0.tar.gzYamdi-1.9.tar.gz
Yamdi is a progressive flow support module, grasping the video resource key frame to realize the random drag effect when playing
Download Address: http://ncu.dl.sourceforge.net/project/yamdi/yamdi/1.9/yamdi-1.9.tar.gz
FLV video can be published in HTTP or rtmp mode. This is in HTTP mode.
Install Nginx and MP4 support modules and FLV modules:
I made a flvplayer myself. The local test is normal, but it cannot be performed after being uploaded to the server. At first, we suspected the path problem. However, the video is not played after being uploaded several times. It is a problem of the MIME type of IIS on the server. The following describes the solution.
Microsoft changed the way to process streaming media on Microsoft Internet Information Service (IIS) 6.0 web server, instead of using the processing method in earlier versions. Ear
With the FMS/red5 configuration, use flvplayerback to test the rtmp protocol. To further use netstream for development, we found that netstream. Play only supports HTTP and file protocols (refer to the Flash help ).Check the Internet for YouTube, 6rooms, and 56, and find that the playing protocols they use are also HTTP. As the Streaming Media Server, the FMS/red5 has been specially optimized. But why are these websites not using the rtmp protocol.
What are the advantages of rtmp over HTTP? Or:
Most of the hosts in China are win2003. Files in FLV format cannot be played after being uploaded to the server. By default, FLV files are not output. Although they can be seen in FTP, they cannot be accessed through HTTP, it cannot be played. The reason is that win2003 enhanced IIS6 mime verification, and all unregistered extension file formats showed 404 errors. Manually add the mime ing relationship to t
On the win2003 host, files in FLV format cannot be played after being uploaded to the server. By default, FLV files are not output in this format. Although it can be seen in FTP, it cannot be accessed through HTTP and thus cannot be played.
The reason is that win2003 enhanced IIS6 mime verification, and all unregistered extension file formats showed 404 errors.
Manually add the mime ing relationship to th
Two kinds of solutions:
1, to find the server administrator, add FLV file type output support.2, the extension of FLV into SWF to play.
The following tutorial will show you the detailed solution!
1 Open IIS Manager, right-click on your computer name-> property, find "MIME type", as shown in the figure:
What is a MIME type? MIME type is the type of file that sets an extension to open with an applicat
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.