objective-c,audio,video,avfoundation,avassetwriterRelated issues-Collection of common programming errors


  • user1118321
    objective-c cocos2d-iphone
    What does this error mean ? Following is my code. But I don’t see anything wrong -(id) init {if( (self=[super init] )) {CGSize winSize = [[CCDirector sharedDirector] winSize];CCSprite *player = [CCSprite spriteWithFile:@”Player.png” rect:CGRectMake(0, 0, 27, 40)];player.position = ccp(player.contentSize.width/2, winSize.height/2);[self addChild:player]; }if( (self=[super initWithColor:ccc4(255,255,255,255)] )) {}return self; }

  • Jim Thio
    objective-c xcode4.3 autorelease
    from: In which situations do we need to write the __autoreleasing ownership qualifier under ARC?( BOOL )save: ( NSError * __autoreleasing * );The compiler will then have to create a temporary variable, set at __autoreleasing. So:NSError * e = nil; [ database save: &error ];Will be transformed to:NSError __strong * error = nil; NSError __autoreleasing * tmpError = error; [ database save: &tmpError ]; error = tmpError;Okay, now the transformed code seems to work just fine. At the end I exp

  • Hermann Klecker
    objective-c button
    I have a problem with my Xcode app, When I push a button, my app crashes.Here is my button’s action, I also declared variables, strings, etc… but it isn’t in this code:{NSLog(@” – Writing Data.plist Labels”);NSString *error;NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];NSString *plistPath = [rootPath stringByAppendingPathComponent:@”Data.plist”];NSDictionary *plistDict = [NSDictionary dictionaryWithObjects:[NSArray arrayW

  • gadgetmo
    objective-c ios xcode exc-bad-access
    I have got this code which creates an image:NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; background = [[UIImageView alloc]initWithFrame:CGRectMake(150, 60, 180, 180)]; result = [[UIImageView alloc]initWithFrame:CGRectMake(150, 60, 180, 180)]; [background setImage:[UIImage imageNamed:[defaults objectForKey:@”colour”]]]; [self.view addSubview:background]; [self.view insertSubview:result aboveSubview:background];This is in my viewWillAppear. When I press a button, this happens:

  • borrrden
    objective-c gnustep
    I am new to objecive-c, i have ubuntu machine and compiling objective-c using GNUStep. I wrote the following code:#import <objc/objc.h> #import <Foundation/Foundation.h> #import <objc/NSArray.h>int main ( int argc, char ** argv) {int ar[100] = {0};int i;NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];NSArray *arr = [[NSArray alloc] initWithObjects:@”stackOverflow”, @”1″, @”2″, nil]; NSLog (@ “Counts in the array %i”, [arr count]);@try {NSString *str;str = [arr object

  • Brock Woolf
    objective-c cocoa cocoa-touch nsstring
    I have an NSString like so:@”200hello”or @”0 something”What I would like to be able to do is take the first occuring number in the NSString and convert it into an int. So that @”200hello” would become int = 200.and @”0 something” would become int = 0.

  • Bartosz Ciechanowski
    objective-c lambda objective-c-blocks continuations structured-programming
    When using methods which return blocks they can be very convenient. However, when you have to string a few of them together it gets messy really quicklyfor instance, you have to call 4 URLs in succession:[remoteAPIWithURL:url1 success:^(int status){[remoteAPIWithURL:url2 success:^(int status){[remoteAPIWithURL:url3 success:^(int status){[remoteAPIWithURL:url2 success:^(int status){//succes!!!}];}];}]; }];So for every iteration I go one level deeper, and I don’t even handle errors in the nested

  • Rakhe Kara
    ios iphone objective-c cocoa-touch
    Actually this crash is not reproducing every time, even not frequently but we got this crash in our production app. I am not sure where is the problem. It is telling crash is happening in thread 4 in Environments class line number 38.Code:NSBundle* bundle = [NSBundle mainBundle];NSString* envsPListPath = [bundle pathForResource:@”Environment” ofType:@”plist”];Line 38: NSDictionary *environments = [[NSDictionary alloc] initWithContentsOfFile:envsPListPath];But according to exception type:00000020

  • Musterknabe
    ios objective-c
    I have the following problem. I have a Model, called User. When the user now logins with Facebook, my app checks if the user exists already in the database. To not freeze the UI (since I’m coming from Android) I thought to use NSURLConnection sendAsynchronousRequest. What worked at first was the following:My User Model had a method to do the whole task of the AsynchronousRequest and then when finished would set a variable to loading. Then other classes, could simply check with while ( !user.loa

  • Josh Bradley
    objective-c sockets bsd-sockets
    Ok, I have a problem with building a socket using Objective-C. If you’ll take a look at my code below, through help with example code and other sources, I was able to build a complete socket I believe. The problem is that when I compile it, it builds fine (no syntax problems), but there are no sockets being created. As you’ll notice I’ve commented out a lot of things in Server2.m and have isolated the problem to the very beginning when I create the struct for the listeningSocket. By the way, if

  • Rashad
    java android audio runtime
    i am working on equalier app and no errors in code at all. when I run app on phone it force colses, I logcated and this is result03-22 02:49:17.945: E/AndroidRuntime(4318): at android.media.audiofx.Equalizer.<init>(Equalizer.java:149)03-22 02:50:34.796: E/AndroidRuntime(4423): at android.media.audiofx.Equalizer.<init>(Equalizer.java:149)I tried on android gingerbread kitkat and jellybeanthis is the main activity code:public class MainActivity extends Activityimplements SeekBar.

  • ramirezd42
    java android audio
    I’m working on an Android program that needs to playback audio files repeatedly with very exact timing (music program).I’m using an “AudioTrack” right now that has the PCM data loaded in from a WAV sample.here is the code im testing this feature out with. it just loops until its time to play the sample, then plays it, and repeats this 8 times. Here is the code that I am using, let me know if you need to see more:class Sequencer {private final double BPM = 120;private final double BPMS = (BPM / 6

  • nsgulliver
    android audio record
    I am trying record sound, but have the following error: 01-01 02:56:41.679: E/AudioRecord-JNI(3198): Error creating AudioRecord instance: initialization check failed. 01-01 02:56:41.679:E/AudioRecord-Java(3198): [ android.media.AudioRecord ] Error code -20when initializing native AudioRecord object.My code is as follows:package com.example.test_new;import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOExceptio

  • Alex Cohn
    android audio android-ndk alsa
    I9505 runs on APQ8064T and the way how the HAL layer set up the in-call voice recording audio path on the chipset has changed compared to the previous generation MSM8960. Now, in addition to set correct Mixer controls in Kernel, it also requires sending some sort of “magic” commands through libcsd-client.so (Qualcomm proprietary, close source) library to the baseband modem.Google does this for the Nexus 4 (runs APQ8064) at the HAL layer by dlsym the libcsd-client.so (see the csd_start_record fun

  • AndiM
    android audio android-mediaplayer sd-card
    I am playing .wav file from sd card but it gives me error like this–Media Player error (1, -2147483648) java.io.IOException: Prepare failed.: status=0x1 at android.media.MediaPlayer.prepare(Native Method)I am merging two wav file and stored it into sd card.A file without merge is playing well but the file being merged and stored to sd card is not played.It gives me above error.The file path from where to play merge file is correct as the saved on sd card.But yet it gives the error.What should b

  • Rob Haupt
    android audio ffmpeg android-ndk
    I can play Wav files using the below code without issues. When trying to play the exact same media in Mp3 format I only get garbled junk. I believe I am fundamentally misunderstanding how the avcodec_decode_audio3 function works.Since the Wav file contains PCM data when it is decoded it can go straight to the AudioTrack.write function. There must be some additional step to get Mp3s to work like this. I don’t know what I’m missing, but I’ve been pulling my hair out for a week now.Java Codepac

  • dcow
    android audio surfaceview android-mediaplayer
    I have a MediaPlayer in a Fragment which retains its instance on configuration changes. The player is playing a video loaded from my assets directory. I have the scenario set up with the goal of reproducing the YouTube app playback where the audio keeps playing during the configuration changes and the display is detached and reattached to the media player. When I start the playback and rotate the device, the position jumps forward about 6 seconds and (necessarily) the audio cuts out when this

  • user2025116
    ruby audio gem
    Please help me to install ruby-audio 1.6.1ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]Libsndfile 1.0.25 already installed.Here is log:gem install ruby-audio-1.6.1.gem Building native extensions. This could take a while… ERROR: Error installing ruby-audio-1.6.1.gem:ERROR: Failed to build gem native extension./usr/bin/ruby1.9.1 extconf.rb checking for sndfile.h in /opt/local/include,/usr/local/include,C:/Program Files (x86)/Mega-Nerd/libsndfile/include,C:/Program Files/Mega-Nerd/lib

  • Ian
    android audio ime
    I am trying to understand and resolve and error I am seeing in the Eclipse workspace log while working on an Android app that implements an IME. I am new to Android and Eclipse.The error is “com.utterkaos.keyboard.LatinKeyboardView failed to instantiate.”The associated stack trace is:java.lang.UnsupportedOperationException: Unsupported Service: audioatcom.android.layoutlib.bridge.android.BridgeContext.getSystemService(BridgeContext.java:434)atandroid.inputmethodservice.KeyboardView.(KeyboardView

  • InnocentKiller
    java php android audio file-upload
    I am trying to upload audio file to server when recording of audio get finished. I am setting audio.mp3 as default file name of audio while starting recording and storing inside SD-card. After recording get finished on button click event i am renaming audio name and trying to upload it to my server.But unfortunately i am getting error. My app is stopping unfortunately, in logcat i got below error. 01-30 15:08:58.452: E/Debug(1686): error: /storage/sdcard/filetoupload/1391074738276.mp3: open fail

  • Jorge Castro
    10.10 installation video intel-graphics
    I recently purchased an HP Omni 200xt with integrated Intel graphics. I attempted to use the Ubuntu Live CD, but couldn’t get it to display anything (only the first screen with the little keyboard and “equals” logo). I tried the alternate CD and the installation appeared to go through without a hitch. But now when I boot, I again don’t get any video. Though I can hear the “login” sound a few seconds after booting, the screen is black. I’m not sure how to proceed… any suggestions?Followed instr

  • jmendeth
    11.04 video compiling kernel-modules
    I’m trying to install AVLD 1.4 on Natty.I’ve unpacked the files, but when I compile them with make, it fails:make -C /lib/modules/2.6.38-8-generic-pae/build M=/home/jmendeth/Downloads/avld_0.1.4 modules make[1]: entering «/usr/src/linux-headers-2.6.38-8-generic-pae»CC [M] /home/jmendeth/Downloads/avld_0.1.4/video_device.o /home/jmendeth/Downloads/avld_0.1.4/video_device.c:23:28: fatal error: linux/videodev.h: No such file or directory compilation terminated. make[2]: *** [/home/jmendeth/Downloa

  • guntbert
    video games
    I am getting troubles running super meat boy. In the console I get this:Fatal Error: Could not open file: resources/Shaders/ShaderMacros.h Returned Error: 2 (No such file or directory)Also, while loading normally, it just appears a black window with “super meat boy” name and then fades out What can help it?

  • Jorge Castro
    10.10 video vmware effects
    I am running on a Windows 7 64 bit host. I’m use with VMware Player.Ubuntu 10.10.And, i get to Visual Effect, and when i press “normal” i get this error:Desktop effects could not be enabledand if i press: compiz:compiz (core) – Fatal: Softwarerendering detected. compiz (core) -Error: Failed to manage screen: 0compiz (core) – Fatal: No manageablescreens found on display :0.0What i can to do?

  • Hesam
    android video camera record
    In my application I need to have live streaming (music), buffer it and when it is finished, play it and capture video (video together with music which is playing, something like Karaoke). the problem is When I run the application, Log cat shows me following messages. what is the reason of application lost the surface?05-05 15:43:48.929: D/MediaRecorder(4745): doCleanUp 05-05 15:43:49.519: E/MediaRecorderJNI(4745): Application lost the surface 05-05 15:43:49.542: D/***VideoRecording***(4745): IOE

  • A LOFTON
    android video forceclose
    When capturing video, I utilize: cameraIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);cameraIntent.putExtra(MediaStore.EXTRA_SCREEN_ORIENTATION, ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);cameraIntent.putExtra(MediaStore.EXTRA_DURATION_LIMIT, 3000);cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, vidUri);startActivityForResult(cameraIntent, 1447);This code used to work, but now if I specify a URI that is not null, the camera force closes before it shows the “Save” and “Delete” buttons. If I

  • Vamsi Challa
    android html5 video android-webview
    I have read almost tens of questions on this on StackOverflow, but couldn’t get any reliable solution. I have an activity in which I am displaying videos from server. The videos are HTML5 and hence, i am using a HTML5WebView(just some methods overriden to support playing HTML5 videos, actually taken from a library somwhere on internet).The videos are playing fine on Nexus5 with 4.4.2, but when playing on 2.3.6 and 2.3.5, there is a memory leak and the application crashes. I am not sure how to ge

  • MrOrelliOReilly
    android video plugins cordova youtube
    Possibly related: Plugin videoPlayer PhoneGap not workingI’m trying to play youtube videos from my PhoneGap 3.0 application for Android but have had a lot of trouble. Following several suggestions on stackoverflow I installed the android video player plugin (https://github.com/macdonst/VideoPlayer). However the program fails to run when I use phonegap run android from the terminal. Does this plugin not work on PhoneGap 3.0 / should I revert to an older version of phonegap?This is pertinent outpu

  • InnocentKiller
    android video file-upload
    I am trying to upload video file to server when recording of video get finished. I am setting video.mp4 as default file name of video while starting recording and storing inside SD-card. After recording get finished on button click event i am renaming video name and trying to upload it to my server. But unfortunately i am getting error. My app is not stopping unfortunately or anything but when i check on server video file is not getting updated, in logcat i got below error.01-29 12:52:41.116: E/

  • Ben Holmes
    ios image video monotouch camera
    I have been attempting to do some real time video image processing in MonoTouch. I’m using AVCaptureSession to get frames from the camera which works with an AVCaptureVideoPreviewLayer.I also successfully get the callback method “DidOutputSampleBuffer” in my delegate class. However every way that I have tried to create a UIImage from the resulting CMSampleBuffer fails.Here is my code setting up the capture session:captureSession = new AVCaptureSession ();captureSession.BeginConfiguration ();vide

  • Darren Reely
    iphone cocoa cocoa-touch avfoundation
    First time asking a question here. I’m hoping the post is clear and sample code is formatted correctly.I’m experimenting with AVFoundation and time lapse photography.My intent is to grab every Nth frame from the video camera of an iOS device (my iPod touch, version 4) and write each of those frames out to a file to create a timelapse. I’m using AVCaptureVideoDataOutput, AVAssetWriter and AVAssetWriterInput.The problem is, if I use the CMSampleBufferRef passed to captureOutput:idOutputSampleBuffe

  • jlw
    ios avfoundation avasset avassetreader
    After implementing the solution to encoding video (with audio) in this question, Video Encoding using AVAssetWriter – CRASHES, I found that the code works correctly in the iPhone Simulator. Unfortunately, certain videos fail to encode their audio while running on an actual iPhone 5 (and other devices).For example, videos generated from the WWDC 2011 sample code RosyWriter (https://developer.apple.com/library/IOS/samplecode/RosyWriter/Introduction/Intro.html) do not completely encode because the

  • Luka
    ios avfoundation
    I’m trying to use the method appendPixelBuffer:withPresentationTime: of the class AVAssetWriterInputPixelBufferAdaptor. I really struggle to understand how the parameter presentationTime is meant to be used.Let’s consider for example the case where I have to create a video of 4.32 seconds with an image.what I’m doing right now is to create a buffer with the imageCVPixelBufferRef buffer = ….and then using [adaptor appendPixelBuffer:buffer withPresentationTime:presentationTime];I’ve tried both

  • SpacyRicochet
    iphone cocoa-touch avfoundation avplayer live-streaming
    I’m trying to create a more generic media controller for several types of streaming media and want to adapt the UI to the type of stream;When it’s an on-demand file stream (i.e. a single MP3 file that’s being streamed), you should be able to seek forward and backward. Thus, the seek slider should be visible. When it’s a live stream, it isn’t possible to seek forward and backward, and thus the seek slider should be hidden.Is there any way to determine from the AVPlayer (or perhaps the AVPlayerIte

  • Gaurav Garg
    ios iphone objective-c xcode avfoundation
    I want to control the shutter speed of the AVCaptureDevice.By doing search on google I found this change shutter speed and came to know that there are runtime headers methods for AVCaptureDevice that are not available under the developer.apple.So found that we can use these methods: 1.Using O-tool -But seems this is outdated or stopped by Apple. 2.Class -dump. The second one class-dump.I tried to use but not successful.I have downloaded the class-dump file and use the terminal command line but

  • Codo
    iphone multithreading ios camera avfoundation
    I’m using the AV Foundation classes to capture the live video stream from the camera and to process the video samples. This works nicely. However, I do have problems properly releasing the AV foundation instances (capture session, preview layer, input and output) once I’m done.When I no longer need the session and all associated objects, I stop the capture session and release it. This works most of the time. However, sometimes the app crashes with a EXEC_BAD_ACCESS signal raised in second thread

  • Topsakal
    ios ios7 avfoundation
    One of the apps that I have developed long ago (compiled for iOS 4) started to crash after iOS7 update. I opened the app using XCode 5 and tried to compile. I am getting an error from AVSpeechSynthesis.h file. My app’s main functionality is to play mp3 audio files. In the header of the .mm file that plays audio, I have the following headers:#import <Foundation/Foundation.h> #import <AudioToolbox/AudioToolbox.h> #import <AudioToolbox/AudioServices.h> #import <CoreGraphics/Cor

  • lunadiviner
    objective-c ios xcode avfoundation
    I am trying to implement video capture in my app using AVFoundation. I have the following code under viewDidLoad:session = [[AVCaptureSession alloc] init]; movieFileOutput = [[AVCaptureMovieFileOutput alloc] init]; videoInputDevice = [[AVCaptureDeviceInput alloc] init]; AVCaptureDevice *videoDevice = [self frontFacingCameraIfAvailable];if (videoDevice) {NSError *error;videoInputDevice = [AVCaptureDeviceInput deviceInputWithDevice:videoDevice error:&error];if (!error){if ([session canAddInput

  • adbie
    iphone ios opengl-es-2.0 avfoundation video-processing
    I need to process the video frames from a remote video in real-time and present the processed frames on screen.I have tried using AVAssetReader but because the AVURLAsset is accessing a remote URL, calling AVAssetReader:initWithAsset will result in a crash.AVCaptureSession seems good, but it works with the camera and not a video file (much less a remote one).As such, I am now exploring this: Display the remote video in an AVPlayerLayer, and then use GL ES to access what is displayed. Questions:H

  • user1754032
    objective-c audio video avfoundation avassetwriter
    I’m trying to take a video created using the iVidCap plugin and add audio to it. Basically the exact same thing as in this question: Writing video + generated audio to AVAssetWriterInput, audio stuttering. I’ve used the code from this post as a basis to try and modify the iVidCap.mm file myself, but the app always crashes in endRecordingSession.I’m not sure how I need to modify endRecordingSession to accomodate for the audio (the original plugin just creates a video file). Here is the function:-

  • Angus Forbes
    ios video xcode4 opengl-es-2.0 avassetwriter
    I am at my wits end here despite the good information here on StackOverflow…I am trying to write an OpenGL renderbuffer to a video on the iPad 2 (using iOS 4.3). This is more exactly what I am attempting:A) set up an AVAssetWriterInputPixelBufferAdaptorcreate an AVAssetWriter that points to a video file set up an AVAssetWriterInput with appropriate settings set up an AVAssetWriterInputPixelBufferAdaptor to add data to the video fileB) write data to a video file using that AVAssetWriterInputPix

  • user1754032
    objective-c audio video avfoundation avassetwriter
    I’m trying to take a video created using the iVidCap plugin and add audio to it. Basically the exact same thing as in this question: Writing video + generated audio to AVAssetWriterInput, audio stuttering. I’ve used the code from this post as a basis to try and modify the iVidCap.mm file myself, but the app always crashes in endRecordingSession.I’m not sure how I need to modify endRecordingSession to accomodate for the audio (the original plugin just creates a video file). Here is the function:-

  • Denis Otkidach
    iphone video-streaming http-live-streaming live-streaming avassetwriter
    I started working on HTTP live Streaming protocol and felt very interesting. Went through the complete document provided by Apple.I tried Vedio On Demand and Live Streaming as well using VLC player as the streaming server following the steps mentioned in one of the developer forums and I’m able to stream it successfully.Now I want my iPhone to be the source for streaming and want to use another iPhone to view that content.As mentioned, mediastreamsegmenter is a tool which receives an MPEG-2 tran

  • Bavarious
    ios cocoa-touch avfoundation avassetwriter
    I am trying to append CGPixelBufferRefs to an AVAssetWriterInput to create a QuickTime movie.I’m using the following code:BOOL __block shouldContinue = YES;[self.assetWriterInput requestMediaDataWhenReadyOnQueue:dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0) usingBlock:^(void) { BXLog(@”processing Block”);while ([self.assetWriterInput isReadyForMoreMediaData] && shouldContinue) {BXLog(@”assetWriter isReadyForMoreMediaData, shouldContinue %i”, shouldContinue);NSError *error

  • tiltem
    ios avassetwriter gpuimage
    Trying to get started with the really great GPUImage framework so graciously shared by Brad Larson, but having an issue. When running the SimpleVideoFileFilter sample it always crashes at completion with the following error:[AVAssetWriterInput markAsFinished] Cannot call method when status is 2Anyone know how to correct this? Also do not see the video when run in simulator, does it not work for simulator?Running iOS 6.1 and Xcode 4.6Thanks!I am noticing that finishRecordingWithCompletionHandler

  • gaurav
    ios ipad automatic-ref-counting avfoundation avassetwriter
    I am getting crash when i am going to create video with array of images when there is an array with length of more than 100 objects then it is giving memory warning and crashing. Anyone please help me how it could be handled. I am working on ARC project. Please see below code which i am using for MP4 Video.NSError *error; NSString *path = [NSHomeDirectory() stringByAppendingPathComponent:@”Documents/video.mov”]; AVAssetWriter *videoWriter = [[AVAssetWriter alloc] initWithURL:[NSURL fileURLWithPa

  • Sharma krishna
    iphone uiimage avassetwriter
    Please find the below code.-(void) writeImagesAsMovie:(NSArray *)array toPath:(NSString*)path numPhoto:(NSInteger)totPics {ALAsset *asset = [assets objectAtIndex:0];ALAssetRepresentation *assetRepresentation = [asset defaultRepresentation]; UIImage *getImage = [UIImage imageWithCGImage:[assetRepresentation fullScreenImage] scale:[assetRepresentation scale] orientation:(UIImageOrientation)[assetRepresentation orientation]];UIImage *first = [getImage imageByScalingAndCroppingForSize:CGSizeMake(

  • box86rowh
    iphone objective-c ipad avassetwriter avassetreader
    I have a function that is supposed to re-encode a video to a manageable bitrate on iphone/ipad. Here it is: *UPDATED WORKING CODE, NOW WITH AUDIO! 🙂 *-(void)resizeVideo:(NSString*)pathy{NSString *newName = [pathy stringByAppendingString:@”.down.mov”];NSURL *fullPath = [NSURL fileURLWithPath:newName];NSURL *path = [NSURL fileURLWithPath:pathy];NSLog(@”Write Started”);NSError *error = nil;AVAssetWriter *videoWriter = [[AVAssetWriter alloc] initWithURL:fullPath fileType:AVFileTypeQuickTimeMovie e

  • James
    iphone avfoundation avassetwriter
    I am recording a trailing buffer of video. At 15 second intervals, I am creating a new instance of AVAssetWriter, and adding my instance of AVAssetWriterInput as an input. I am grabbing frames using AVCaptureVideoDataOutput, and adding them like this: [writerInput appendSampleBuffer:sampleBuffer]This works fine most of the time, but occasionally the app will crash with this error message:*** -[CFDictionary removeObjectForKey:]: message sent to deallocated instance 0x96b28a0What does this error

  • Vineet Singh
    ios objective-c avassetwriter gpuimage
    Can i reuse an existing GPUImageMovieWriter (after calling finishRecording) or is there a method to pause and resume the recording?I get error if i call startRecoding after a finishRecording.Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘*** -[AVAssetWriter addInput:] Cannot call method when status is 2’

Web site is in building