Today found a customer's website FLV video can not play, found that some of the virtual host's MIME type set a period of time will automatically expire, for this need to re-addNew extension: FLVMIME type: Flv-application/octet-streamFLV Web Player CodeThe flvplayer.swf file of this code should be put into the local server or space, you can also download the Charm network prepared attachments directlyWeb
In addition to playing Falsh on the Web page, there is also a format that is FLV video, which is also the most common. Insus.net again wants to implement this functionality in an MVC application.To implement this feature, you need to download a call vcastr22.swf from the Internet. If you can't find it on the Internet, you can download it from the following link: http://download.cnblogs.com/insus//MVC/vcastr22.swf is then placed under the Scripts direc
SOURCE Download: http://download.csdn.net/detail/njxiaogui/7609687Front desk:. aspx"video_content" runat=" server" style=" ">Backstage. CS ( get the address of FLV through the background for video playback ) protected voidPage_Load (Objectsender, EventArgs e) { This. video_content. InnerHtml = Play ("sp.flv",472,385); } Public Static stringPlay (stringUrlintWidthintheight) { stringStrtmp =URL. ToLower (); if
Solution
For FLV types:
Open Internet Information Services Manager (IIS (Microsoft Web server Platform)), select Local Computer--> user site--> Open Properties--> HTTP Header "-->" MIME type "-->" new. Extension = ". flv" MIME type = "Flv-application/octet-stream", save exit.
For RMVB type:
Open Internet Information Services Manager (IIS (Microsoft Web server P
In fact, the reason is very simple, because most of the domestic Win2003 host. The default is to not specify output FLV this format.
Although it can be seen in FTP, but not through HTTP access, it can not be played.
Open IIS Manager Select Web site properties that's where you can set the host header.
and the Security directory HTTP header custom error service
When you see this, you choose HTTP headers.
So then you see a MIME type and then you dot type
A compact for the FLV format to convert to AVI format software, no installation, decompression can directly run the current format of the FLV movie to AVI format software is not many
Riva FLV Encoder is the most famous one, but it has no Chinese version, the file volume is also large, installation package on the 4.7M
When the installation is complete, it take
This morning, my former high school classmate asked me to teach him to write an FLV player with Flex. Online should also have a lot of tutorials, but after dinner after lunch, feel that they write well, after all, they rarely write a tutorial on their blog, so they wrote ... If there is a mistake, please point out. Here's a simple tutorial I wrote today on my blog:
With AS2.0 to do a lot of FLV player, Flex
If we want to encapsulate Speex encoding into rtmp or FLV, we may encounter problems with how to populate Audiotagheader, Speex encoding supports 8k,16k,32k sample rate, but only 16k in rtmp or FLV protocol, At this point the sampling rate needs to be treated as 11.025k, that is, the packet of this byte is 0xb6
For the AAC encoding in RTMP or FLV packets, AAC sa
Hana FLV Player is a more widely used player plugin in WordPress,
The plug-in contains 5 media players, whose playback files are mainly FLV files,
and the inserted File button integrated into the WordPress background editing interface for user-friendly operation,
Really is a rare good plugin.
Built-in player
OS FLV V2.0.5
FlowPlayer V2.2.1
FlowPlayer
This afternoon, I started the development of batch conversion of whole videos to FLV. First, I checked the relevant issues in the morning and was very happy to find a lot of information to explain: Using FFMPEG + mencoder to implement the video conversion function. Since you have not implemented your own batch conversion tools, you cannot express your experience and achievements. I will share some of the information I have collected with you. If you a
Usage:
Method 1. js embedding
Directly copy the followingCodeModify the red part, that is, swf_width, swf_height, texts, and files parameters.
Where:
Transformers-the title of the trailer.
Http://www.transformersmovie.com/transformers_640.flv FLV file address.
Http://www.luie.cn/flash/flv.swf FLV file player address (if you don
This article introduces a small open-source project: FLV Encapsulation Format analyzer. FLV, short for Flash Video, is a widely used Video encapsulation format on the Internet. Video websites such as Youtube and Youku all use FLV to encapsulate videos. My project is not large and can be used to learn the FLV Encapsulat
Hana FLV Player is a more widely used player plugin in WordPress,The plug-in is built with 5 media players, and its playback files are mainly FLV files.And the Insert File button integrated into the WordPress background editing interface for user-friendly operation,is really a rare good plug-in.
Built in player
OS FLV V2.0.5
FlowPlayer V2.2.1
FlowPl
Wiki:https://github.com/simple-rtmp-server/srs/wiki/v2_cn_deliveryhttpstream Note that you must use the HTTP Server that the SRS comes with One, HTTP FLV Live Stream Http_server {enabled on; Listen 8080;}Vhost Your_vhost {http_remux {enabled on;Mount [vhost]/[app]/[stream].flv; }} Second, HTTP TS Live Stream Http_server {enabled on; Listen 8080;}Vhost Your_vhost {http_remux {enabled on;Mount [Vhost]/[app]/[
How PHP Gets the flv file time, the answer is fopen file after viewing the FLV file is hex data and converted to number.
Copy CodeThe code is as follows:Functionbigendian2int ($byte _word, $signed =false){$int _value = 0;$byte _wordlen=strlen ($byte _word);for ($i =0; $i $int _value+=ord ($byte _word{$i}) *pow ($byte _wordlen-1-$i);}if ($signed) {$sign _mask_bit=0x80if ($int _value $sign _mask_bit) {$int _
A lot of video conversion methods have been found, and the final process record is as follows:
Conversion Environment: window2003Conversion Tool: FFMPEGConversion steps:1/download the latest ffmpeg.exe version from the http://ffdshow.faireal.net/mirror/ffmpeg/ ( .7z is also a compression format)2. decompress the package to the local c: \ FFMPEG.
3. Convert the video file command line format:Conversion video:Ffmpeg.exe-I "E: \ input \ 06.asf" E: \ output \ 06.mpg"// Non-
Before Flash MX, the video files in flash must be imported into a bitmap frame by frame. As a result, the file is huge and its application scope is limited.
With the launch of Flash MX, Macromedia developed its own stream video format-FLV. This format is compressed by Sorenson.
Algorithm . Sorenson also provides algorithms for mov format.
The FLV format not only allows you to easily import hundreds of fram
output
P.startinfo.redirectstandarderror = true; REDIRECT Error output
P.startinfo.createnowindow = true; Settings do not display windows
P.start ();
P.standardinput.writeline (command); You can also enter commands to execute in this way
P.standardinput.writeline ("Exit"); But remember to add exit or the next line of code
You must create code that ends the process after the automatic conversion completes
return P.standardoutput.readtoend (); From the output stream to get the results of the co
Copy Code code as follows:
// +----------------------------------------------------------------------+
// | PHP version 45 |
// +----------------------------------------------------------------------+
// | Copyright (c) 2007 JackieWangjackieit@hotmail.com |
// +----------------------------------------------------------------------+
// | This source file "s function is to get" time Length of flv |
// | Main function getTime param: $name The
How does PHP get the FLV file time, the answer is fopen file to view the FLV file is hex data and converted to number.
Copy Code code as follows:
Functionbigendian2int ($byte _word, $signed =false)
{
$int _value = 0;
$byte _wordlen=strlen ($byte _word);
for ($i =0; $i $int _value+=ord ($byte _word{$i}) *pow (256, ($byte _wordlen-1-$i));
}
if ($signed) {
$sign _mask_bit=0x80if ($int _valu
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.