About Window Server2008 server cannot play audio file and FLV video file

  • 2020-05-14 05:39:00
  • OfStack

Search the resource information that I need in so big baidu among, but what describe on the network cannot solve, the person that produces such kind of problem is very much, but did not get accurate solution method! After personal attempts in various aspects, the problem of unable to play audio files has been solved very simply. If you encounter such problems in the future, you can deal with them in my way:

If it is a 3gp file, add the extension ".3gp "MIME to the MIME type of server IIS and the MIME type is" video/3gpp"

If you have an mp4 file, add the extension ".mp4 "to the MIME type of server IIS and the MIME type is" video/mp4 ".

And so on

This method can completely solve the video playback problem!!

Fixed an issue where FLV video files could not play on the server

With the investment of various video providers to video websites, FLV files began to appear more and more in our side, our own simple FLV video files on the server can not play.

Open IIS and right-click the properties on mypc(local computer) (many help files don't say this point, and many people think they are right-clicking on the site, only to find that they can't find the MIME type, where mypc is your computer name).

Then click "MIME type", and then click "new" to add the associated extension:.flv, and the content type: flv-application/octet-stream
server2003: "MIME type" in website properties /HTTP header

Once confirmed, the server can support FLV video playback. If it still does not work, you can try to restart IIS!
Here's another tip: if you can't add "MIME type" to your computer, change the suffix FLV to SWF, too!

Microsoft has changed the way streaming media is handled in the Microsoft Internet information service (IIS) 6.0 Web server instead of the way it was handled in earlier versions. Earlier versions of IIS did not require any changes to the Flash video stream. In the default Web server IIS 6.0 that comes with Windows 2003, the server needs to confirm that FLV files are streaming media with the MIME type.

When the SWF files of the external FLV files loaded by streaming media are placed on the Microsoft Windows 2003 server and viewed in the browser, the SWF files can be played correctly, but the FLV videos cannot be loaded by streaming media. This problem affects all FLV files placed on the Windows 2003 server, including those made with the Flash authoring tool (Macromedia Flash Video Kit for Dreamweaver MX 2004) in earlier versions. If you test these files on other operating systems, they work fine.

Relevant configuration Microsoft Windows 2003 and Microsoft IIS Server 6.0 to adopt the way of streaming media download FLV video information, please visit the http: / / www macromedia. com/go/tn_19439.

Today, I encountered a problem. The file in FLASH8 format of FLV cannot be played after uploading to the server. It was originally thought that the path was wrong or too big, but it was not after checking, because most of the domestic hosts are Win2003. The default is not to specify the output FLV format although it can be seen in FTP, it cannot be accessed through http and cannot be played.

[reason: WIN2003 enhances IIS6's MIME validation, the 1-section unregistered extension file format all shows 404 errors. Manually in IIS HTTP header - > MIME add MIME innuendo, MIME type: video/ x-flv extension:.flv, can be played through Flash7+ client Load]

[solution: your Flv file name is a.flv. Create a directory named "a.flv" on the virtual host. Place your Flv file in this directory and change it to "index.htm".

When working with the FLV file, you may need to configure the server to handle the FLV file format. The multi-purpose Internet mail extension (MIME) is a standard data specification that allows you to send non-ASCII files over an Internet connection. The Web browser and E-mail client are configured to interpret multiple MIME types, so they can send and receive video, audio, graphics, and formatted text. To load the FLV file from the Web server, you may need to register the file extension and MIME type with your Web server, so you should check your Web server documents. The MIME type of the FLV file is video/ x-flv.

Complete information about the FLV file type is listed below:

Mime type: video/ x-flv

File extension:.flv

Required parameters: none

Optional parameter: none

Note for coding: FLV is a binary file; Some applications may need to set the application / 8-bit byte stream subtype.

Security issues: none

The published specification: www. macromedia. com/go/flashfileformat.

There are two solutions:

1. If you are using your own server, you can login to the server, open "Internet information service", select the specified website properties, enter "HTTP header -MIME mapping - file type - new type", enter ".Flv" in the "associated extension" column, and fill in "video/ x-Flv "in the content type column.

2, if you are using a virtual host, and your Flv file name called "a. Flv", in the virtual host on the new one named "a. Flv" directory, then the Flv files uploaded to this folder, and will be Flv file renamed "index. htm", finally playing the Flv file, one must remember: filename intact, this case is the "a. Flv".


Related articles: