avassetwriter Questions
0
So I'm trying to record videos using AVAssetWriter, process each camera frame (e.g.: adding some watermark or text overlays) by creating CIImage from camera buffer ( CVImageBuffer), add some filter...
Hierogram asked 9/10 at 11:3
2
Solved
I am using AVAssetExportSession to export a video out of my iOS app, like this:
AVAssetExportSession *exportSession=[AVAssetExportSession exportSessionWithAsset:composition presetName:AVAssetExpor...
Pollster asked 21/3, 2011 at 2:56
1
Solved
I have the following audio compression settings which fail with AVAssetWriter (mov container, HEVC codec, kAudioFormatMPEG4AAC format ID):
["AVSampleRateKey": 48000, "AVFormatIDKey&q...
Flyfish asked 31/10, 2022 at 14:40
3
I'm writing some frames to video with AVAssetWriterInputPixelBufferAdaptor, and the behavior w.r.t. time isn't what I'd expect.
If I write just one frame:
[videoWriter startSessionAtSourceTime:k...
Pontonier asked 27/4, 2011 at 18:8
4
Is AVAssetWriterInput's readyForMoreMediaData updated in a background thread? If readyForMoreMediaData is NO, can I block in the main thread and wait until the value changes to YES?
I'm using an A...
Papule asked 4/5, 2011 at 0:11
2
Solved
I'm building a video export feature for one of my apps. In essence, the video is a series of one of six different images lasting for different (short) durations.
The export works fine when I expo...
Gabelle asked 22/12, 2015 at 20:53
1
How to draw into CIImage (or maybe into CVPixelBuffer, but I guess it easier to add text to CIImage)? not to UIImage
I record video (.mp4 file) using AVAssetWriter and CMSampleBuffer (from video, ...
Bronk asked 1/3, 2018 at 11:34
5
Solved
iPhone 12/12 pro supports recording Dolby vision HDR video in 10 bit format instead of 8 bits but it is not clear from iOS 14.1 SDK if AVCaptureVideoDataOutput supports delivery of 10 bit sample bu...
Melodeemelodeon asked 14/10, 2020 at 16:17
2
Solved
I am creating this app of mine and shooting videos at 120 and 240 fps.
When I watch these videos on my mac I see these markers below the timeline.
These markers are editable and represent the a...
Alver asked 16/4, 2017 at 15:16
4
Solved
I'm trying to reverse audio in iOS with AVAsset and AVAssetWriter.
The following code is working, but the output file is shorter than input.
For example, input file has 1:59 duration, but output 1...
Diatomaceous asked 19/3, 2015 at 14:46
3
Solved
I am recording video (the user also can switch to audio only) with AVAssetWriter. I start the recording when the app is launched.
But the first frames are black (or very dark). This also happens wh...
Yurev asked 23/5, 2017 at 12:44
2
I'm attempting to merge an audio file with a video file using:
+ (void)CompileFilesToMakeMovie:(NSString *) audioPath {
NSLog(@"a");
AVMutableComposition* mixComposition = [AVMutableComposition co...
Intemperance asked 17/12, 2012 at 6:35
1
Solved
I am trying to capture video/Audio frames from CMSampleBuffer but completely failing to obtain a proper video recording.
Expected Output:
A Video file in .mp4 format that has both audio(from the mi...
Tisbee asked 25/11, 2020 at 8:8
2
I'm using ARVideoKit to record a screen (ReplayKit won't work for this) and sometimes I record and save with no problem. Other times I record and when I go to save I get a crash:
** Terminating ...
Yoong asked 10/2, 2020 at 8:36
1
Solved
I have a sample project for resizing videos that works well for most videos. However, AVAssetWriter fails to write the audio from specific videos with the error:
Error Domain=AVFoundationErrorDomai...
Reest asked 9/10, 2020 at 4:4
4
Solved
I am making a sample application that utilizes AVFoundation to record video. The whole point is so I can have more control over how the video is recorded. In my sample project I have the video capt...
Joyance asked 2/3, 2017 at 11:24
2
Solved
Does someone know how to use the AVAssetWriterInput init with more than 2 channels?
I'm trying to init an audioInput, to add it after on AVAssetWriter this way:
let audioInput = AVAssetWriterInp...
Uremia asked 7/4, 2018 at 0:31
1
Solved
I am trying to record a video with sound using iPhone's front camera. As I need to also support pause/resume functionality, I need to use AVAssetWriter. I've found an example online, written in Obj...
Weiman asked 1/5, 2020 at 17:27
3
Solved
I am recording filtered video through an iPhone camera, and there is a huge increase in CPU usage when converting a CIImage to a UIImage in real time while recording. My buffer function to make a C...
Gitt asked 24/1, 2019 at 19:36
1
I have an array of video recordings stored as AVURLAsset and I want to merge the videos into 1 clip so that they play back to back with no time in-between videos. Below is what I'm hoping to do, bu...
Fredenburg asked 16/3, 2020 at 21:28
2
Solved
I'm currently making a small app that timelapses the webcam on my mac, saves the captured frame to png, and I am looking into exporting the captured frames as a single video.
I use CGImage to hand...
Chinookan asked 10/3, 2015 at 15:56
2
Solved
I'm creating a Quicktime movie file using AVAssetWriter. Currently the output video is "upside down". In theory I can correct this by rotating the video 180 degrees about the horizontal axis (essen...
Adjoint asked 20/11, 2011 at 17:35
6
Solved
I'm sure something's wrong with my buffer attributes, but it's not clear to me what -- it's not well documented what's supposed to go there, so I'm guessing based on CVPixelBufferPoolCreate -- and ...
Bloodstain asked 27/4, 2011 at 21:43
2
Solved
How can I calculate the progress of an AVAssetWriter process? So if I have something like:
[assetWriterInput requestMediaDataWhenReadyOnQueue:queue usingBlock:^{
while (1){
if ([assetWriterInput...
Zena asked 26/10, 2010 at 22:38
1
Solved
I've been looking all over the web and can't seem to find a tutorial or help in what I need.
Using AVFoundation and the Dlib library I've created an app that can detect a face from real time video...
Levinson asked 6/7, 2018 at 11:21
1 Next >
© 2022 - 2024 — McMap. All rights reserved.