Forgot password?
 Register now

[Delphi-C++Builder] Android (Java method) MP4 segmentation and splicing pdf

[Copy link]
Post time 4 day(s) ago | Show all posts |Read mode
This section describes how to cut MP4 files efficiently on Android.
Business requirement example: cutting a 2-minute MP4 file from 00:42 to 01:16 into video requires short enough execution time and as few errors as possible.
Analysis: mp4parser can only cut at keyframes. For example, if there is a cutable key frame at 00:40 and 00:45, the head and tail of the cut video should be cut short. Then the video with errors is very short. If the error is greater than 0.5s, ffmpeg is used to encode and decode the file frame by frame. In this way, the MP4 file can have up to three segments, and you can splice these three segments together again.
Key codes are listed directly below. These codes can also be implemented by creating a new Java project on the PC.


the last one:Android popupwindow imitation UC bottom menu
the next one:Development of Android Software Manager_ journal. docx

Use magic Report

Mobile version|Small black house|Chinese Version|I love source code

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved

About this site - Copyright statement - Ln Studio! - Advertising contact

The resources on this site come from the Internet and are only for user testing. The relevant copyright belongs to the original author.

快速回复 To Top 返回列表