on OS X API, you use an AVAssetWriter object to write media data to a new file of a specified audiovisual container type, such as a QuickTime movie file or an MPEG-4 file, with support for automatic interleaving of media data for multiple concurrent tracks
Questions tagged [avassetwriter]
529 questions
0
votes
1 answer
AVAssetWriter record settings not working like AVAudioRecorder
I have successfully used these recording settings to create audio formatted into the needed format. However these settings only seemed to work with AVAudioRecorder. When I try them with AVAssetWriter I get an error stating that the…

owen gerig
- 6,165
- 6
- 52
- 91
0
votes
2 answers
Duration not appearing for after Video
I have recorded live video from the camera using AVCaptureVideoDataOuput and AVAssetWriter but the resulting video has no duration. Can anyone give a brief idea or a point in the general direction to get the duration working?

NebulaFox
- 7,813
- 9
- 47
- 65
0
votes
1 answer
Not getting resulted movie in PhotoLibrary iPad
i am creating a movie with an array of images and a audio file and saving that created movie to photo library, in simulator i am getting correct movie with my array of image and audio file but while running in device i am not getting my resulted…

Steve Gear
- 757
- 2
- 16
- 44
-2
votes
1 answer
Slow lottie animation video rendering with AVAssetWriter and AVAssetWriterInputPixelBufferAdaptor on iPhone X
I'm using this code (thanks damikdk) to render lottie animation to video:
https://github.com/damikdk/LottieExportDemo/blob/master/LottieExportDemo/ViewController.swift
I'm using the oldExport() in the previous file and these two methods (append and…

sold
- 314
- 1
- 3
- 11