Probably the best of ffmpeg encapsulation in android SDK for free;
Main features:
Increase the H264 encoder and the H264 decoder hardware, hardware processing speed greatly improve;
Increase in more than 40 common methods, writing all kinds of auxiliary processing class.
The SDK has run two years or so, the commercial APP200 +.
Free strategy:
The SDK has been running for two years or so, the commercial APP200 +, permanent free now.
The SDK does not access the network, local processing completely.
Individuals and companies can be commercial, do not need to show with us.
With our professional version upgrade regularly, maintain.
Encounter problems in the issue to solve;
We provide paid technology support and customization service, see below for details.
To use: -
1, a command to complete, blocking the execution:
VideoEditor editor=VideoEditor ();
Example 1: increased video watermarking:
"Is processed video"=editor. ExecuteOverLayVideoFrame (" video path ", "increase the image path", "x coordinates", "y");
Example 2: cut video length:
DstResult=editor. ExecuteCutVideo (" video path ", "start time" S ", "end time" S ");
Example 3: the picture cut:
DstResult=editor. ExecuteCropVideoFrame (" video path ", "x coordinates", "y", "cutting width", "cutting height");
2, we have encapsulated function
Replace the background music, sound mixing, more video stitching, joining together of different video sources, video image stitching, read the video frames, get all the frames, turn video images,
Reverse order, deceleration, images, audio mixing, audio transcoding, filling, scaling, compression, image, add text, video transcoding, turn video picture GIF, etc.;
- 3, if the list of function can't meet your needs, you can according to the command of ffmpeg expands itself, there are instructions in the code; -
1, VideoEditor other public methods:
1. SetonProgressListener (); The percentage of the//executeXXX executing progress;
2 setEncoderBitrate ();//to executeXXX specified rate;
3 VideoEditor. IsForceSoftWareEncoder=true;//forced executeXXX when encoding, use soft encoder;
4 the cancel ();//cancel the executing executeXXX;
5, when returns null, we provide the log collection, through getErrorLog false information is (). Most was caused by a video parameter errors.
2, wrote MediaInfo auxiliary class, which is used to quickly acquire the basic information of the video, actual parameters for you reference, use the following:
MediaInfo info=new MediaInfo (" to get the path to the video ");
{if (info. Prepare ())
; If returns true, get video width, height, and bit rate, frame rate, duration, encoder, the total number of frames, whether there is a B frame, rotation Angle, the audio sample rate, number of audio channels, audio bit rate, audio, video, video parameters such as rotation;
}
Also can use MediaInfo first determine the current video information;
3, file creation, deletion LanSongFileUtil. Java is convenient when you edit the various files created, deleted, judgment, etc.
Integration step
Direct import lansongsdk this module; At the beginning of the code, add the SDK initialization code:
LanSoEditor. InitSDK (getApplicationContext ());
We offer three kinds of instruction set: armeabi/armeabi - v7a/arm64 - v8a, for different needs. But mostly need a, we recommend keep armeabi - v7a, delete the other two after you import the project;
CodePudding user response:
CodePudding user response:
thank you very,,CodePudding user response:
CodePudding user response:
Thank you very, very thank you,,CodePudding user response:
Don't mention it, is now with the professional version update, add audio editing function, professional edition, support ae template, the layer structure, all of the material, a layer of a layer of editing,CodePudding user response:
The building Lord, there is no download, your side have any SDK, can send a, thank you very much!