Giter VIP home page Giter VIP logo

Comments (6)

JohnFlint avatar JohnFlint commented on May 31, 2024

The link to your Swift 4.1 version of Camera Engine is no longer working. Can you update it please?

from cameraengine.

freemansion avatar freemansion commented on May 31, 2024

@JohnFlint sorry for the delayed response. Here is the link to the repo I made these changes - https://github.com/oozou/CameraEngine

Or alternatively, you can install fork with cocoapods pointing to our repo and specific commit using following command:

pod 'CameraEngine', :git => 'https://github.com/oozou/CameraEngine.git', :commit => 'f494fcdc1dab424c951106aad31a7fd4145718aa'

It's a bit hacky, but better than nothing. Hope I will find a time to clean it up and make a PR to origin repo.

from cameraengine.

JohnFlint avatar JohnFlint commented on May 31, 2024

@freemansion thank you for the update! Your implementation works for me up to the point of terminating with "[AVAssetWriterInput markAsFinished] Cannot call method when status is 0'", at pressing the "stop recording" button. In my own Swift 4 implementation of CameraEngine I have the same issue even though I have (as you) implemented the suggestion from issue #55. Do you think this is due to an api update since you converted the CameraEngine?

from cameraengine.

freemansion avatar freemansion commented on May 31, 2024

@JohnFlint does this issue reproducible at the repo example app?

from cameraengine.

JohnFlint avatar JohnFlint commented on May 31, 2024

For me the error is reproduced in the example app from https://github.com/oozou/CameraEngine. Using Xcode Version 10.2 (10E125) and after only changing developer team, each time I run the app, select mode Video, switch camera twice (as the view does not show camera input before the first switch), press start recording, and press stop recording it terminates as described.

I fetched https://github.com/bartleby/CameraEngine and converted from 4.0 to 4.2 and was actually able to run the example as described and save video, and here without the need for switching camera. However this app did not allow to take more than one photo and at the second terminated with "[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] Settings may not be re-used". As video is my main use of this framework I am at the moment limping on with this version.

from cameraengine.

freemansion avatar freemansion commented on May 31, 2024

@JohnFlint a change as at this commit probably is the fix for error [AVCapturePhotoOutput capturePhotoWithSettings:delegate:] Settings may not be re-used". I remember I had the same issue.

from cameraengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.