The AVFoundation framework provides both Objective-C and Swift interfaces for editing and playing audio-visual media in a Mac OSX or iOS application.
I have an app that allows a user to record a video with UIImagePickerController and then upload it to YouTube. …
objective-c ios video file-upload avfoundationMy app is landscape only. I'm presenting the AVCaptureVideoPreviewLayer like this: self.previewLayer = [[AVCaptureVideoPreviewLayer alloc] initWithSession:session]; [self.previewLayer setBackgroundColor:[[…
ios orientation avfoundation avcapturesession avcaptureI have just updated to Xcode 7 and swift 2 and finished fixing the errors that come with the transition. I finally …
macos avfoundation xcode7 dyldThe following used to work in Swift 1.2: var recordSettings = [ AVFormatIDKey: kAudioFormatMPEG4AAC, AVEncoderAudioQualityKey : AVAudioQuality.Max.rawValue, AVEncoderBitRateKey : 320000, AVNumberOfChannelsKey: 2, AVSampleRateKey : 44100.0] Now, …
ios swift swift2 avfoundation xcode7Is it possible to use the existing Apple system sounds in my own app? I would like to write a …
ios swift audio avfoundationI am building a MP3 player for iOS that plays audio files hosted on the web. I want to offer …
iphone ipad avfoundation avplayerI have been working on using a custom camera, and I recently upgraded to Xcode 8 beta along with Swift 3. I …
ios swift camera avfoundation swift3I'm having some problems getting a UIIMage from a CVPixelBuffer. This is what I am trying: CVPixelBufferRef pixelBuffer = CMSampleBufferGetImageBuffer(imageDataSampleBuffer); …
ios uiimage avfoundationI am using this code to play video file using avplayer how do I stop it [videoView setHidden:NO]; NSArray *…
objective-c avfoundation avplayerAs you see I'm streaming an audio broadcast. But when I press the home button and exit the app streaming …
ios swift audio avfoundation