Comments (1)
Yes. You can use the videoComposition property of an SDAVAssetExportSession object. For an example of how I do this (in Swift), see my VideoExport project - https://github.com/scottcarter/VideoExport
Look for the following call in ViewController.swift:
encoder.videoComposition = getVideoComposition(videoAsset, videoSize: videoSize)
The function getVideoComposition sets the video transform.
from sdavassetexportsession.
Related Issues (20)
- SDAVAssetExportSession takes long to save lengthy audio M4a files HOT 1
- How to add an extra layers?
- variable frame rate slo-mo vids?
- Video export cancelled
- processing .mp4 file generates a black screen video with audio. HOT 5
- Video export failed with error: Cannot create file (-3000)
- Crash when set audioSettings to nil HOT 1
- I get error as -[AVAssetWriter startSessionAtSourceTime:] invalid parameter not satisfying: CMTIME_IS_NUMERIC(startTime) when using sdavexportsession HOT 1
- customVideoCompositor HOT 1
- Scaling error in [buildDefaultVideoComposition] HOT 1
- multiple pass HOT 1
- Swift Version HOT 5
- The operation could not be completed (-11800) HOT 3
- Some App produce Video have wrong translation, add methods to correct that
- Video Export get some problem
- Pod not working
- Range for AVVideoAverageBitRateKey
- 有问题啊,作者,压缩完视频,大小也改了,不是全屏的了 HOT 2
- I found that the result of getting the video direction is not very accurate.
- Crypto LOCK33 Cyber Security HOT 1
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 sdavassetexportsession.