Recently, I encountered a problem in the project, that is, mediaelemen in Silverlight can only read videos in WMV format, but I cannot read videos in FLV format, later, I found a lot of information on the Internet and learned a lot about it.
Main Code:
Background:
Private void openbutton_click (Object sender, routedeventargs E) {# region === directly open the stream here and select the file to directly browse the file from the client for playback =
The specific steps for the server to increase the MIME type mapping setting in MP4 format are: Right-click Computer Management Services and Applications Internet Information Services (IIS) Manager select the IIS Web site that you developed click Add in the upper right corner of the MIME type under IIS options. Enter ". mp4" in the "Extension" box, enter "Application/octet-stream" in the "MIME type" box, an
with The popularity of WEB application development, the need to play media ( video, audio ) in the browser is becoming more and more common; many enterprises are trying to add multimedia content to the website, the two most common ways :1. normal http file on demand, directly through the website front file upload upload file MP4 or FLV , save the path, the client through the open source Flash player or HT
In doing a website, found that video files, such as the Flv,mp4 format can be played locally, but reached the development of the machine, it is not. The player's file address is right, or has not been responding.
After a long experiment, the problem was found to be set with IIS. IIS does not allow video files to be played by default, and the solution is as follows:
Open the IIS Manager on the server, loca
Video refers to a series of static images continuous image changes per second more than 24 frames (frame) screen above, according to the principle of visual persistence, the human eye can not identify a single static picture; Looks like a smooth, continuous visual effect. Today we are going to talk about how to convert the video format, the following will use the video converter, the small part of the recommended is a quick Video converter , see below the introduction of the Operation method.Vid
Make sure that IIS is healthyThe specific steps for the server to increase the MIME type mapping setting in MP4 format are:Start > Control Panel > Administrative Tools > Internet Information Services (IIS Manager), MIME type > Add, enter. mp4 in the Extension box, enter "application/" in the MIME type box in the. Octet-stream "and then OK.The specific steps for the server to increase the MIME type mapping s
'is set but not used [-Werror = unused-but-set-variable]../Nginx_mod_h264_streaming-2.2.7/src/mp4_reader.c: 376: 12: Error: variable 'stream _ id' is set but not used [-Werror = unused-but-set-variable]../Nginx_mod_h264_streaming-2.2.7/src/mp4_reader.c: In the 'stsd _ parse_vide 'function:../Nginx_mod_h264_streaming-2.2.7/src/mp4_reader.c: 529: 22: Error: variable 'level _ indication 'is set but not used [-Werror = unused-but-set-variable]../Nginx_mod_h264_streaming-
Today in the FTP upload a mp4 file, found that the player can not play, find a local file to replace the found to play normally, the charm network for this in the browser directly enter the MP4 URL found unable to display the Web page, and then suspect that the server is a problem, may not add the format of this video support.So go to the server and open IIS and add the MIME type property.650) this.width=65
/local/src/nginx-rtmp-module-master Note that the third-party module uses the absolute path specified by the Add-moduleYamdiTar xzvf yamdi-1.4.tar.gzCD yamdi-1.4Make make installHow to use: Yamdi-i input.flv-o out.flv/usr/local/src all the files are in this directoryTar xzvf nginx_mod_h264_streaming-2.2.7Tar xzvf nginx-rtmp-module-masterYou can specify the path when compiling--with-http_flv_module--with-http_mp4_module--add-module=/usr/local/src/nginx_mod_h264_streaming-2.2.7 \-
This article mainly introduces PHP using Memcoder to convert video into MP4 format, involving PHP operation video file skills, with a certain reference value, the need for friends can refer to the
This example describes how PHP uses Memcoder to turn video into a MP4 format. Share to everyone for your reference. The implementation methods are as follows:
The co
, for example, I want to turn the original video code rate nearly 20000, my hard drive brother said this is too high, so I sacrificed some of the quality of 6000, the general turn anime words 1000-2000 enough.
Bit rate pattern: average bit rate and 2 times coding is my common two modes, 2 times coding quality is better than average mode, but time consuming probably increases about 30%. (HD recommendation 2
This example describes how PHP uses Memcoder to turn video into a MP4 format. Share to everyone for your reference. The implementation methods are as follows:
Copy Code code as follows:
ConvertTo ("Some-input-video.avi", "Output.mp4");
function ConvertTo ($input, $output) {
echo "Converting $input to $output $command = "MEncoder $input-o $output-af volume=10-aspect 16:9-of AVI-NOODML-OVC x264-x264
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.