Comments (1)
There is Overlay Demo. Text should be rendered to an image and then added as overlay
Everything should be implemented by yourself. And then applied to timeline.
For example:
You can apply transformations to video like this:
trackItem.videoConfiguration.transform = <Your Transformation>
Or trim video:
let videoPlayableRange: ClosedRange<Double>
guard let exportSession = compositionGenerator.buildExportSession(outputURL: outputURL) else { return }
exportSession.timeRange = CMTimeRange(
start: CMTime(
seconds: videoDuration * videoPlayableRange.lowerBound,
preferredTimescale: CMTimeScale(NSEC_PER_SEC)
),
end: CMTime(
seconds: videoDuration * videoPlayableRange.upperBound,
preferredTimescale: CMTimeScale(NSEC_PER_SEC)
)
)
exportSession.exportAsynchronously {}
from cabbage.
Related Issues (20)
- TrackItem with ImageResource does not work in Timeline overlays HOT 2
- player background blur effect HOT 2
- 添加片段过多内存暴增
- Player add blur background HOT 6
- Use Kingfisher to report an error
- CIImage Memory leak HOT 2
- Overlay H.265 Video with Transparency HOT 4
- option to change number of frames on export
- Sound gone when scaled video HOT 1
- Multiple timelines HOT 1
- black screen when the audio overlay goes to finish HOT 2
- transition demo not work HOT 1
- 如何知道轨道和片段之间的关系
- Is this framework support multiple layer blend mode? HOT 1
- Capture the current frame in composed player item HOT 1
- avplayer seek后,影音不同步 HOT 1
- Exported video appears to be darker (colour shifting) HOT 3
- Orientation problem: some videos are rotated by 90 or 180 degrees
- Example of merging several videos in sequence
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cabbage.