With the increasing popularity of the FLV format, more and more places are using this format, which is small and the biggest advantage, but the problem is, if you want to convert other video formats to the FLV format, isn't it a headache.
When you see this articleArticleYes, you must be worried about how to convert the swf format to the FLV format. Don't worry.
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 =
After a long time of hard work today, we finally developed a simple video player, which can be used to communicate with company leaders.
Steps:
1. Drag a "flvplayback" component to the stage in Flash cs4.
Note: flvplayback has basic FLV playback functions. You can simply set the attributes to play the video.
2. Load the XML Data Source
The XML data source format is as follows:
Core of loading XML by using ActionScriptCode:
VaR _ xml
Main. ASC FileC: \ Program Files \ Macromedia \ Flash 8 \ samples and tutorials \ samples \ Components \ flvplayback \ main. ASC
1. In your FCS ApplicationProgramCreate a folder named my_application.2. Copy the main. ASC file to the my_application folder.3. Create a folder named streams in the my_application folder.4. Create a folder named _ definst _ in the streams folder.5. Place your FLV file in the _ definst _ folder.6. To access the
] lighttpd]# cp-p /data/lighttpd/lighttpd-1.4.35/doc/config/conf.d 6. Create Log output folder[Email protected] lighttpd]# mkdir-p/var/log/lighttpd7, change start shutdown restart configurationCP DOC/INITSCRIPTS/RC.LIGHTTPD.REDHAT/ETC/INIT.D/LIGHTTPD8, then change the/etc/init.d/lighttpd, putLighttpd= "/USR/SBIN/LIGHTTPD"SwitchLighttpd= "/USR/LOCAL/LIGHTTPD/SBIN/LIGHTTPD"9, go to Folder/usr/local/lighttpd/etc. Change the value of lighttpd.conf var.log_root to "/VAR/LOG/LIGHTTPD"10, change the
protected] lighttpd]# cp-p /data/lighttpd/lighttpd-1.4.35/doc/config/conf.d 6. Create Log output Directory[Email protected] lighttpd]# mkdir-p/var/log/lighttpd7. Modify Startup Shutdown Restart configurationCP DOC/INITSCRIPTS/RC.LIGHTTPD.REDHAT/ETC/INIT.D/LIGHTTPD8, then modify the/ETC/INIT.D/LIGHTTPD, putLighttpd= "/USR/SBIN/LIGHTTPD"SwitchLighttpd= "/USR/LOCAL/LIGHTTPD/SBIN/LIGHTTPD"9, go to directory/usr/local/lighttpd/etc, modify the value of lighttpd.conf var.log_root to "/VAR/LOG/LIGHTT
This article illustrates how PHP obtains the Youku video true FLV file address. Share to everyone for your reference. The specific analysis is as follows:
There is a webmaster want me to help it do a Youku video site can automatically test the FLV real address, the following I sorted out the afternoon to solve the problem is very good, we can refer to.
This is to borrow force, just grab the content of the
tried. Start gnome-terminal
Run the cd command to enter the folder where the flv file is located.. For example, my flv file is 360000028.flv.Then the command line,Sudo mplayer-dumpaudio 360000028.flv-dumpfile 360000028133A prompt is displayed on the command line interface. My mplayer is version 1.0 rc4.After that, the FLV
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 settings in FLV format are:Start > Control Pan
Failure: The FLV file can be played locally, and uploaded to the server cannot be played.Cause: WIN2003 enhanced MIME authentication for IIS6, all unregistered extended file formats display 404 errors.Workaround: Add support for the. flv file on the IIS server, with the following steps:1. Open the local computer under IIS, select the Web site right-click Property, open the MIME type of the HTTP header2. New
JW player is a flash-based interactive webpage media player. Jw flv media player can play media supported by Adobe Flash Player, including FLV, MP4, MP3, AAC, JPG, PNG, and GIF, it also supports rtmp, HTTP, real-time video stream, various playing list formats, flexible settings, and a wide range of JavaScript APIs.: Http://www.longtailvideo.com/players/jw-flv-pla
The first three articles have explained in detail how to convert the WAV audio format to the FLV format. This article describes how to convert the last part, first, the AMR is converted into WAV format, and then the WAV format is encapsulated
FLV format. The key part of this article is the part in the while loop. The other part can be skipped. The function d_if_decode (St, serial, synth16, _ good_frame ); t
Use the following command parameters:
FFmpeg-I 11.flv-F image2-SS 30-T 0.001-S 400 × 300 2.jpg
Where:
-I 11. FLV-indicates that the input file is 11.flv, and-I indicates that the input file is followed by the name of the input file, which cannot be saved;
-F image2-indicates the forced format conversion to be used,-F indicates the forced format conversion, an
Php uploads videos and automatically transcodes them into FLV! Recently, I worked as a school TV website and wanted to develop a function for students to upload their DVSs. I used php to convert them into the flv format and found related materials like youku and tudou, I found that the ffmpeg software can be implemented, but it is very simple. I only gave some parameters, and did not give examples, and how
Label: FLV cannot be played. FLV cannot be played by the FLV server.
The above code is compatible with multiple versions of IE browsers
Compatible with multiple versions of IE browser FLV playback
This article describes how to use codeigniter to upload a video and convert ffmpeg to flv. For more information, see the FFmpegCI framework.
The code is as follows:$ File = 'video _ file ';$ Config ['upload _ path'] = './video_folder /';$ Config ['allowed _ types'] = 'mov | mpeg | mp3 | avi ';$ Config ['max _ size'] = '000000 ';$ Config ['max _ width'] = '';$ Config ['max _ height'] = '';
$ This-> upload-> initialize ($ config );$ This-> load-> lib
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.