This article describes a C # implementation of a method by ffmpeg from an FLV video file. Share to everyone for your reference. The specific analysis is as follows:Need to download FFmpeg first, this is open source, the code is as follows: The code is as follows:Using System; Using System.Configuration; public class PublicMethod:System.Web.UI.Page { Public Publicmethod () { } File path public static string ffmpegtool = "Ffmpeg/ffmpeg.exe"; public stat
Upload the FLV or MP4 file to the server and enter the correct address the HTTP protocol is used to access the 404 error that always appears "cannot find the page"? This means that the MP4 format file is not recognized by the server, which is why the corresponding MIME type is not set in IIS. So how do you set MIME types?If you open the MP4 file, you need to right-click the Web site or directory you want to change in Internet Information (IIS) Manager
Problem description; obtain the thumbnail and video duration of the flv video.
Google found that Ffmpeg can be used to obtain video information for half a day. First, let's introduce FFMEPG.
Here, I will briefly describe: FFmpeg is a complete solution for recording, conversion, and streaming audio and video. It is a leading Audio/Video Codec class library. Official official ffmpeg does not support rmvb and rm formats, but there are many solutions
T
Https://github.com/332065255/flv2fmp4
code Base
Soft coded FLV to MP4 container (i)Soft coded FLV to MP4 container (ii) FLV tag DismantlingSoft coded FLV to MP4 container (iii) FLV METADATA tag parsingSoft coded FLV to MP4 conta
The source of the FLV video filefirst of all, this flash video, that is, flash videos.Why do you use this? It's obvious that you need to play the video in the Web. We all know the general video file, or ASF format, WMV format using MediaPlayer for playback, or RM format with RealPlayer playback.The problem is that different formats require you to choose a different player, which is not available to the local computer for users who do not have the appr
JW player is a simple and fully functional Online FLV Flash Player with many optional control parameters.Multiple parameters can be used in combination. The following describes how to use them:File (FLV file address. If not set, the default value is video. FLV in the same directory of JW player FLV web player)Autostart
("window"> "Database"), create a component button and create a button style. You can use it for the moment.2. Drag the new button object from the "Database" panel to the end of the stage address input box to create the play start button.3. Name the instance play_bt for the start button ".
The fourth layer is used to put all the ActionScript:
// Initialize
// Create a NetConnection object
Var my_nc: NetConnection = new NetConnection ();
// Create a local stream connection
My_nc.connect (null );
Original paste: Http://linuxdesktop.cn/2007/07/25/ffmpeg-convert-flv-to-mpeg
convert FLV to MPEG in ffmpeg 2007-07-25 13:50 | Classified Audio and video | by Tualatrix | 315 Times Read
YouTube downloads some video from the FLV format, but it's a little bit of a problem.
Originally mplayer can be very good support for the
-If you want to learn a new point of knowledge, the Official Handbook may be the quickest way. Looking at a summary of others on the web may be quicker to get started, but be accurate, thorough, complete, or read the Official Handbook. The following is from an analysis summary of the official document video file Format specification Version 10.In the process, an FLV file use case study was actually converted with ffmpeg. An
add the mplayer.exe‑path, which is also the path of mencoder.exe to the environment variable path.
Now you can try playing a video with Mplayer. For example, a video is located at D: \ music \ APerfectMatch. wmv, you can open a cmd window and enter mplayer "D: \ music \ APerfectMatch. wmv ", feel the player from Linux, you can use the keyboard to manipulate it.
Mencoder:
For example, convert a variety of formats to the flv format (the
The H264 video stream and AAC audio stream have been synthesized by hand recently, but there is no open source FFmpeg API to handle audio and video streaming. The method is to imitate ffmpeg in the libavformat/flvenc.c file write code to complete the audio and video of the FLV format encapsulation. In this package process, the FLV file format needs to be very clear. There is a lot of information on the
Https://github.com/332065255/flv2fmp4
code Base
Soft coded FLV to MP4 container (i)Soft coded FLV to MP4 container (ii) FLV tag DismantlingSoft coded FLV to MP4 container (iii) FLV METADATA tag parsingSoft coded FLV to MP4 conta
Https://github.com/332065255/flv2fmp4
code Base
Soft coded FLV to MP4 container (i)Soft coded FLV to MP4 container (ii) FLV tag DismantlingSoft coded FLV to MP4 container (iii) FLV METADATA tag parsingSoft coded FLV to MP4 conta
During this period of time, the work needs are converted from FLV stream to standard h264 and aac on rtmp. The server is an open-source project crtmpserver, client flex writing, video encoding h264, and audio encoding AAC, some protocol-related items are recorded as follows.
1. Analyze FLV data
Let's take a FLV file to analyze the
This time, the work of the need, on the rtmp to do the FLV stream to the standard H264, AAC conversion, the server is open source project Crtmpserver, client flex writing, Video coding H264, Audio coding AAC, now some of the agreements related to the following things record.
I. Analysis of FLV data
Let's take an FLV file to briefly analyze the format of the
rtmp/flv Learning points of attention
1.RTMP and FLV format-friendly compatibility, mainly embodied in the RTMP package playable audio and video streams, when carefully studied, you will find that the RTMP packet in the package of audio and video data flow, in fact, and Flv/tag package the way the video data is the same, so, We just need to follow the
Server | solution | upload
FLV format files cannot be played after uploading servers because most of them are Win2003 hosts. Default is not specified output FLV This format, although it can be seen in the 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 add a MIME mapping relationsh
During video projects, videos are generally converted to the FLV format for playback, and videos are displayed during uploads. For convenience, C # (Asp.net) is provided to upload videos to the FLV format andCode.
The following code adds a video:
String filename = publicmethod. getfilename (_ FILES [I]. filename); // getfilename ();String upfilename = server. mappath (publicmethod. upfile + filename );_
Http://itindex.net/detail/48702-nginx-rtmp-http
One, streaming media playback mode
1. HTTP mode
this way to download the FLV video file to local playback, once the FLV video file download is complete, will not consume the server resources and bandwidth, but the drag function is not rtmp/rtmp streaming media powerful, many video sites are implemented in HTTP, such as: YouTube, potatoes, Cool 6 etc
2, rtmp
)--------------------------------------------------------------------------------------------------------------- ----------------------------------------1. Installing zlibTar xzvf zlib-1.2.3.tar.gz #解压 cd zlib-1.2.3 #进入解压目录 ./configure #配置 make make install #编译并安装2. Installing gcc-c++Yum-y install gcc-c++ #会自动安装的, but requires networking4. Installing PcreTar zxvf pcre-7.9.tar.gz cd pcre-7.9./configure--prefix=/usr/local/pcre #配置安装路径为/usr/local/pcre make ma Ke Install5. Installi
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.