First, download and install
FlashMediaServer3.5 Official Download Address: http://download.macromedia.com/pub/flashmediaserver/updates/3_5_2/Windows/ Flashmediaserver3.5.exe
Registration code: 1374-5281-3416-2287-0994-2264 or download the corresponding registration machine, click to download
Before installing, you need to modify the Hosts file, in the Hosts file (the file is located in C:\WINDOWS\system32\drivers\etc, the file is the system file, hidden by default) and add the following content:
? 127.0.0.1 activate.adobe.com
127.0.0.1 practivate.adobe.com
127.0.0.1 ereg.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 wip3.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 adobe-dns.adobe.com
127.0.0.1 adobe-dns-2.adobe.com
127.0.0.1 adobe-dns-3.adobe.com
127.0.0.1 ereg.wip3.adobe.com
127.0.0.1 activate-sea.adobe.com
127.0.0.1 wwis-dubc1-vip60.adobe.com
127.0.0.1 activate-sjc0.adobe.com
Ii. use of FMS
I am using the default installation, the installation location is C:\Program Files\adobe\flash Media Server 3.5. After installation, there is a welcome page, if the page can be displayed normally, the FMS installation is successful.
Video Playback page: C:\Program files\adobe\flash Media Server 3.5\samples\videoplayer\videoplayer.html, this page allows you to test the video for playback
FMS has a default rtmp protocol file storage path: C:\Program files\adobe\flash Media Server 3.5\applications\vod\media
such as playing sample video files C:\Program Files\adobe\flash Media Server 3.5\applications\vod\media\sample.flv
corresponds to the address: Rtmp://localhost/vod/sample or rtmp :/vod/sample, note that the extension is FLV, only need to fill in the file name, do not write the extension, or you will not find the file (sweat ~ This problem tortured me for a long time)
again, such as playing the example F4V video file C:\Program Files\adobe\flash The corresponding address for Media Server 3.5\applications\vod\media\sample1_1000kbps.f4v
is: rtmp://localhost/vod/mp4:sample1_ 1000KBPS.F4V or RTMP:/VOD/MP4:SAMPLE1_1000KBPS.F4V
to play the corresponding video file via videoplayer.html video playback page
Third, create the rtmp virtual directory
Now I need to store the video file in another folder resolved by FMS via RTMP protocol
Locate the configuration file C:\Program files\adobe\flash Media Server 3.5\conf\fms.ini
The default VOD virtual directory is implemented by these two sentences:
? Vod_common_dir = C:\Program Files\adobe\flash Media Server 3.5\webroot\vod
Vod_dir = C:\Program Files\adobe\flash Media Server 3.5\applications\vod\media
Here we are going to create a new virtual directory Hello, add the following:
? Hello_common_dir = D:\hello
Hello_dir = D:\hello\media
Then copy the files in the C:\Program files\adobe\flash Media Server 3.5\applications\vod folder to the D:\hello folder
and modify the contents of the D:\hello\Application.xml file,
?<streams>/;${vod_common_dir}</streams>
<Streams>/;${VOD_DIR}</Streams>
Revision changed to
?<streams>/;${hello_common_dir}</streams>
<Streams>/;${HELLO_DIR}</Streams>
Restart the FMS, the virtual directory is built