ios - AVCaptureSession MaximumDuration -


In my app I'm recording the video for 30 seconds. I used the following line to do this.

  [imagePicker Set Video Maximum Duration: 30];   

Everything was working fine then I decided to go from UIImagePickerController to AVCaptureSession , it successfully changed everything Got it, but could not set MaximumDuration . Is there a parameter / workaround that can set it?

  A Wikipedia mofi file output * aMovieFileOutput = [[AVCaptureMovieFileOutput alloc] init]; CMTime maxDuration = & lt; # Create CMTime to represent maximum duration # & gt;; AMovieFileOutput.maxRecordedDuration = maximum speed; aMovieFileOutput.minFreeDiskSpaceLimit = & lt; # Quality and duration of the appropriate minimum film format # & gt ;;        

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -