Comments (10)
Unable to reproduce, nevertheless, the current cancellation logic seems error-prone. Tweaked the implementation, you can try again using this commit to see if the issue goes away: f0fc524
Note:
AssetExportSession
is not thread-safe, do not access the same instance in different threads.- f0fc524 ensures the completion handler will be called after you cancel the export session. If the export session is successfully cancelled
AssetExportSession.Error.cancelled
is reported. If the cancel happens too late that the export session is finishing its work, a successful export is reported.
from videoio.
@YuAo thanks! Updating internal specs.
from videoio.
@YuAo could you please put podspec file in the repo? I cannot install via CocoaPods pod 'VideoIO', :git => 'https://github.com/MetalPetal/VideoIO.git', :commit => 'f0fc524'
since podspec is not available.
from videoio.
@larryonoff You can always use your own podspec file with CocoaPods. For example:
pod 'VideoIO', :podspec => 'https://gist.githubusercontent.com/YuAo/5607e47faa4ad7ddf2bf101605eb7455/raw/e10e7463de9db291b3d2f543dfc40e329f0b8fe7/VideoIO.head.podspec.json'
from videoio.
@YuAo thanks! I use your gist for the moment :)
from videoio.
@YuAo it looks that there're less crashes according to our internal QA.
from videoio.
@larryonoff Do you think the problem is fixed? Or it just happens lesser?
from videoio.
@YuAo I'm not sure yet. We're still testing our app. But more testing is planned next week.
At least concrete crash report in Crashlytics is gone.
from videoio.
@larryonoff Happy to hear that, keep me posted.
from videoio.
@YuAo sure! thanks for the libraries and support.
from videoio.
Related Issues (20)
- Domain: AVFoundationErrorDomain Code: -11819 NSLocalizedDescription: Cannot Complete Action
- Synchronized Video, Depth, and Audio Data HOT 3
- Segment Duration Zero HOT 1
- CIImage from MTIImage
- No output video buffers from AVPlayer using PlayerVideoOutput HOT 2
- Wrong audioTracks being added in audioOutput inside AssetExportSession HOT 1
- Unable to set Frame rate to 60fps for 'vide'/'x420' 3840x2160 HOT 4
- Toggle front / back camera during capture session? HOT 2
- Focus hunting on .builtInWideAngleCamera on iPhone 12 pro HOT 2
- How to switch microphone inputs to stereo? HOT 2
- Each time video recording is initiated, there is an error `Video inputs: not ready for media data` HOT 10
- Cannot Encode Media on AssetExportSession HOT 3
- Video overlay on top of live feed HOT 30
- Never ready for audio HOT 4
- Frames no longer being appended HOT 7
- use AVAssetWriterInputPixelBufferAdaptor to fix errorCode -11800 ? HOT 5
- Timer Label Overlay HOT 10
- How to use multiple video assets in this code example.
- Xcode 15 Beta compile issues (macOS)
- Video artifacts and reduced video size after export HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videoio.