Posts

Showing posts from August, 2020

android ndk-mediacodec samples

obejct-c declared properties (forward)

  forward from:  https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ObjectiveC/Chapters/ocProperties.html Declared Properties The Objective-C declared properties feature provides a simple way to declare and implement an object’s accessor methods. Overview You typically access an object’s properties (in the sense of its attributes and relationships) through a pair of accessor (getter/setter) methods. By using accessor methods, you adhere to the principle of  encapsulation  (see  Mechanisms Of Abstraction  in  Object-Oriented Programming with Objective-C ). You can exercise tight control of the behavior of the getter/setter pair and the underlying state management while clients of the API remain insulated from the implementation changes. Although using accessor methods therefore has significant advantages, writing accessor methods is a tedious process. Moreover, aspects of the property that may be important to consumers of the API are left obscured—such as whether

Video Editor--- KeyFrame

  There are two forms of video editing, active form and passive form, Passive form : means you make a lot of templates. After the user opens your app, it will be listed to let the user choose a style they like, and then replace the pictures, videos, text, and music inside to generate the user's own video. The advantage of this format is that if the user likes which template, he just needs to replace it. It is simple, direct, and very popular with users; this format is because the template is designed on the PC with Adobe After Effect (AE) software , We call it AE template SDK; Active form: The user has his own needs. He wants to actively adjust the video and edit the picture to complete his own video editing. We call it the video editing SDK. We recently launched a feature called key frame animation that users actively create by themselves. Let’s introduce the function and usage of key frames: Active form of key frame description That is, you set several states at specified tim