Questions tagged [avvideocomposition]

80 questions
0
votes
1 answer

Does a third-generation iPod Touch support video compositions?

In my project I use AVVideoComposition, it only works on iPhone 3GS and iPhone 4. On iPods and iPhone 3 it returns exception that this library is not supporting by that device, so is anybody know did the new iPod touch supports that or not?
Steve
  • 970
  • 3
  • 8
  • 19
0
votes
1 answer

AVMutableVideoComposition sometimes won't play video

I'm using this short snippet to set up my video. For some unknown reason - sometimes the video simply won't show up, while for other video it'll work perfectly. let videoTrack: AVAssetTrack = asset.tracksWithMediaType(AVMediaTypeVideo)[0] …
Roi Mulia
  • 5,626
  • 11
  • 54
  • 105
0
votes
0 answers

Animations rendered on Videos using AVVideoCompositionCoreAnimationTool behaves differently in Devices

I am trying to put some animated layers on top of videos using the AVVideoCompositionCoreAnimationTool. The speeds of the animations rendered are not consistent across all devices, ie I am forced to use different duration/fps for…
Xcoder
  • 1,762
  • 13
  • 17
0
votes
1 answer

No rendering with AVMutableVideoComposition

I have 3 videos that I am sequencing using an AVMutableComposition and then playing the video using an AVPlayer and grabbing the frames using an AVPlayerItemVdeoOutput. The video sequence is as follows: [Logo Video - n seconds][Main video - m…
Goz
  • 61,365
  • 24
  • 124
  • 204
0
votes
0 answers

While merging audio, both the audio come linearly though I want it to overlay

So, I try to use the following code in a 'for' loop to overlay the audio, but they are coming in linearly, with the last attached audio coming in first. [compositionAudioTrack insertTimeRange:CMTimeRangeMake(kCMTimeZero, CMTimeMake(5, 1))…
1 2 3 4 5
6