Comments (5)
I'd love to attach the video I've been using, but I am currently on limited and slow data.
from ffmediatoolkit.
After further investigation, it seems like TryGetFrame
(or possibly GetFrame
) is the root of the problem.
When using TryGetNextFrame
it seems like it suddenly works.
I'll do some more testing!
from ffmediatoolkit.
Even more investigation later, and these kinds of errors seem to be more random that I thought.
All of a sudden TryGetNextFrame
stopped working...
I wonder if it has something to do with threading?
The decoding thread shouldn't be ongoing though? Shouldn't that be invoked and then waited for?
from ffmediatoolkit.
It might be a threading issue, but I'm not sure. Did you test other video files? What decoding thread do you mean? Is the Video.Step
method called from another thread? FFMediaToolkit isn't thread-safe, so make sure that the TryGetFrame
isn't called on different threads at the same time. You can try wrapping it with lock
statement to ensure that.
from ffmediatoolkit.
I am calling TryGetFrame from the same thread I do all FFmpeg stuff.
I managed to get ogv to work smoothly, mp4 and mov had their own issues(mp4 was "reiniting context", mov I don't remember, but it was 2.4 GB which I ain't dealin' with).
I didn't try other webm's but I tried re-encoding etc.
from ffmediatoolkit.
Related Issues (20)
- How to transfer ImageData to sprite or texture2D? HOT 3
- Select Codec By Name
- ImageSharp image -> ImageData ? HOT 2
- AccessViolationException when disposing MediaOutput object
- Encoding ImageData into a stream
- Reset MediaFile Stream position? HOT 5
- How to convert ImageData to SkiaSharp.SkiBitmap HOT 1
- Bounty $$ -- FFMediaToolkit.FFmpegException: 'Failed to open video encoder. Error code: -542398533 : Generic error in an external library' HOT 3
- Video.AddFrame(FrameToImageData(ImageData)) causes program to exit
- Adding frames at a variable frame rate
- TryGetFrame set Timeout
- Can FFMediaTookit take advantage of dedicated GPU?
- System.NotSupportedException on MediaBuilder.CreateContainer(@"C:\videos\example.mp4") HOT 3
- How to Reduce high cpu utilization on rtsp streaming
- Adding a range of frames at once to speed up video creation
- Failed to open the media stream HOT 1
- ImageData.Data Stride Estimation
- ImageData.Stride calculation
- System.DllNotFoundException: Cannot load FFmpeg libraries HOT 2
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 ffmediatoolkit.