Closed Vasilich closed 4 years ago
The aurrent architecture does not allow this but I will consider it. You can limit the FPS using RendererOptions
. If I recall correctly, the option is called VideoFrameRefreshLimit
or similar. This won't prevent frames from getting processed by the FrameDecodingWorker
it will just prevent frames from being copied on to the Visual
at a rate beyond what you specify.
i have tried already to set Media.RendererOptions.VideoRefreshRateLimit = 10; in OnMediaOpening, but it looked even worse than without it. The point is, that for real-time streams in monitoring app there is a need to see what is happening now, and not what has happened 20 seconds ago. Thanks for considering to find a way to solve my problem.
I will consider this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
There is no activity because Mario wanted to add some functionality, and still hasn't got a time for it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
shot against stale bot. I still hope that Mario will implement this
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
hope is still there...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
still there...
stale bot is annoying. can we disable it somehow for issues, that are waiting for Mario?
And is there any chance to reopen it in case bot has closed it?
any chance this will ever be a thing?
Reduce latency / Drop frames when CPU is too slow
When showing several streams in one window (e.g monitoring system), the low latency is very important. If CPU is too slow to show e.g. 16 streams in HD simultaneously, it is better (for such kind of applications) to skip frames, but always show the latest frame possible. Yes, I have read https://github.com/unosquare/ffmediaelement/issues/178 and tried suggested solution with new API, but it doesn't solve this problem (as the cause is different).
Issue Categories
Version Information
Steps to Reproduce
Expected Results
Sample Code
XAML
C
MainWindow.xaml.cs
Command line ffplay
Is it possible to implement "-framedrop" key from ffplay, or somehow reduce latency when heavy CPU load happens?