avmutablecomposition Questions

4

Solved

I have got two audio tracks on me that I combine with one another like this: AVMutableComposition *composition = [[AVMutableComposition alloc] init]; AVMutableCompositionTrack *compositionAudioTr...
Lysin asked 26/11, 2013 at 8:16

1

Solved

hello i'm combining two videos with AVMutableVideoComposition() and it works good with landscape videos and portrait videos downloaded from youtube but when try portrait video recorded in iPhone or...
Tiddlywinks asked 14/2, 2022 at 8:51

3

Solved

I want to concatenate two audio files into one. I had done following code. Please check below. - (BOOL)combineFiles{ AVMutableComposition *composition = [[AVMutableComposition alloc] init]; AVM...

3

This question is quite related to AVMutableComposition - Blank/Black frame between videos assets but as I am not using an AVAssetExportSession the answers doesn't fit my problem. I'm using an AVMu...
Tysontyumen asked 1/2, 2012 at 9:19

2

Solved

My goal is to compose a set of clips recorded from the camera and export them at a certain preferred size. Of course, the video orientation needs to be rotated before exporting. I'm doing this by ...
Milkman asked 26/3, 2013 at 23:13

3

Solved

I capturing a video using AVCaptureConnection in my iOS app. After that I add some images in the video as CALayers. Everything is working fine but I get a black frame at the very end of the resulti...

3

Solved

My question is, I am using the function below, to compose a video and audio. I want to keep video's original sound but it goes away somehow, I do not have any clue. I got this function from this ...
Mahala asked 25/7, 2017 at 21:20

1

I'm writing a piece of code that generates a slide show video from multiple images and multiple videos on iOS devices. I was able to do so with a single video and multiple images, but I'm not be ab...

3

Requirement : It sounds like litte different but this is what I want to achieve. I want to make movie (.mov) file in reverse. Just like how we rewind the movie file. I also want maintain same fram...
Coarsegrained asked 30/8, 2012 at 9:26

4

Solved

I've recorded a video with the front facing camera and the output is mirrored... I've tried using AVMutablecomposition and layerinstructions to flip the video but no luck. Googling and searching ...
Flashcube asked 10/12, 2015 at 11:30

3

Solved

I'm playing with the AVEditDemo project, from Apple's WWDC 2010 sample pack, and I'm trying to change the frame rate of the exported video. The video is exported using an AVMutableComposition on wh...

1

Solved

My app takes a video from a URL and allows you to add text to it, etc. It seems to crash when the video doesn't have any audio to begin with, can't seem to figure this out. This is what I have whe...
Clink asked 24/6, 2019 at 3:17

1

2019-04-10 10:49:51.590008+0500 VTKaraokeView[869:1039603] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for emp...
Olimpia asked 10/4, 2019 at 6:25

2

Solved

I have found a few examples that show how to add a text overlay on a video. Ray's Tutorial - http://www.raywenderlich.com/30200/avfoundation-tutorial-adding-overlays-and-animations-to-videos This...
Idaho asked 10/2, 2014 at 17:57

1

I have a CALayer in an AVMutableComposition that is faded in, should stay on screen for a while and then disappear. The problem is, it should disappear without an animation, but CABasicAnimation ha...
Tallith asked 29/8, 2013 at 9:25

3

Solved

I want to merge the AVAsset-arrayVideos into one single video and save it on camera roll. Raywenderlich.com has a great tutorial where two videos are merged into one. I've created the following cod...
Ofris asked 16/8, 2016 at 10:44

1

Solved

Everything works as expected if I turn off the mirroring on the front camera. However, if I turn it on, my final exported video has crucial resizing problems: This is how I currently manage the...
Jacobs asked 10/6, 2018 at 11:25

6

Solved

I have used below code to add image overlay over video and then export the new generated video to document directory. But strangely,video gets rotated by 90 degrees. - (void)buildTransitionCompos...
Slay asked 27/8, 2012 at 5:56

1

Assuming that we have two video assets (AVAsset objects), let's call them blank and main, where main is a video of random limited length, let's say 2-5 minutes, and blank is always a 4 second video...
Freebooter asked 10/8, 2017 at 9:52

2

Something like this I want to add current timestamp when recording is done in the video and save into camera roll. **Note **: I have successfully added current location and timestamp in AVVideoPre...

4

Solved

I am trying to un-mirror the mirror effect created by iPhone’s front facing camera while recording video. Basically, I want to flip the video captured by front facing camera along the horizontal ax...

3

Solved

I've recently discovered an issue using AVMutableComposition and I'm looking for some insight into this. I want to be able to record video in two orientations - landscape left and right. When I re...
Boyles asked 29/5, 2012 at 19:25

1

After exporting VideoAsset: the issues: Video orientation is not original transform Exported Video's layer seems to be always landscape. trying to: transform video layer orientation - rotate...
Subulate asked 16/7, 2017 at 10:19

5

Solved

Here's the code: AVAssetExportSession *exporter = [[AVAssetExportSession alloc] initWithAsset:mixComposition presetName:AVAssetExportPresetHighestQuality]; exporter.outputURL = outputUrl; export...

4

Solved

I am trying to combine a single video with a single image. This is not trying to combine many images into a single video such as create movie from [UIImage], Swift How do I export UIImage array ...
Racemic asked 27/6, 2016 at 5:11

© 2022 - 2024 — McMap. All rights reserved.