Posts Tagged ‘DMO’

libx264 illustrated

Posted: 30th September 2012 by Roman in Video
Tags: , , , , , ,

As libx264 has so many presets and tunes, I was curious how they all related one to another when it comes to encode video info H.264. I was more interested in single pass encoding for live video, so the measurements are respectively for this mode of operation with encoder running in CRF (constant rate factor, [...]

Matthew van Eerde already made a similar wrapper over MFTEnumEx in How to enumerate Media Foundation transforms on your system, and this one extends it with enumeration of attributes, also listing them in human friendly way. This sort of code should perhaps have been in Media Foundation SDK Samples, however we have what we have. [...]

Windows Vista introduced helpful video and audio Digital Signal Processors (DSPs) in DMO form-factor, which however do not work smoothly with DMO Wrapper Filter and thus cannot be directly used in DirectShow. There perhaps was no intent in first place to extend DirectShow functionality with these new components, and no effort was put into providing [...]

Video Decoder DMO and AM_SAMPLE_PREROLL

Posted: 2nd May 2009 by Roman in Technology, Video
Tags: , ,

This does not seem to be documented anywhere, so it makes sense to mention. A video decoder, wrapped by DMO Wrapper Filter, will receive preroll media samples with AM_SAMPLE_PREROLL flag (alternatively available using IMediaSample::IsPreroll), but it won’t even forward these samples to the underlying DMO, instead they are just ignored. MSDN says: Preroll samples are [...]

Recently it was the time to sort out an issue with a video DMO, which outputs YV12 video and in the same time is capable of supporting extended video strides in order to efficiently make a direct connection to Video Mixing Renderer Filters. From past experience, I already knew that some bugs are definitely involved [...]

Private DMO

Posted: 25th October 2008 by Roman in ATL, Source
Tags: , , , , ,

Started as Is it possible to use local component in DLL? on microsoft.public.vc.atl newsgroup. The question is to embed a custom DirectX Media Object (DMO) into executable so that it is only available to proprietary application and not to entire system and could be reused in other applications. If in particular this DMO should be [...]

Previously on the topic: Part 1: Starting the Project Part 2: Video Processing Part 3: Persistence, Automation and Property Pages Part 4: Merit Due to the nature of the brightness and constract correction processing, it would make sense to combine and simplify processing to apply correction “in-place”, that is without copying data from input to [...]