In SS/XS, we use FFMPEG as an example. However, when converting wmv and ASF, the image is often displayed on the screen. I checked the information on the Internet and found that the parameter adjustment was invalid.
Later, I used mencoder, and the conversion was slow, but the quality was good. I tried at least a dozen WMV/ASF screens, unexpectedly, the converted FLV
To open the already installed format factory, we see that the format factory provides a very very many format conversion way, basically covers all! As shown in the picture:
As a demo, assume that this side we need to convert WMV format files to MP4 format files, the author clicks the box in the diagram to MP4 video column:
Open the file, the author randomly selected a relatively small
I often want to convert all kinds of audios and videos. I already have a lot of software in my toolbox. I like a few of them very much. A good tool can be used like a duck, today, I want to convert a WMV into SWF. I suddenly found that my tool is not very easy to use. After half a day, I did not find an ideal one. Then I suddenly remembered whether flash was avai
In fact, this export to convert to video we just have to save it, open to convert the video ppt file, and then save as in the Open save page We click on the video WMV type can be, as shown below.
When we click "File" in ppt2010 and click "Save As" button, we can find "Windows Media video (*.wmv)" In the "Save as"-"sa
(); return true;} catch (Exception e) {e. printStackTrace (); return false ;}} Private boolean process () {int type = checkContentType (); boolean status = false; if (type = 0) {// status = processFLV (PATH ); // directly convert the file to the flv File status = processFLV (PATH);} else if (type = 1) {String avifilepath = processAVI (type); if (avifilepath = null) returnfalse; // The avi file does not get
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,
" test.jpg "
-SS followed by time in seconds
****************
4. Create a class
[Java]View plaincopy
Public class convertvideo
{
Private Static string input_path;
Private Static string output_path;
Private Static string project_path;
Private Static hashmap
Static
{
Filetype = new hashmap
Filetype. Put ("Avi", "true ");
Filetype. Put ("MPG", "true ");
Filetype. Put ("WMV", "true ");
Filetype. Put ("3GP", "true ");
Filetype. Put
Convert any video format into flv code using php. Copy the code as follows :? Define (ROOT_DIR, dirname (_ FILE _); classEcodeFlv {var $ fromFile; uploaded FILE var $ toFilePath; save FILE path var $ toPicPath; save
The code is as follows:
Define ("ROOT_DIR", dirname (_ FILE __));Class EcodeFlv {Var $ fromFile; // uploaded FileVar $ toFilePath; // Save the file pathVar $ toPicPath; // save the image pat
This series of articles navigation
Quick Start for ffmpeg under Windows
FFmpeg parameter explanation
MEncoder and FFmpeg parameter detailed (Java processing video)
Java generated video thumbnails (ffmpeg)
Using FFmpeg to convert video files into FLV finishing
Java Video processing MEncoder
Java Video Processing Ffmped+mencoder
1, first download ffmpeg
2, extract the extracted ffmpeg.exe and PthreadGC2.dll
Copy CodeThe code is as follows:
Define ("Root_dir", DirName (__file__));
Class Ecodeflv {
var $fromFile; The papers that came on
var $toFilePath; Save File path
var $toPicPath; Save Picture Path
var $mpeg; Path to the Ffmpeg.exe file
var $mencode; Path to the Mencode.exe file
var $cmdToFile; Convert File command
var $cmdToPic; Convert Picture command
var $toFileName; The converted file name
var $mpegComm;
Copy Code code as follows:
?
Define ("Root_dir", DirName (__file__));
Class Ecodeflv {
var $fromFile; The papers that came on
var $toFilePath; Save File path
var $toPicPath; Save Picture Path
var $mpeg; Path to Ffmpeg.exe file
var $mencode; Path to Mencode.exe file
var $cmdToFile; Convert File command
var $cmdToPic; Convert Picture command
var $toFileName; The converted FileName
var $mpegCom
Recently, due to the need to convert some videos from the FLV format to the AVI format, I wrote the following script to automate the conversion:
#! /Bin/bashffcmd = '/cygdrive/C/work-DIR/FFMPEG/ffmpeg.exe' # path to ffmpe tools # Check output directory existif! Test-d $2; then mkdir $ 2FI # Convert FLV to avifor F in
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 t
This article describes how to use codeigniter to upload a video and convert ffmpeg to flv. For more information, see
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
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
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
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.