About Windows Server2008 cannot play audio files and flv video files _win server on server

Source: Internet
Author: User
Tags microsoft iis flv file

In the huge Baidu to find the resources I need information, but the description of the network can not be resolved, the occurrence of such problems are many people, but did not get an accurate solution! Through the individual aspects of the trial, in fact, very simple to solve the problem of audio files can not be played, if you will encounter such problems in the future, you can follow my way to deal with:

If 3GP file, add the ". 3gp" MIME type to "VIDEO/3GPP" directly in the MIME type of server IIS

For mp4 files, add the ". mp4" MIME type to "Video/mp4" directly in the MIME type of server IIS

Analogy

This method can completely solve the video playback problem!!

Troubleshoot problems with FLV video files that cannot be played on the server

With the major video providers to the video site input, FLV files began to appear more and more around us, their own on the server, the simple FLV video files can not play.

Open IIS and right-click on MyPC (local computer) (many Help files do not say this, many people think that the right button on the site, but found that the MIME type is not found, where MyPC is your computer name).

Then click on "MIME Type" and click New to add the associated extension:. flv, Content type: Flv-application/octet-stream
Server2003: "MIME type"/http header in Site properties

Once you are sure, the server will be able to support FLV video playback, and if it is still not possible, try restarting iis!
Another tip: If you can't add a MIME type to your computer, you can change the FLV suffix name to SWF.

Microsoft has changed how streaming media is handled in a Microsoft Internet information Services (IIS) 6.0 Web server, and no longer takes the same approach in earlier versions. Earlier versions of IIS did not need to make any changes to the Flash video stream. In the default Web server IIS 6.0 that shipped with Windows 2003, the server needs to use the MIME type to confirm that the FLV file is streaming.

When a SWF file that loads an external FLV file in streaming media is placed on a Microsoft Windows 2003 server and is viewed in a browser, the SWF file is played correctly, but the FLV video is not loaded in streaming media. This problem affects all FLV files placed on Windows 2003 servers, including those made with earlier versions of the Flash authoring tool (Macromedia Flash video kits for Dreamweaver MX 2004). If you test these files on a different operating system, the files work correctly.

For information about configuring Microsoft Windows 2003 and Microsoft IIS Server 6.0 to download FLV video in streaming media, visit the http://www.macromedia.com/go/tn_19439.

Today encountered a problem, with FLASH8 produced by the FLV format File upload server can not play, the original thought is the path is wrong, or too large, after inspection is not, because most of the domestic are Win2003 host. The default is not to specify output FLV in this format, although it can be seen in FTP, but not through HTTP access, it can not play.

[Reason: WIN2003 has tightened IIS6 MIME verification, and all unregistered extended file formats show 404 errors. Manually HTTP Header-> MIME add MIME mapping relationship in IIS, MIME type: video/x-flv extension:. flv, can be played through flash7+ client Load

[Solution to the "virtual host does not support FLV format Files" Problem: for example, your FLV file name is a.flv, on the virtual host to build a directory called "a.flv", in this directory to decentralize your FLV format file, renamed to: Index.htm, so that's all right, The file name in the player remains intact.

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

The complete information for the FLV file type is listed below:

Mime Type: video/x-flv

File name extension:. flv

Required Parameters: None

Optional Parameters: None

Coding considerations: FLV files are binary files; Some applications may need to set the application/eight-bit byte throttle subtype.

Security issues: None

Published specification: Www.macromedia.com/go/flashfileformat.

There are two solutions:

1, if you are using your own server, you can log on to the server, open "Internet Information Services", select the properties of the specified Web site, into the "HTTP header-mime mapping-file type-new type", "Associated extension" column fill. Flv ", Content Type column fill" video/x-flv ", buttoned up.

2, if you are using a virtual host and your FLV filename is called "a.flv", create a new directory named "a.flv" on the virtual host, upload the FLV file to the folder, and rename the flv file to "index.htm". Finally, when playing the Flv file, be sure to remember that the file name remains intact, in this case, "a.flv".

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.