Comments (4)
Hi!
Thanks for the detailed report.
It doesn't look like you're doing anything wrong. On macOS the file writing when the recording has been stopped is asynchronous, it looks like the Vimeo SDK is trying to upload the file before it has finished being written out. Will let you know when a fix is in place.
from unityplugin-avpromoviecapture.
Hello, My project is finished with unity’s default recorder. But as we expect to use AVPRO in the future, i want to know when this bug can be fixed. It is expected to be busy, but please check it. Thank you!
from unityplugin-avpromoviecapture.
This has now been added in the latest version (4.0.3). You can subscribe to an event now when the file writing starts, and then poll the object for when the file writing has completed:
[SerializeField] CaptureBase _capture = null;
private List<FileWritingHandler> _fileWritingHandlers = new List<FileWritingHandler>(4);
void Start()
{
// Add the event listener
_capture.FileWritingAction += OnFileWriting;
}
private void OnFileWriting(FileWritingHandler handler)
{
_fileWritingHandlers.Add(handler);
}
private void Update()
{
// Check for any completed file writes and remove the handlers
for (int i = _fileWritingHandlers.Count - 1; i >= 0; i--)
{
FileWritingHandler handler = _fileWritingHandlers[i];
if (handler.IsFileReady())
{
Debug.Log("File is ready: " + handler.Path);
_fileWritingHandlers.RemoveAt(i);
}
}
}
void OnDestroy()
{
// Dispose of any pending file writers
foreach (FileWritingHandler handler in _fileWritingHandlers)
{
handler.Dispose();
}
}
from unityplugin-avpromoviecapture.
@h5olo perhaps you could post an issue to the Vimeo SDK GitHub issues referencing this issue here so they can integrate this new handling code?
For now I'm going to close this issue. Thanks,
from unityplugin-avpromoviecapture.
Related Issues (20)
- [Question] Capture Audio from wwise cause game wwise sound silent ? HOT 1
- [Question] Reducing freeze when starting recording on iOS HOT 2
- [Question] Capture fromARcamera, setting the resolution will stretch the output video
- [Android Photo Library] And Bitrate HOT 1
- [Bug] On certain Android devices, movie recording with audio corrupts files. HOT 11
- [Question] I am using the latest recording plugin. After completing the recording, I save it to the specified file location. However, the video file cannot be opened and played in the browser. HOT 3
- [Enhancement] Please Support Windows for OpenGL HOT 1
- [Enhancement] VisionPro/PolySpatial Build Support HOT 1
- [Bug] Setting video hint orientation meta data to rotate270 has no effect HOT 5
- [Question] When using the "Capture from Screen" function, recording is possible but sound is not captured. HOT 4
- [Bug] [macOSX] Inconsistent framerate when recording on macOSX HOT 1
- [Bug] Memory leak occurs when using OpenGLES3 in Demo01-TextureCapture On Android HOT 17
- [Question] Getting duration of video? HOT 2
- [Bug] Sound not release after capture audio with miscrophone HOT 1
- [Enhancement] Offline render with Ray tracing and Path tracing
- [Bug] Exception: AndroidJavaException: java.lang.ClassNotFoundException: com.renderheads.AVPro.MovieCapture.Manager HOT 1
- [Bug] so Load error on some android devices HOT 2
- [Bug] Shader compilation failure on OpenGLES 3.0 capable hardware HOT 13
- [Bug] Typo "RelativeToPeristentData" in Enum CaptureBase.OutputPath HOT 2
- [Bug] Crash occurs when stop capture on Samsung Galaxy Tab A9+ HOT 21
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 unityplugin-avpromoviecapture.