¡@

Home 

2014/10/15 ¤U¤È 10:04:28

iphone Programming Glossary: avfoundation

Getting thumbnail from a video url or data in IPhone SDK

http://stackoverflow.com/questions/1347562/getting-thumbnail-from-a-video-url-or-data-in-iphone-sdk

share improve this question The answer to this question is that one can now with 4.0 iOS get thumbnails using AVFoundation the following code where the class property url is the movie url will do the trick you can get the thumbnail at any time..

iPhone SDK - How to play a video with transparency?

http://stackoverflow.com/questions/1401517/iphone-sdk-how-to-play-a-video-with-transparency

Any way to avoid this Thanks iphone share improve this question You'll need to build a custom player using AVFoundation.framework and then use a video with alpha channel. The AVFoundation framework allows much more robust handeling of video.. You'll need to build a custom player using AVFoundation.framework and then use a video with alpha channel. The AVFoundation framework allows much more robust handeling of video without many of the limitations of MPMedia framework. Building a custom..

Play sound on iPhone even in silent mode

http://stackoverflow.com/questions/3740528/play-sound-on-iphone-even-in-silent-mode

I to say you can't do it. You may have a good reason to be playing sound. If you are using Audio Sessions then include AVFoundation AVFoundation.h at the start of your file and AVAudioSession sharedInstance setCategory AVAudioSessionCategoryPlayback .. can't do it. You may have a good reason to be playing sound. If you are using Audio Sessions then include AVFoundation AVFoundation.h at the start of your file and AVAudioSession sharedInstance setCategory AVAudioSessionCategoryPlayback error nil should..

How do I export UIImage array as a movie?

http://stackoverflow.com/questions/3741323/how-do-i-export-uiimage-array-as-a-movie

iphone export uiimage avfoundation share improve this question Take a look at AVAssetWriter and the rest of the AVFoundation framework . The writer has an input of type AVAssetWriterInput which in turn has a method called appendSampleBuffer that..

Missing AVFoundation.framework

http://stackoverflow.com/questions/385530/missing-avfoundation-framework

AVFoundation.framework AVFoundation.framework is not where the documentation says it should be. I have iPhone SDK 2.2 installed never.. AVFoundation.framework AVFoundation.framework is not where the documentation says it should be. I have iPhone SDK 2.2 installed never had previous sdk versions.. folder but if I add it from that location then the compiler can't find the header files. I tried copying the entire AVFoundation.framework folder to System Library Framework but it still can't find the header files. How can I use AVFoundation classes..

How do I get my AVPlayer to play while app is in background?

http://stackoverflow.com/questions/4771105/how-do-i-get-my-avplayer-to-play-while-app-is-in-background

App plays audio Then add the AudioToolBox framework to the folder frameworks. In the APPNAMEAppDelegate.h add #import AVFoundation AVFoundation.h #import AudioToolbox AudioToolbox.h so it look like this ... #import UIKit UIKit.h #import AVFoundation AVFoundation.h.. Then add the AudioToolBox framework to the folder frameworks. In the APPNAMEAppDelegate.h add #import AVFoundation AVFoundation.h #import AudioToolbox AudioToolbox.h so it look like this ... #import UIKit UIKit.h #import AVFoundation AVFoundation.h.. AVFoundation AVFoundation.h #import AudioToolbox AudioToolbox.h so it look like this ... #import UIKit UIKit.h #import AVFoundation AVFoundation.h #import AudioToolbox AudioToolbox.h ... In the APPNAMEAppDelegate.m add the following Set AudioSession NSError..

Drawing waveform with AVAssetReader

http://stackoverflow.com/questions/5032775/drawing-waveform-with-avassetreader

in case someone can improve on the algorithm used. You'll need these imports #import MediaPlayer MediaPlayer.h #import AVFoundation AVFoundation.h First a generic rendering method that takes a pointer to averaged sample data and returns a UIImage. Note.. can improve on the algorithm used. You'll need these imports #import MediaPlayer MediaPlayer.h #import AVFoundation AVFoundation.h First a generic rendering method that takes a pointer to averaged sample data and returns a UIImage. Note these samples..

How do you create a custom camera view, instead of UIImagePickerViewController?

http://stackoverflow.com/questions/5156417/how-do-you-create-a-custom-camera-view-instead-of-uiimagepickerviewcontroller

and provide your own user interface using cameraOverlayView . The more difficult but more flexible way is to use the AVFoundation classes particularly AVCaptureVideoPreviewLayer and AVCaptureStillImageOutput to construct your own camera. share improve..

How to apply “filters” to AVCaptureVideoPreviewLayer

http://stackoverflow.com/questions/5156872/how-to-apply-filters-to-avcapturevideopreviewlayer

to apply &ldquo filters&rdquo to AVCaptureVideoPreviewLayer My app is currently using AVFoundation to take the raw camera data from the rear camera of an iPhone and display it on an AVCaptureVideoPreviewLayer in real time...

AVFoundation + AssetWriter: Generate Movie With Images and Audio

http://stackoverflow.com/questions/5640657/avfoundation-assetwriter-generate-movie-with-images-and-audio

AssetWriter Generate Movie With Images and Audio I have to export a movie from my iPhone application which contains UIImage..

Free barcode scanner SDK for iOS (iPhone) [closed]

http://stackoverflow.com/questions/5659380/free-barcode-scanner-sdk-for-ios-iphone

Make movie file with picture Array and song file, using AVAsset

http://stackoverflow.com/questions/6061092/make-movie-file-with-picture-array-and-song-file-using-avasset

However the status of AssetWriterInput of audio file is always NO . My question How to add audio to a video file using AVFoundation So please can someone help me by telling me if I forget something or if something is wrong. Thank you very much iphone..

How to combine video clips with different orientation using AVFoundation

http://stackoverflow.com/questions/6575128/how-to-combine-video-clips-with-different-orientation-using-avfoundation

to combine video clips with different orientation using AVFoundation I am trying to combine several video clips into one using AVFoundation. I can create a single video using AVMutableComposition.. video clips with different orientation using AVFoundation I am trying to combine several video clips into one using AVFoundation. I can create a single video using AVMutableComposition using the code below AVMutableComposition composition AVMutableComposition..

iPhone Watermark on recorded Video.

http://stackoverflow.com/questions/7205820/iphone-watermark-on-recorded-video

not available for iPhone. Thanks in Advance. iphone watermark video watermarking share improve this question Use AVFoundation . I would suggest grabbing frames with AVCaptureVideoDataOutput then overlaying the captured frame with the watermark image..

Application crashed while importing songs from Ipod library in Iphone for iOs 5.0

http://stackoverflow.com/questions/8077725/application-crashed-while-importing-songs-from-ipod-library-in-iphone-for-ios-5

5.0 Hello i am using below framworks #import MediaPlayer MediaPlayer.h #import AudioToolbox AudioToolbox.h #import AVFoundation AVFoundation.h In one of button event i have implemented below code to open Library. MPMediaPickerController mediaPicker.. i am using below framworks #import MediaPlayer MediaPlayer.h #import AudioToolbox AudioToolbox.h #import AVFoundation AVFoundation.h In one of button event i have implemented below code to open Library. MPMediaPickerController mediaPicker MPMediaPickerController..

iOS: Get pixel-by-pixel data from camera

http://stackoverflow.com/questions/10865100/ios-get-pixel-by-pixel-data-from-camera

So Can this be done If so how Would I be getting raw image data or data that's been JPEG compressed iphone ios camera avfoundation pixel share improve this question AV Foundation can give you back the raw bytes for an image captured by either the..

iOS 4: Remote controls for background audio

http://stackoverflow.com/questions/3456435/ios-4-remote-controls-for-background-audio

the song to just pause for a moment and then unpause or somehow causes the song to play twice. iphone audio ios4 avfoundation share improve this question The documentation examples are a bit misleading but there is no need to subclass anything..

How to properly release an AVCaptureSession

http://stackoverflow.com/questions/3741121/how-to-properly-release-an-avcapturesession

removeFromSuperlayer previewLayer release session stopRunning session release iphone multithreading ios camera avfoundation share improve this question Here's the best solution I've found so far. The basic idea is to use the finalizer of the..

How do I export UIImage array as a movie?

http://stackoverflow.com/questions/3741323/how-do-i-export-uiimage-array-as-a-movie

so. I hope someone can help me or send me a code snippet which does something like I want. Thx iphone export uiimage avfoundation share improve this question Take a look at AVAssetWriter and the rest of the AVFoundation framework . The writer has..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

http://stackoverflow.com/questions/3847140/iphone-sdk-4-avfoundation-how-to-use-capturestillimageasynchronouslyfromconnec

addOutput stillImageOutput self.captureSession commitConfiguration self.captureSession startRunning iphone camera avfoundation share improve this question We had this problem when 4.0 was still in beta. I tried a fair bunch of things. Here goes..

Recording Video in iPhone using AVFoundation Framework(AVCaptureSession)?

http://stackoverflow.com/questions/3862402/recording-video-in-iphone-using-avfoundation-frameworkavcapturesession

either save in my device or upload it to my server....How can i achieve this using AVFoundation framework iphone ios4 avfoundation share improve this question Check out the sample code from the WWDC 2010 http developer.apple.com videos wwdc 2010 for..

ASSETWriterInput for making Video from UIImages on Iphone Issues

http://stackoverflow.com/questions/3983882/assetwriterinput-for-making-video-from-uiimages-on-iphone-issues

writerInput isReadyForMoreMediaData BOOL success writerInput appendSampleBuffer sampleBuffer iphone image video avfoundation share improve this question I found that for some reason I needed to append the buffer more than once. The timing in..

Reading samples via AVAssetReader

http://stackoverflow.com/questions/4049207/reading-samples-via-avassetreader

just to create an AVAssetReader and read through it getting each sample Thanks. iphone objective c cocoa touch avfoundation share improve this question It's unclear from your question whether you are talking about video samples or audio samples...

Pre-buffering for AVQueuePlayer

http://stackoverflow.com/questions/4218090/pre-buffering-for-avqueueplayer

in the docs to suggest this I'm asking mostly if anyone has observed this kind of behavior or not. iphone objective c avfoundation avplayer share improve this question Ok I've looked over this problem again and written some code to check out AVQueuePlayer..

AVFoundation, how to turn off the shutter sound when captureStillImageAsynchronouslyFromConnection?

http://stackoverflow.com/questions/4401232/avfoundation-how-to-turn-off-the-shutter-sound-when-capturestillimageasynchrono

. So far the program works as expected. However how can I mute the shutter sound. Thanks iphone cocoa touch camera avfoundation share improve this question Method 1 Not sure if this will work but try playing a blank audio file right before you..

What's the best way of live streaming iphone camera to a media server?

http://stackoverflow.com/questions/4474871/whats-the-best-way-of-live-streaming-iphone-camera-to-a-media-server

fast enough for real time streaming Any help will be really appreciated. Thanks. iphone ios4 ffmpeg video streaming avfoundation share improve this question You most likely already know.... 1 How to get compressed frames and audio from iPhone's..

Can use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time?

http://stackoverflow.com/questions/4944083/can-use-avcapturevideodataoutput-and-avcapturemoviefileoutput-at-the-same-time

same experience or explain It's really bother me for a while time. thanks. € iphone image processing video capture avfoundation share improve this question I can't answer the specific question put but I've been successfully recording video and..

Reading audio samples via AVAssetReader

http://stackoverflow.com/questions/4972677/reading-audio-samples-via-avassetreader

getting each sample and throwing the int32 of each audio sample into an array Thanks. iphone objective c cocoa touch avfoundation share improve this question To expand on @amrox's answer you can get an AudioBufferList from the CMBlockBufferRef e.g...

How to apply “filters” to AVCaptureVideoPreviewLayer

http://stackoverflow.com/questions/5156872/how-to-apply-filters-to-avcapturevideopreviewlayer

my goal As I mentioned I am not looking to capture any of the AVCaptureSession's video merely preview it. iphone avfoundation avcapturesession share improve this question Probably the most performant way of handling this would be to use OpenGL..

AVFoundation + AssetWriter: Generate Movie With Images and Audio

http://stackoverflow.com/questions/5640657/avfoundation-assetwriter-generate-movie-with-images-and-audio

might cause a problem guide me about how to use a AVMutableComposition to use the image array for video export iphone avfoundation avassetwriter avmutablecomposition share improve this question I ended up exporting the video separately using the above..

Playing many different videos on iphone using AVPlayer

http://stackoverflow.com/questions/6258573/playing-many-different-videos-on-iphone-using-avplayer

If anyone has any advice regarding Core Animation leaks it will be very well received. iphone xcode ipad media player avfoundation share improve this question I FINALLY SOLVED IT. The design I had was indeed very poor It had a very bad memory management..

How to combine video clips with different orientation using AVFoundation

http://stackoverflow.com/questions/6575128/how-to-combine-video-clips-with-different-orientation-using-avfoundation

clips and use then in the composition AVMutableComposition Any help would be appreciated iphone objective c ios video avfoundation share improve this question AVMutableComposition composition AVMutableComposition composition AVMutableCompositionTrack..

Having trouble creating UIImage from CIImage in iOS5

http://stackoverflow.com/questions/7788438/having-trouble-creating-uiimage-from-ciimage-in-ios5

NSNumber numberWithInt kCVPixelFormatType_32BGRA forKey id kCVPixelBufferPixelFormatTypeKey iphone ios avfoundation ios5 core image share improve this question This might help. I was having the same issue image not being drawn to screen..

iOS 5.0 crash when reading data from an AVAssetReaderOutput

http://stackoverflow.com/questions/7812394/ios-5-0-crash-when-reading-data-from-an-avassetreaderoutput

totalBuff CFRelease blockBuffer CFRelease ref fileHandle writeData data data release Thanks Daniel iphone ios audio avfoundation ios5 share improve this question I actually fixed this by checking that blockBuffer was null and continuing if it was..

AVPlayerItem fails with AVStatusFailed and error code “Cannot Decode”

http://stackoverflow.com/questions/8608570/avplayeritem-fails-with-avstatusfailed-and-error-code-cannot-decode

video four times with no problem so all of a sudden it fails So if anyone has a clue please let me know. iphone ios avfoundation avplayer share improve this question Ok everyone I have the answer to this straight from Apple. I used one of my developer..