Comments (2)
Hello bluetarpmedia,
Calling ProcessMessage with MFT_MESSAGE_NOTIFY_END_STREAMING followed by MFT_MESSAGE_COMMAND_FLUSH does not follow the order of calling ProcessMessage while tearing down the MFT described in the Basic MFT Model .
Could you try by following steps 4 - 8 in the Process Data section within the processing loop of the file you had linked.
from media-foundation.
Thanks for your reply @RohitAthavale. If we remove END_STREAMING
and insert END_OF_STREAM
before the DRAIN
as suggested in steps 4-8 then there is no leak. (Likewise there is no leak simply by removing END_STREAMING
; that is to say, there is no need to add END_OF_STREAM
to avoid the leak.)
We don't need the ability to send either END_STREAMING
or END_OF_STREAM
messages. But we noticed that sending END_STREAMING
after the drain and before the flush causes this memory leak with the HEVC hardware decoder with some HEVC video streams, and also does not happen with the AVC hardware decoder, which made it appear to be a bug.
from media-foundation.
Related Issues (20)
- MediaEngineEMEUWPSample doesn't display anything HOT 2
- ID3D12Fence leak HOT 3
- Deleted
- Sample does not run in windows 11
- Does aac_mf support cbr encoding? HOT 2
- Windows Media Player fails to play Opus audio track of AV1 files with MP4 container HOT 6
- IMFContentDecryptionModuleSession::GenerateRequest failed with code 0x8004c3e8 HOT 15
- Sample pull-request checks fail
- MediaFoundation seems incompatible with Arbitrary Code Guard
- License persistent in IMFContentDecryptionModuleSession::Update HOT 11
- MXA training video links are broken
- Switching from minimize to restore breaks video placement
- TransferVideoFrame in MediaEngineDCompWin32Sample always returns black HOT 1
- mpg video cannot be loaded. HOT 5
- Crash when using VP8 decoder with D3D11 HOT 9
- HEVCVideoExtension support Windows Server (2019 / 2022) HOT 3
- [MediaEngineEMEUWPSample] The sample protection algorithms supported by components are not compatible. (0xC00D7176))) HOT 6
- Does IMFExtendedDRMTypeSupport::IsTypeSupportedEx and IMFMediaEngine::CanPlayType supported on ARM64? HOT 1
- MF_MPEG4SINK_MOOV_BEFORE_MDAT = TRUE : invalid output file
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 media-foundation.