Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all 1079 articles
Browse latest View live

Windows Media Player control with crossfading and auto sound leveling

$
0
0

Hi all,

I am using Windows Media Player control v.12.0.9600.16384 on my Windows Desktop application which is actually a custom mp3 player. How can I enableCrossfading feature on windows media player control with C#? Also, I want to enableAuto Sound Leveling which I think it should be a relative process to Crossfading. I searched a lot of articles and forums but I couldn't find any C# code about using these two features.

Thanks a lot,
Peter


Visual C# .NET programmer


CoCreateInstance failed code 0x80040154. Class not registered-----Malwarebytes install--XP

$
0
0
I attempted to install Malwarebytes on an XP and received the listed error.  Suggestions?

Using the AppX PlayReady Client in a desktop app

$
0
0

According to this white paper (http://msdn.microsoft.com/en-us/library/windows/apps/dn466732.aspx), as of Windows 8.1, the AppX PlayReady Client can be used in desktop apps:

"AppX Frameworks are normally restricted to use by Windows Store app only.  In Windows 8.1, the Microsoft PlayReady app  package can be used by desktop or new experience desktop browsers."

Is there any sample code or guidance on how to actually achieve this using the media engine?

Smooth streaming support in media foundation

$
0
0
Is there any support for smoothing streaming playback in media foundation in desktop apps (specifically, I'm looking to use the media engine)?

ROKU compatibility

$
0
0
Can't stream TV recorded with WMC on my Roku. Error: No compatible videos found. Roku firmware is correct. Does WMC automatically use the VC-1 codec?

Media Foundation IMFSourceReaderCallback::OnReadSample Callback timestamp parameter

$
0
0

Regarding the MFCaptureD3D sample from the media foundation examples, which can be found here

http://msdn.microsoft.com/en-us/library/windows/desktop/ms702261%28v=vs.85%29.aspx

The Timestamp in the OnReadSample is has the same value as the attribute MFSampleExtension_DeviceTimestamp from the sample, but how can I interpret this value ?

I need to translate this timestamp to the system time or convert it to a DateTime object.

Play RTSP STREAM ON Windows Media Player 12

$
0
0
Hello there. I have an IP camera which gives me h264 stream. Now this h264 stream plays just fine in VLC but it doesn't play in WMP12. It gives the error that the player doesn't support the specified protocol and we should try different protocol. Now I tried registering wmnetmgr.dll but in vain. what should I do to run this h264 stream in windows media player 12? Thanks.

OpenMAX IL plug-in for Media Foundation

$
0
0

Hi all,

I am very much new to media foundation technologies and I want to implement the OpenMAX IL plug-ins for Media Foundation (e.g integrating audio decoder OMX component into audio decoder MFT). can someone guide me how to do that, like mapping of the OMX calls to MFT calls etc.. Any guidelines or help would be appreciated. Does anybody help me with the some sample code :) ? 

waiting for the positive response...

reagrds-

santosh


Seamless Video Playlists using Media Foundation/C++/Win32

$
0
0
I am trying to achieve seamless video playback using the IMFSequencerSource. So far I have been able to create a player and a playlist to display content. but whenever I add multiple files before it plays the next video a white flash occurs for a split second before the next video plays. I absolutely need seamless uninterrupted video playback and don't know where to go from here. Any guidance on the subject would be greatly appreciated.

Video Processor MFT missing

IMFMediaEvent::GetType() returns 9538

$
0
0

What is this value?

Is it documented anywhere?

Thanks.


How to register a live media source - media foundation

$
0
0

Hello all,

I am attempting to create a media source based on the Mpeg1Source sample.

My source is a live source. For the time being, I will be outputting frames that are generated internally.

 

I am following the guides from msdn:

Writing a Custom Media Source

http://msdn.microsoft.com/en-us/library/windows/desktop/ms700134(v=vs.85).aspx

Case Study: MPEG-1 Media Source

http://msdn.microsoft.com/en-us/library/windows/desktop/ee318417(v=vs.85).aspx

and looking through the mpeg1source sample code. I see how the source is registered in the registry as a byte stream handler.

 

My question is, how do I register my live source component? is there documentation for this?

I am familiar with DirectShow filter registration, but Media Foundation is a new game to me!

 

Thank you in advance.

jimmy

 

 

 

 


jimmy

Media Foundation Implementing Callbacks

$
0
0

So I've looked through the samples for the Media Foundation audio and they basically have all the functionality I need except for they don't really implement a callback for when the audio buffer is empty. Basically I made some simple oscillators for a synthesizer I am developing and I need an callback method to refill the buffer. Thankfully someone sort of did most of the work for an example they were building for BUILD2014 and posted the code on github.

https://github.com/jolson88/BeatBuilder/blob/master/BeatBuilder.Shared/AudioRenderer.cpp

Problem is I just don't know enough about the asynchronous callbacks and the documentation for them just isn't clear to me. Also the above linked example doesn't quite work since it requires /clr or /ZW in the command line for his implementation AsyncCallback.h and I am using openFrameworks which conflicts with both. 

Really all I need is to implement his function OnRenderCallback(IMFAsyncResult*result)but that's where I sort of hit a wall. Could I just make a pointer to that function from the invoke method in IMFAsyncCallback? and how does it know to go to that callback function? I don't see how the pointer and event handle direct there each time the buffer is empty.



Confused about how to seek using IMFSourceReader:: SetCurrentPosition

$
0
0

I'm using IMFSourceReader to grab samples on an audio file.

I want to be able to seek anywhere in the audio timeline.

I have this function which sets the position:

void Seek(Windows::Foundation::TimeSpan position)
{
    HRESULT hr;

    PROPVARIANT var;
    hr = InitPropVariantFromInt64(position.Duration, &var);
    ThrowIfFailed(hr);
    
    hr = m_pSourceReader->SetCurrentPosition(GUID_NULL, var);
    PropVariantClear(&var);

    ThrowIfFailed(hr);
}

the position is tied to a slider between 0 and the audio max time obtained from:

Windows::Foundation::TimeSpan GetDuration()
{
    PROPVARIANT var;
    PropVariantInit(&var);

    HRESULT hr = m_pSourceReader->GetPresentationAttribute(MF_SOURCE_READER_MEDIASOURCE, MF_PD_DURATION, &var);
    ThrowIfFailed(hr);

    LONGLONG hnsDuration;
    hr = PropVariantToInt64(var, &hnsDuration);
    ThrowIfFailed(hr);

    PropVariantClear(&var);

    Windows::Foundation::TimeSpan timeSpan;
    timeSpan.Duration = hnsDuration;
    return timeSpan;
}

whenever I change the slider position it calls Seek(slider.Position.ToTimeSpan()) (in pseudo code)

But it doesn't work.

the next sample I read using

m_pSourceReader->ReadSample((DWORD)MF_SOURCE_READER_FIRST_AUDIO_STREAM, 0, NULL, &dwFlags, &_timeStamp, &pSample);

_timeStamp : does not reflect the seeked position.

What am I missing here ?

thanks!

Media Foundation - Unable to restart Live Capture Session

$
0
0

TL;DR: See the section "So My Questions Are:" - This is very long, thanks for looking.
 
I am attempting to build a live preview/recording application using Media Foundation.  I am attempting to use the Media Session, with an aggregate source containing a webcam+microphone sources. Everything works the first time I run the session (preview only), but I am unable to restart the session.  

When the session stops, I see the Sample Grabber Clock stop, and end of Stream notifications, but when the session restarts, I receive the session start message, and see basically the same events, including an OnClockStart event for both media sinks, but the Video source appears to never restart delivering frames.  A picture of the topology is included at the end, along with some MFTrace output.

I have tried pausing the session, stopping the session, and also attempted to unload the session and re-create it. When re-creating the session I was unable to create a new aggregate source, indicating I did not properly release it.

Also, I note that I have not taken any steps to mark the Source Nodes as live sources, I assume that would happen automatically?

So, My Questions are:.

  1. What is necessary for me to restart an IMFMediaSession containing live sources?
  2. What steps are necessary for me to unload the topology in order to build a new one? Clearing the session on the topology and releasing all of my smart pointers is not enough. Perhaps I need to iterate the aggregate source, extract the individual media sources and then call Shutdown on each?

TRACE INFO

Here is the trace from starting the first time, from the first session event through the delivery of the first video frame  to the GUI:

165 12244,3484 21:40:50.25101 CTopologyHelpers::Trace @07EB69D8 <<<<<<<<<<<<< input topology166 12244,3484 21:40:50.25116 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Switched Media Foundation Session State to OpenPending"167 12244,3AB8 21:40:50.25125 CMFActivateDetours::GetUINT32 @07ECE250(Sample Grabber Activate) attribute not found guidKey = MF_SAMPLEGRABBERSINK_IGNORE_CLOCK168 12244,3AB8 21:40:50.25128 CMFMediaSinkDetours::Attach @07ECEF50(Sample Grabber Sink) Clock state @07ECEF54169 12244,3484 21:40:50.25128 CKernel32ExportDetours::OutputDebugStringA @ Debug: Request Rebuild Browser 1 "void __thiscall ChooseCameraCommand::redo(void)"170 12244,3AB8 21:40:50.25579 CMFMediaSinkDetours::Attach @07ECF5D8(Audio Sink) Clock state @07ECF5DC171 12244,3AB8 21:40:50.25660 COle32ExportDetours::CoCreateInstance @ New MFT @07ED1158(Color Converter), <NULL>172 12244,3AB8 21:40:50.25662 COle32ExportDetours::CoCreateInstance @ Created {98230571-0087-4204-B020-3282538E57D3} Color Converter DMO (C:\Windows\SysWOW64\colorcnv.dll) @07ED1158(Color Converter) - traced interfaces: IMFTransform @07ED1158(Color Converter), IMediaObject @07ED1170, 173 12244,3AB8 21:40:50.25670 CMFTransformDetours::SetInputType @07ED1158(Color Converter) Succeeded MT: MF_MT_FRAME_SIZE=2748779069800 (640,360);MF_MT_AVG_BITRATE=110592000;MF_MT_YUV_MATRIX=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Video;MF_MT_VIDEO_LIGHTING=3;MF_MT_DEFAULT_STRIDE=1280;MF_MT_VIDEO_CHROMA_SITING=6;MF_MT_AM_FORMAT_TYPE=FORMAT_VIDEOINFO2;MF_MT_FIXED_SIZE_SAMPLES=1;MF_MT_VIDEO_NOMINAL_RANGE=2;MF_MT_FRAME_RATE=128849018881 (30,1);MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1,1);MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_FRAME_RATE_RANGE_MIN=128849018881 (30,1);MF_MT_SAMPLE_SIZE=460800;MF_MT_VIDEO_PRIMARIES=2;MF_MT_INTERLACE_MODE=2;MF_MT_FRAME_RATE_RANGE_MAX=128849018881 (30,1);MF_MT_SUBTYPE=MFVideoFormat_YUY2174 12244,3AB8 21:40:50.25685 CMFTransformDetours::SetOutputType @07ED1158(Color Converter) Succeeded MT: MF_MT_FRAME_SIZE=2748779069800 (640,360);MF_MT_YUV_MATRIX=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Video;MF_MT_VIDEO_LIGHTING=3;MF_MT_DEFAULT_STRIDE=2560;MF_MT_VIDEO_CHROMA_SITING=6;MF_MT_GEOMETRIC_APERTURE=00 00 00 00 00 00 00 00 80 02 00 00 68 01 00 00 ;MF_MT_FIXED_SIZE_SAMPLES=1;MF_MT_VIDEO_NOMINAL_RANGE=2;MF_MT_FRAME_RATE=42949672960333333 (10000000,333333);MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1,1);MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_SAMPLE_SIZE=921600;MF_MT_VIDEO_PRIMARIES=2;MF_MT_INTERLACE_MODE=2;MF_MT_SUBTYPE=MFVideoFormat_RGB32175 12244,3AB8 21:40:50.25870 COle32ExportDetours::CoCreateInstance @ New MFT @07ED2A3C(Audio Resampler DMO), <NULL>176 12244,3AB8 21:40:50.25872 COle32ExportDetours::CoCreateInstance @ Created {F447B69E-1884-4A7E-8055-346F74D6EDB3} Resampler DMO (C:\Windows\SysWOW64\resampledmo.dll) @07ED2A3C(Audio Resampler DMO) - traced interfaces: IMFTransform @07ED2A3C(Audio Resampler DMO), IMediaObject @07ED2A54, 177 12244,3AB8 21:40:50.25877 CMFTransformDetours::SetInputType @07ED2A3C(Audio Resampler DMO) Succeeded MT: MF_MT_AUDIO_AVG_BYTES_PER_SECOND=352800;MF_MT_AUDIO_BLOCK_ALIGNMENT=8;MF_MT_AUDIO_NUM_CHANNELS=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Audio;MF_MT_AUDIO_CHANNEL_MASK=3;MF_MT_AUDIO_SAMPLES_PER_SECOND=44100;MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_AUDIO_BITS_PER_SAMPLE=32;MF_MT_SUBTYPE=MFAudioFormat_Float178 12244,3AB8 21:40:50.25953 CMFTransformDetours::SetOutputType @07ED2A3C(Audio Resampler DMO) Succeeded MT: MF_MT_AUDIO_AVG_BYTES_PER_SECOND=384000;MF_MT_AUDIO_BLOCK_ALIGNMENT=8;MF_MT_AUDIO_NUM_CHANNELS=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Audio;MF_MT_AUDIO_CHANNEL_MASK=3;MF_MT_AUDIO_SAMPLES_PER_SECOND=48000;MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_AUDIO_BITS_PER_SAMPLE=32;MF_MT_SUBTYPE=MFAudioFormat_Float179 12244,3484 21:40:50.26943 CKernel32ExportDetours::OutputDebugStringA @ Debug: ZVideoWidget is visible180 12244,2E0C 21:40:50.27107 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=101 MESessionTopologySet, value @07ED0A80,181 12244,2E0C 21:40:50.27107 CTopologyHelpers::Trace @07ED0A80 >>>>>>>>>>>>> queued topology 182 12244,2E0C 21:40:50.27110 CTopologyHelpers::TraceNode @ Node 0 @07ECE4F0 ID:2FD40000000C, 0 inputs, 1 outputs, type 1, MF_TOPONODE_MARKIN_HERE=1;MF_TOPONODE_MARKOUT_HERE=1;MF_TOPONODE_MEDIASTART=0 (0,0);MF_TOPONODE_SOURCE=@07EB9808;MF_TOPONODE_PRESENTATION_DESCRIPTOR=@07ECDD80;MF_TOPONODE_STREAM_DESCRIPTOR=@07ECD430 183 12244,2E0C 21:40:50.27111 CTopologyHelpers::TraceObject @ Source @07EB9808 {00000000-0000-0000-0000-000000000000} (C:\WINDOWS\SYSTEM32\MFCORE.DLL), MFMEDIASOURCE_CHARACTERISTICS=0x00000005 184 12244,2E0C 21:40:50.27116 CTopologyHelpers::TraceStream @ Output stream 0, connected to node @07ECE478 stream 0, MT: MF_MT_FRAME_SIZE=2748779069800 (640,360);MF_MT_AVG_BITRATE=110592000;MF_MT_YUV_MATRIX=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Video;MF_MT_VIDEO_LIGHTING=3;MF_MT_DEFAULT_STRIDE=1280;MF_MT_VIDEO_CHROMA_SITING=6;MF_MT_AM_FORMAT_TYPE=FORMAT_VIDEOINFO2;MF_MT_FIXED_SIZE_SAMPLES=1;MF_MT_VIDEO_NOMINAL_RANGE=2;MF_MT_FRAME_RATE=128849018881 (30,1);MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1,1);MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_FRAME_RATE_RANGE_MIN=128849018881 (30,1);MF_MT_SAMPLE_SIZE=460800;MF_MT_VIDEO_PRIMARIES=2;MF_MT_INTERLACE_MODE=2;MF_MT_FRAME_RATE_RANGE_MAX=128849018881 (30,1);MF_MT_SUBTYPE=MFVideoFormat_YUY2 185 12244,2E0C 21:40:50.27117 CTopologyHelpers::TraceNode @ Node 1 @07ECE928 ID:2FD40000000D, 1 inputs, 0 outputs, type 0, MF_TOPONODE_STREAMID=0;MF_TOPONODE_NOSHUTDOWN_ON_REMOVE=0 186 12244,2E0C 21:40:50.27117 CTopologyHelpers::TraceObject @ Sink @07ECF0E0 {00000000-0000-0000-0000-000000000000} (C:\WINDOWS\SYSTEM32\MFCORE.DLL), (null) 187 12244,2E0C 21:40:50.27121 CTopologyHelpers::TraceStream @ Input stream 0, connected to node @07ECE478 stream 0, MT: MF_MT_FRAME_SIZE=2748779069800 (640,360);MF_MT_YUV_MATRIX=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Video;MF_MT_VIDEO_LIGHTING=3;MF_MT_DEFAULT_STRIDE=2560;MF_MT_VIDEO_CHROMA_SITING=6;MF_MT_GEOMETRIC_APERTURE=00 00 00 00 00 00 00 00 80 02 00 00 68 01 00 00 ;MF_MT_FIXED_SIZE_SAMPLES=1;MF_MT_VIDEO_NOMINAL_RANGE=2;MF_MT_FRAME_RATE=42949672960333333 (10000000,333333);MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1,1);MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_SAMPLE_SIZE=921600;MF_MT_VIDEO_PRIMARIES=2;MF_MT_INTERLACE_MODE=2;MF_MT_SUBTYPE=MFVideoFormat_RGB32 188 12244,2E0C 21:40:50.27122 CTopologyHelpers::TraceNode @ Node 2 @07ECE478 ID:2FD400000012, 1 inputs, 1 outputs, type 2, MF_TOPONODE_TRANSFORM_OBJECTID={98230571-0087-4204-B020-3282538E57D3}189 12244,2E0C 21:40:50.27123 CTopologyHelpers::TraceObject @ MFT @07ED1158(Color Converter) {98230571-0087-4204-B020-3282538E57D3} (C:\Windows\SYSTEM32\colorcnv.dll), <NULL> 190 12244,2E0C 21:40:50.27126 CTopologyHelpers::TraceStream @ Input stream 0, connected to node @07ECE4F0 stream 0, MT: MF_MT_FRAME_SIZE=2748779069800 (640,360);MF_MT_AVG_BITRATE=110592000;MF_MT_YUV_MATRIX=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Video;MF_MT_VIDEO_LIGHTING=3;MF_MT_DEFAULT_STRIDE=1280;MF_MT_VIDEO_CHROMA_SITING=6;MF_MT_FIXED_SIZE_SAMPLES=1;MF_MT_VIDEO_NOMINAL_RANGE=2;MF_MT_FRAME_RATE=128849018881 (30,1);MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1,1);MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_SAMPLE_SIZE=460800;MF_MT_VIDEO_PRIMARIES=2;MF_MT_INTERLACE_MODE=2;MF_MT_SUBTYPE=MFVideoFormat_YUY2 191 12244,2E0C 21:40:50.27131 CTopologyHelpers::TraceStream @ Output stream 0, connected to node @07ECE928 stream 0, MT: MF_MT_FRAME_SIZE=2748779069800 (640,360);MF_MT_YUV_MATRIX=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Video;MF_MT_VIDEO_LIGHTING=3;MF_MT_DEFAULT_STRIDE=2560;MF_MT_VIDEO_CHROMA_SITING=6;MF_MT_GEOMETRIC_APERTURE=00 00 00 00 00 00 00 00 80 02 00 00 68 01 00 00 ;MF_MT_FIXED_SIZE_SAMPLES=1;MF_MT_VIDEO_NOMINAL_RANGE=2;MF_MT_FRAME_RATE=42949672960333333 (10000000,333333);MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1,1);MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_SAMPLE_SIZE=921600;MF_MT_VIDEO_PRIMARIES=2;MF_MT_INTERLACE_MODE=2;MF_MT_SUBTYPE=MFVideoFormat_RGB32 192 12244,2E0C 21:40:50.27132 CTopologyHelpers::TraceNode @ Node 3 @07ECE9A0 ID:2FD40000000E, 0 inputs, 1 outputs, type 1, MF_TOPONODE_MARKIN_HERE=1;MF_TOPONODE_MARKOUT_HERE=1;MF_TOPONODE_MEDIASTART=0 (0,0);MF_TOPONODE_SOURCE=@07EB9808;MF_TOPONODE_PRESENTATION_DESCRIPTOR=@07ECDD80;MF_TOPONODE_STREAM_DESCRIPTOR=@07ECD610 193 12244,2E0C 21:40:50.27133 CTopologyHelpers::TraceObject @ Source @07EB9808 {00000000-0000-0000-0000-000000000000} (C:\WINDOWS\SYSTEM32\MFCORE.DLL), MFMEDIASOURCE_CHARACTERISTICS=0x00000005 194 12244,2E0C 21:40:50.27135 CTopologyHelpers::TraceStream @ Output stream 0, connected to node @07ECEA18 stream 0, MT: MF_MT_AUDIO_AVG_BYTES_PER_SECOND=352800;MF_MT_AUDIO_BLOCK_ALIGNMENT=8;MF_MT_AUDIO_NUM_CHANNELS=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Audio;MF_MT_AUDIO_CHANNEL_MASK=3;MF_MT_AUDIO_SAMPLES_PER_SECOND=44100;MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_AUDIO_BITS_PER_SAMPLE=32;MF_MT_SUBTYPE=MFAudioFormat_Float 195 12244,2E0C 21:40:50.27136 CTopologyHelpers::TraceNode @ Node 4 @07ECE400 ID:2FD40000000F, 1 inputs, 0 outputs, type 0, MF_TOPONODE_STREAMID=0;MF_TOPONODE_NOSHUTDOWN_ON_REMOVE=0;MF_TOPONODE_TRANSFORM_OBJECTID={D23E6476-B104-4707-81CB-E1CA19A07016} 196 12244,2E0C 21:40:50.27136 CTopologyHelpers::TraceObject @ Sink @07ECF760 {D23E6476-B104-4707-81CB-E1CA19A07016} (C:\WINDOWS\SYSTEM32\MFCORE.DLL), (null) 197 12244,2E0C 21:40:50.27138 CTopologyHelpers::TraceStream @ Input stream 0, connected to node @07ECEA18 stream 0, MT: MF_MT_AUDIO_AVG_BYTES_PER_SECOND=384000;MF_MT_AUDIO_BLOCK_ALIGNMENT=8;MF_MT_AUDIO_NUM_CHANNELS=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Audio;MF_MT_AUDIO_CHANNEL_MASK=3;MF_MT_AUDIO_SAMPLES_PER_SECOND=48000;MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_AUDIO_BITS_PER_SAMPLE=32;MF_MT_SUBTYPE=MFAudioFormat_Float 198 12244,2E0C 21:40:50.27139 CTopologyHelpers::TraceNode @ Node 5 @07ECEA18 ID:2FD400000015, 1 inputs, 1 outputs, type 2, MF_TOPONODE_TRANSFORM_OBJECTID={F447B69E-1884-4A7E-8055-346F74D6EDB3}199 12244,2E0C 21:40:50.27139 CTopologyHelpers::TraceObject @ MFT @07ED2A3C(Audio Resampler DMO) {F447B69E-1884-4A7E-8055-346F74D6EDB3} (C:\Windows\SYSTEM32\resampledmo.dll), <NULL> 200 12244,2E0C 21:40:50.27143 CTopologyHelpers::TraceStream @ Input stream 0, connected to node @07ECE9A0 stream 0, MT: MF_MT_AUDIO_AVG_BYTES_PER_SECOND=352800;MF_MT_AUDIO_BLOCK_ALIGNMENT=8;MF_MT_AUDIO_NUM_CHANNELS=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Audio;MF_MT_AUDIO_CHANNEL_MASK=3;MF_MT_AUDIO_SAMPLES_PER_SECOND=44100;MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_AUDIO_BITS_PER_SAMPLE=32;MF_MT_SUBTYPE=MFAudioFormat_Float 201 12244,2E0C 21:40:50.27144 CTopologyHelpers::TraceStream @ Output stream 0, connected to node @07ECE400 stream 0, MT: MF_MT_AUDIO_AVG_BYTES_PER_SECOND=384000;MF_MT_AUDIO_BLOCK_ALIGNMENT=8;MF_MT_AUDIO_NUM_CHANNELS=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Audio;MF_MT_AUDIO_CHANNEL_MASK=3;MF_MT_AUDIO_SAMPLES_PER_SECOND=48000;MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_AUDIO_BITS_PER_SAMPLE=32;MF_MT_SUBTYPE=MFAudioFormat_Float 202 12244,2E0C 21:40:50.27145 CTopologyHelpers::Trace @07ED0A80 MF_TOPOLOGY_RESOLUTION_STATUS = 0 203 12244,2E0C 21:40:50.27145 CTopologyHelpers::Trace @07ED0A80 <<<<<<<<<<<<< queued topology
204 12244,2E0C 21:40:50.27154 CMFTransformDetours::ProcessMessage @07ED1158(Color Converter) Message type=0x10000000 MFT_MESSAGE_NOTIFY_BEGIN_STREAMING, param=00000000205 12244,2E0C 21:40:50.27158 CMFTransformDetours::ProcessMessage @07ED2A3C(Audio Resampler DMO) Message type=0x10000000 MFT_MESSAGE_NOTIFY_BEGIN_STREAMING, param=00000000206 12244,2E0C 21:40:50.27240 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=112 MESessionNotifyPresentationTime, value (empty), MF_EVENT_START_PRESENTATION_TIME=0 (0,0);MF_EVENT_PRESENTATION_TIME_OFFSET=0 (0,0);MF_EVENT_START_PRESENTATION_TIME_AT_OUTPUT=0 (0,0)207 12244,2E0C 21:40:50.27242 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=110 MESessionCapabilitiesChanged, value (empty), MF_EVENT_SESSIONCAPS=1;MF_EVENT_SESSIONCAPS_DELTA=1208 12244,2E0C 21:40:50.27243 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=111 MESessionTopologyStatus, value @07ED0A80, MF_EVENT_TOPOLOGY_STATUS=100 209 12244,2E0C 21:40:50.27244 CTopologyHelpers::Trace @07ED0A80 >>>>>>>>>>>>> ready topology 210 12244,2E0C 21:40:50.27246 CTopologyHelpers::TraceNode @ Node 0 @07ECE4F0 ID:2FD40000000C, 0 inputs, 1 outputs, type 1, MF_TOPONODE_MARKIN_HERE=1;MF_TOPONODE_MARKOUT_HERE=1;MF_TOPONODE_MEDIASTART=0 (0,0);MF_TOPONODE_SOURCE=@07EB9808;MF_TOPONODE_PRESENTATION_DESCRIPTOR=@07ECDD80;MF_TOPONODE_STREAM_DESCRIPTOR=@07ECD430;{89485B85-2FFA-4547-B269-B82C79EE197C}=1;{9C86CC4E-68CE-4CFF-AA1E-9A5A40D5B4E0}=@07F1E900 211 12244,2E0C 21:40:50.27247 CTopologyHelpers::TraceObject @ Source @07EB9808 {00000000-0000-0000-0000-000000000000} (C:\WINDOWS\SYSTEM32\MFCORE.DLL), MFMEDIASOURCE_CHARACTERISTICS=0x00000005 212 12244,2E0C 21:40:50.27250 CTopologyHelpers::TraceStream @ Output stream 0, connected to node @07ECE478 stream 0, MT: MF_MT_FRAME_SIZE=2748779069800 (640,360);MF_MT_AVG_BITRATE=110592000;MF_MT_YUV_MATRIX=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Video;MF_MT_VIDEO_LIGHTING=3;MF_MT_DEFAULT_STRIDE=1280;MF_MT_VIDEO_CHROMA_SITING=6;MF_MT_AM_FORMAT_TYPE=FORMAT_VIDEOINFO2;MF_MT_FIXED_SIZE_SAMPLES=1;MF_MT_VIDEO_NOMINAL_RANGE=2;MF_MT_FRAME_RATE=128849018881 (30,1);MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1,1);MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_FRAME_RATE_RANGE_MIN=128849018881 (30,1);MF_MT_SAMPLE_SIZE=460800;MF_MT_VIDEO_PRIMARIES=2;MF_MT_INTERLACE_MODE=2;MF_MT_FRAME_RATE_RANGE_MAX=128849018881 (30,1);MF_MT_SUBTYPE=MFVideoFormat_YUY2 213 12244,2E0C 21:40:50.27252 CTopologyHelpers::TraceNode @ Node 1 @07ECE928 ID:2FD40000000D, 1 inputs, 0 outputs, type 0, MF_TOPONODE_STREAMID=0;MF_TOPONODE_NOSHUTDOWN_ON_REMOVE=0;MF_TOPONODE_DISABLE_PREROLL=1;{89485B85-2FFA-4547-B269-B82C79EE197C}=1;{9C86CC4E-68CE-4CFF-AA1E-9A5A40D5B4E0}=@07F1EA70 214 12244,2E0C 21:40:50.27252 CTopologyHelpers::TraceObject @ Sink @07ECF0E0 {00000000-0000-0000-0000-000000000000} (C:\WINDOWS\SYSTEM32\MFCORE.DLL), (null) 215 12244,2E0C 21:40:50.27255 CTopologyHelpers::TraceStream @ Input stream 0, connected to node @07ECE478 stream 0, MT: MF_MT_FRAME_SIZE=2748779069800 (640,360);MF_MT_YUV_MATRIX=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Video;MF_MT_VIDEO_LIGHTING=3;MF_MT_DEFAULT_STRIDE=2560;MF_MT_VIDEO_CHROMA_SITING=6;MF_MT_GEOMETRIC_APERTURE=00 00 00 00 00 00 00 00 80 02 00 00 68 01 00 00 ;MF_MT_FIXED_SIZE_SAMPLES=1;MF_MT_VIDEO_NOMINAL_RANGE=2;MF_MT_FRAME_RATE=42949672960333333 (10000000,333333);MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1,1);MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_SAMPLE_SIZE=921600;MF_MT_VIDEO_PRIMARIES=2;MF_MT_INTERLACE_MODE=2;MF_MT_SUBTYPE=MFVideoFormat_RGB32 216 12244,2E0C 21:40:50.27257 CTopologyHelpers::TraceNode @ Node 2 @07ECE478 ID:2FD400000012, 1 inputs, 1 outputs, type 2, MF_TOPONODE_TRANSFORM_OBJECTID={98230571-0087-4204-B020-3282538E57D3};{89485B85-2FFA-4547-B269-B82C79EE197C}=1;{9C86CC4E-68CE-4CFF-AA1E-9A5A40D5B4E0}=@07F1EBC8217 12244,2E0C 21:40:50.27257 CTopologyHelpers::TraceObject @ MFT @07ED1158(Color Converter) {98230571-0087-4204-B020-3282538E57D3} (C:\Windows\SYSTEM32\colorcnv.dll), <NULL> 218 12244,2E0C 21:40:50.27261 CTopologyHelpers::TraceStream @ Input stream 0, connected to node @07ECE4F0 stream 0, MT: MF_MT_FRAME_SIZE=2748779069800 (640,360);MF_MT_AVG_BITRATE=110592000;MF_MT_YUV_MATRIX=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Video;MF_MT_VIDEO_LIGHTING=3;MF_MT_DEFAULT_STRIDE=1280;MF_MT_VIDEO_CHROMA_SITING=6;MF_MT_FIXED_SIZE_SAMPLES=1;MF_MT_VIDEO_NOMINAL_RANGE=2;MF_MT_FRAME_RATE=128849018881 (30,1);MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1,1);MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_SAMPLE_SIZE=460800;MF_MT_VIDEO_PRIMARIES=2;MF_MT_INTERLACE_MODE=2;MF_MT_SUBTYPE=MFVideoFormat_YUY2 219 12244,2E0C 21:40:50.27265 CTopologyHelpers::TraceStream @ Output stream 0, connected to node @07ECE928 stream 0, MT: MF_MT_FRAME_SIZE=2748779069800 (640,360);MF_MT_YUV_MATRIX=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Video;MF_MT_VIDEO_LIGHTING=3;MF_MT_DEFAULT_STRIDE=2560;MF_MT_VIDEO_CHROMA_SITING=6;MF_MT_GEOMETRIC_APERTURE=00 00 00 00 00 00 00 00 80 02 00 00 68 01 00 00 ;MF_MT_FIXED_SIZE_SAMPLES=1;MF_MT_VIDEO_NOMINAL_RANGE=2;MF_MT_FRAME_RATE=42949672960333333 (10000000,333333);MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1,1);MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_SAMPLE_SIZE=921600;MF_MT_VIDEO_PRIMARIES=2;MF_MT_INTERLACE_MODE=2;MF_MT_SUBTYPE=MFVideoFormat_RGB32 220 12244,2E0C 21:40:50.27267 CTopologyHelpers::TraceNode @ Node 3 @07ECE9A0 ID:2FD40000000E, 0 inputs, 1 outputs, type 1, MF_TOPONODE_MARKIN_HERE=1;MF_TOPONODE_MARKOUT_HERE=1;MF_TOPONODE_MEDIASTART=0 (0,0);MF_TOPONODE_SOURCE=@07EB9808;MF_TOPONODE_PRESENTATION_DESCRIPTOR=@07ECDD80;MF_TOPONODE_STREAM_DESCRIPTOR=@07ECD610;{89485B85-2FFA-4547-B269-B82C79EE197C}=1;{9C86CC4E-68CE-4CFF-AA1E-9A5A40D5B4E0}=@07F1EDA0 221 12244,2E0C 21:40:50.27268 CTopologyHelpers::TraceObject @ Source @07EB9808 {00000000-0000-0000-0000-000000000000} (C:\WINDOWS\SYSTEM32\MFCORE.DLL), MFMEDIASOURCE_CHARACTERISTICS=0x00000005 222 12244,2E0C 21:40:50.27270 CTopologyHelpers::TraceStream @ Output stream 0, connected to node @07ECEA18 stream 0, MT: MF_MT_AUDIO_AVG_BYTES_PER_SECOND=352800;MF_MT_AUDIO_BLOCK_ALIGNMENT=8;MF_MT_AUDIO_NUM_CHANNELS=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Audio;MF_MT_AUDIO_CHANNEL_MASK=3;MF_MT_AUDIO_SAMPLES_PER_SECOND=44100;MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_AUDIO_BITS_PER_SAMPLE=32;MF_MT_SUBTYPE=MFAudioFormat_Float 223 12244,2E0C 21:40:50.27271 CTopologyHelpers::TraceNode @ Node 4 @07ECE400 ID:2FD40000000F, 1 inputs, 0 outputs, type 0, MF_TOPONODE_STREAMID=0;MF_TOPONODE_NOSHUTDOWN_ON_REMOVE=0;MF_TOPONODE_DISABLE_PREROLL=1;MF_TOPONODE_TRANSFORM_OBJECTID={D23E6476-B104-4707-81CB-E1CA19A07016};{89485B85-2FFA-4547-B269-B82C79EE197C}=1;{9C86CC4E-68CE-4CFF-AA1E-9A5A40D5B4E0}=@07F1EF10 224 12244,2E0C 21:40:50.27272 CTopologyHelpers::TraceObject @ Sink @07ECF760 {D23E6476-B104-4707-81CB-E1CA19A07016} (C:\WINDOWS\SYSTEM32\MFCORE.DLL), (null) 225 12244,2E0C 21:40:50.27273 CTopologyHelpers::TraceStream @ Input stream 0, connected to node @07ECEA18 stream 0, MT: MF_MT_AUDIO_AVG_BYTES_PER_SECOND=384000;MF_MT_AUDIO_BLOCK_ALIGNMENT=8;MF_MT_AUDIO_NUM_CHANNELS=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Audio;MF_MT_AUDIO_CHANNEL_MASK=3;MF_MT_AUDIO_SAMPLES_PER_SECOND=48000;MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_AUDIO_BITS_PER_SAMPLE=32;MF_MT_SUBTYPE=MFAudioFormat_Float 226 12244,2E0C 21:40:50.27275 CTopologyHelpers::TraceNode @ Node 5 @07ECEA18 ID:2FD400000015, 1 inputs, 1 outputs, type 2, MF_TOPONODE_TRANSFORM_OBJECTID={F447B69E-1884-4A7E-8055-346F74D6EDB3};{89485B85-2FFA-4547-B269-B82C79EE197C}=1;{9C86CC4E-68CE-4CFF-AA1E-9A5A40D5B4E0}=@07F1F068227 12244,2E0C 21:40:50.27275 CTopologyHelpers::TraceObject @ MFT @07ED2A3C(Audio Resampler DMO) {F447B69E-1884-4A7E-8055-346F74D6EDB3} (C:\Windows\SYSTEM32\resampledmo.dll), <NULL> 228 12244,2E0C 21:40:50.27277 CTopologyHelpers::TraceStream @ Input stream 0, connected to node @07ECE9A0 stream 0, MT: MF_MT_AUDIO_AVG_BYTES_PER_SECOND=352800;MF_MT_AUDIO_BLOCK_ALIGNMENT=8;MF_MT_AUDIO_NUM_CHANNELS=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Audio;MF_MT_AUDIO_CHANNEL_MASK=3;MF_MT_AUDIO_SAMPLES_PER_SECOND=44100;MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_AUDIO_BITS_PER_SAMPLE=32;MF_MT_SUBTYPE=MFAudioFormat_Float 229 12244,2E0C 21:40:50.27279 CTopologyHelpers::TraceStream @ Output stream 0, connected to node @07ECE400 stream 0, MT: MF_MT_AUDIO_AVG_BYTES_PER_SECOND=384000;MF_MT_AUDIO_BLOCK_ALIGNMENT=8;MF_MT_AUDIO_NUM_CHANNELS=2;MF_MT_MAJOR_TYPE=MEDIATYPE_Audio;MF_MT_AUDIO_CHANNEL_MASK=3;MF_MT_AUDIO_SAMPLES_PER_SECOND=48000;MF_MT_ALL_SAMPLES_INDEPENDENT=1;MF_MT_AUDIO_BITS_PER_SAMPLE=32;MF_MT_SUBTYPE=MFAudioFormat_Float 230 12244,2E0C 21:40:50.27279 CTopologyHelpers::Trace @07ED0A80 MF_TOPOLOGY_RESOLUTION_STATUS = 0 231 12244,2E0C 21:40:50.27279 CTopologyHelpers::Trace @07ED0A80 <<<<<<<<<<<<< ready topology232 12244,3484 21:40:50.49418 CKernel32ExportDetours::OutputDebugStringA @ Debug: Rebuilt Toolbar Browser233 12244,3484 21:40:50.49523 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:50.495 Session Event, type MESessionTopologySet"234 12244,3484 21:40:50.49531 CKernel32ExportDetours::OutputDebugStringA @ Debug: MFSession: Start235 12244,3484 21:40:50.49551 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Media Foundation Topology info: Frame Size=(640 x 360), rate = 30, subtype = {32595559-0000-0010-8000-00aa00389b71}"236 12244,3484 21:40:50.51327 CKernel32ExportDetours::OutputDebugStringA @ Debug: " 0, 640x 480 min1fps, max=60fps"237 12244,2E2C 21:40:50.51338 CMFTransformDetours::ProcessMessage @07ED1158(Color Converter) Message type=0x10000003 MFT_MESSAGE_NOTIFY_START_OF_STREAM, param=00000000238 12244,2E2C 21:40:50.51338 CMFTransformDetours::ProcessMessage @07ED2A3C(Audio Resampler DMO) Message type=0x10000003 MFT_MESSAGE_NOTIFY_START_OF_STREAM, param=00000000239 12244,3484 21:40:50.51344 CKernel32ExportDetours::OutputDebugStringA @ Debug: " 1, 640x 400 min1fps, max=60fps"240 12244,3AB8 21:40:50.51352 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=111 MESessionTopologyStatus, value @07ED0A80, MF_EVENT_TOPOLOGY_STATUS=200241 12244,3484 21:40:50.51373 CKernel32ExportDetours::OutputDebugStringA @ Debug: " 2, 640x 360 min1fps, max=60fps"242 12244,2E0C 21:40:50.51386 CKernel32ExportDetours::OutputDebugStringA @ Debug: "MFGrabberCallback: set presentation clock"243 12244,3484 21:40:50.51394 CKernel32ExportDetours::OutputDebugStringA @ Debug: " 3, 320x 240 min1fps, max=60fps"244 12244,2E0C 21:40:50.51409 CMFClockStateSinkDetours::OnClockStart @07ECF5DC System time 101939467ms, clock start offset 101939449ms245 12244,3484 21:40:50.51416 CKernel32ExportDetours::OutputDebugStringA @ Debug: " 4, 320x 180 min1fps, max=60fps"246 12244,3484 21:40:50.51428 CKernel32ExportDetours::OutputDebugStringA @ Debug: " 5, 720x 480 min1fps, max=40fps"247 12244,3484 21:40:50.51442 CKernel32ExportDetours::OutputDebugStringA @ Debug: " 6, 800x 600 min1fps, max=30fps"248 12244,3484 21:40:50.51459 CKernel32ExportDetours::OutputDebugStringA @ Debug: " 7, 1024x 768 min1fps, max=20fps"249 12244,3484 21:40:50.51476 CKernel32ExportDetours::OutputDebugStringA @ Debug: " 8, 1280x1024 min1fps, max=10fps"250 12244,3AB8 21:40:50.51481 CMFClockStateSinkDetours::OnClockStart @07ECEF54 System time 101939467ms, clock start offset 101939449ms251 12244,1208 21:40:50.51488 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT252 12244,3484 21:40:50.51489 CKernel32ExportDetours::OutputDebugStringA @ Debug: "ZVideoRecorder: Setting Min Frame Rate(1.00) and Max (60.00)"253 12244,1208 21:40:50.51496 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT254 12244,3484 21:40:50.51499 CKernel32ExportDetours::OutputDebugStringA @ Debug: SetVideoSize QSize(640, 360)255 12244,1208 21:40:50.51505 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=110 MESessionCapabilitiesChanged, value (empty), MF_EVENT_SESSIONCAPS=5;MF_EVENT_SESSIONCAPS_DELTA=4256 12244,1208 21:40:50.51507 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=103 MESessionStarted, value (empty), MF_EVENT_PRESENTATION_TIME_OFFSET=0 (0,0)257 12244,3484 21:40:50.51510 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Switched Media Foundation Session State to Stopped"258 12244,3484 21:40:50.51525 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:50.515 Session Event, type MESessionNotifyPresentationTime"259 12244,3484 21:40:50.51537 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:50.515 Session Event, type MESessionCapabilitiesChanged"260 12244,3484 21:40:50.51547 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Session Capabilities:(0x 1) Start "261 12244,3484 21:40:50.51560 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:50.515 Session Event, type MESessionTopologyStatus"262 12244,3484 21:40:50.51571 CKernel32ExportDetours::OutputDebugStringA @ Debug: "MFSession: Received Topology Status Ready event"263 12244,1208 21:40:50.54808 CMFTransformDetours::ProcessInput0 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA6EC0, Time 101939463ms, Duration 30ms, Buffers 1, Size 10584B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019394635081 (237,1487385929);MFSampleExtension_Discontinuity=1 264 12244,1208 21:40:50.54832 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA72B0, Time 101939463ms, Duration 29ms, Buffers 1, Size 11248B, MFSampleExtension_CleanPoint=1265 12244,1208 21:40:50.54835 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT266 12244,3484 21:40:50.56805 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:50.568 Session Event, type MESessionTopologyStatus"267 12244,3484 21:40:50.56826 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:50.568 Session Event, type MESessionCapabilitiesChanged"268 12244,3484 21:40:50.56836 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Session Capabilities:(0x 5) Start Pause "269 12244,3484 21:40:50.56848 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:50.568 Session Event, type MESessionStarted"270 12244,3484 21:40:50.56856 CKernel32ExportDetours::OutputDebugStringA @ Debug: SetState MediaRecorderState called271 12244,3484 21:40:50.56865 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Video Recorder State Set To Preview"272 12244,3484 21:40:50.56876 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Switched Media Foundation Session State to Started"273 12244,1208 21:40:50.58807 CMFTransformDetours::ProcessInput1 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA6EC0, Time 101939493ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019394931310 (237,1487682158)274 12244,1208 21:40:50.58836 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA7630, Time 101939492ms, Duration 40ms, Buffers 1, Size 15360B, MFSampleExtension_CleanPoint=1275 12244,1208 21:40:50.58839 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT276 12244,3AB8 21:40:50.62905 CMFTransformDetours::ProcessInput2 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA6EC0, Time 101939532ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019395329542 (237,1488080390)277 12244,3AB8 21:40:50.62933 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA70F0, Time 101939532ms, Duration 40ms, Buffers 1, Size 15360B, MFSampleExtension_CleanPoint=1285 12244,1208 21:40:50.75000 CMFTransformDetours::ProcessInput5 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA7630, Time 101939652ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019396529432 (237,1489280280)286 12244,1208 21:40:50.75024 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA7160, Time 101939652ms, Duration 40ms, Buffers 1, Size 15360B, MFSampleExtension_CleanPoint=1287 12244,1208 21:40:50.75027 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT288 12244,1208 21:40:50.79102 CMFTransformDetours::ProcessInput6 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA6EC0, Time 101939692ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019396929213 (237,1489680061)289 12244,1208 21:40:50.79126 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA72B0, Time 101939692ms, Duration 40ms, Buffers 1, Size 15360B, MFSampleExtension_CleanPoint=1290 12244,1208 21:40:50.79129 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT291 12244,3AB8 21:40:50.82087 CMFTransformDetours::ProcessInput0 @07ED1158(Color Converter) Stream ID 0, Sample @07ECE208, Time 101939741ms, Duration 33ms, Buffers 1, Size 460800B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019397419091 (237,1490169939);MFSampleExtension_BottomFieldFirst=1;MFSampleExtension_CleanPoint=1;MFSampleExtension_Discontinuity=1;MFSampleExtension_Interlaced=1292 12244,3AB8 21:40:50.82912 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) Stream ID 0, Sample @0DEA70F0, Time 101939741ms, Duration 33ms, Buffers 1, Size 921600B, MFSampleExtension_CleanPoint=1293 12244,3AB8 21:40:50.82921 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT294 12244,1208 21:40:50.83103 CMFTransformDetours::ProcessInput7 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @07F4B680, Time 101939733ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019397336913 (237,1490087761)295 12244,1208 21:40:50.83129 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA7630, Time 101939732ms, Duration 40ms, Buffers 1, Size 15360B, MFSampleExtension_CleanPoint=1296 12244,1208 21:40:50.83131 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT297 12244,3AB8 21:40:50.85283 CMFTransformDetours::ProcessInput1 @07ED1158(Color Converter) Stream ID 0, Sample @07ECE1D8, Time 101939773ms, Duration 33ms, Buffers 1, Size 460800B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019397739337 (237,1490490185);MFSampleExtension_BottomFieldFirst=1;MFSampleExtension_CleanPoint=1;MFSampleExtension_Discontinuity=0;MFSampleExtension_Interlaced=1298 12244,3AB8 21:40:50.85398 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) Stream ID 0, Sample @0DEA7160, Time 101939773ms, Duration 33ms, Buffers 1, Size 921600B, MFSampleExtension_CleanPoint=1299 12244,3AB8 21:40:50.85429 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT300 12244,3AB8 21:40:50.87115 CMFTransformDetours::ProcessInput8 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @07F4B5A0, Time 101939773ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019397736989 (237,1490487837)301 12244,3AB8 21:40:50.87156 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @07F4B680, Time 101939772ms, Duration 40ms, Buffers 1, Size 15360B, MFSampleExtension_CleanPoint=1302 12244,3AB8 21:40:50.87159 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT303 12244,1208 21:40:50.88492 CMFTransformDetours::ProcessInput2 @07ED1158(Color Converter) Stream ID 0, Sample @07ECE238, Time 101939805ms, Duration 33ms, Buffers 1, Size 460800B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019398059403 (237,1490810251);MFSampleExtension_BottomFieldFirst=1;MFSampleExtension_CleanPoint=1;MFSampleExtension_Discontinuity=0;MFSampleExtension_Interlaced=1304 12244,1208 21:40:50.88631 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) Stream ID 0, Sample @0DEA6980, Time 101939805ms, Duration 33ms, Buffers 1, Size 921600B, MFSampleExtension_CleanPoint=1305 12244,1208 21:40:50.88649 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT306 12244,1208 21:40:50.91107 CMFTransformDetours::ProcessInput9 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @07F4B4C0, Time 101939813ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019398137031 (237,1490887879)307 12244,1208 21:40:50.91135 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA7400, Time 101939812ms, Duration 40ms, Buffers 1, Size 15360B, MFSampleExtension_CleanPoint=1308 12244,1208 21:40:50.91138 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT309 12244,3AB8 21:40:50.91690 CMFTransformDetours::ProcessInput3 @07ED1158(Color Converter) Stream ID 0, Sample @07ECE1A8, Time 101939837ms, Duration 33ms, Buffers 1, Size 460800B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019398379546 (237,1491130394);MFSampleExtension_BottomFieldFirst=1;MFSampleExtension_CleanPoint=1;MFSampleExtension_Discontinuity=0;MFSampleExtension_Interlaced=1310 12244,3AB8 21:40:50.91807 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) Stream ID 0, Sample @0DEA7320, Time 101939837ms, Duration 33ms, Buffers 1, Size 921600B, MFSampleExtension_CleanPoint=1311 12244,1208 21:40:50.93095 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT312 12244,3AB8 21:40:50.93105 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:50.931 Null Media Type Sample: start = 1019397419091, duration = 333333, bytes = 0x000e1000"313 12244,3484 21:40:50.93169 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:50.931 Frame event #1"314 12244,3AB8 21:40:50.94893 CMFTransformDetours::ProcessInput4 @07ED1158(Color Converter) Stream ID 0, Sample @07EB86D0, Time 101939869ms, Duration 33ms, Buffers 1, Size 460800B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019398699631 (237,1491450479);MFSampleExtension_BottomFieldFirst=1;MFSampleExtension_CleanPoint=1;MFSampleExtension_Discontinuity=0;MFSampleExtension_Interlaced=1315 12244,3AB8 21:40:50.95083 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) Stream ID 0, Sample @07F4B610, Time 101939869ms, Duration 33ms, Buffers 1, Size 921600B, MFSampleExtension_CleanPoint=1316 12244,2E0C 21:40:50.95129 CMFTransformDetours::ProcessInput10@07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @07F4B840, Time 101939853ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019398537207 (237,1491288055)

Here is the trace while stopping the session:

464 12244,1208 21:40:51.62094 CMFTransformDetours::ProcessInput24@07ED1158(Color Converter) Stream ID 0, Sample @07F4D368, Time 101940541ms, Duration 33ms, Buffers 1, Size 460800B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019405419611 (237,1498170459);MFSampleExtension_BottomFieldFirst=1;MFSampleExtension_CleanPoint=1;MFSampleExtension_Discontinuity=0;MFSampleExtension_Interlaced=1465 12244,1208 21:40:51.62215 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) Stream ID 0, Sample @0DEA7320, Time 101940541ms, Duration 33ms, Buffers 1, Size 921600B, MFSampleExtension_CleanPoint=1466 12244,1208 21:40:51.63609 CMFTransformDetours::ProcessInput27@07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @07F4B4C0, Time 101940543ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019405437092 (237,1498187940)467 12244,1208 21:40:51.63637 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @07F4B840, Time 101940543ms, Duration 40ms, Buffers 1, Size 15360B, MFSampleExtension_CleanPoint=1468 12244,1208 21:40:51.63640 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT469 12244,2E0C 21:40:51.64597 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT470 12244,1208 21:40:51.64610 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:51.646 Null Media Type Sample: start = 1019404459013, duration = 333333, bytes = 0x000e1000"471 12244,3484 21:40:51.65219 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Switched Media Foundation Session State to Stopping"472 12244,1208 21:40:51.65234 CMFPresentationClockDetours::GetTime @07EB64F0(Presentation Clock) Time 1019404512060hns473 12244,1208 21:40:51.65236 CMFClockStateSinkDetours::OnClockStop @07ECF5DC System time 101940605ms474 12244,1208 21:40:51.65257 CMFClockStateSinkDetours::OnClockStop @07ECEF54 System time 101940605ms475 12244,1208 21:40:51.65262 CKernel32ExportDetours::OutputDebugStringA @ Debug: "MFGrabberCallback: clock stop"476 12244,1208 21:40:51.80491 CMFTransformDetours::ProcessMessage @07ED1158(Color Converter) Message type=0x00000000 MFT_MESSAGE_COMMAND_FLUSH, param=00000000477 12244,1208 21:40:51.80510 CMFTransformDetours::ProcessMessage @07ED2A3C(Audio Resampler DMO) Message type=0x00000000 MFT_MESSAGE_COMMAND_FLUSH, param=00000000478 12244,1208 21:40:51.80512 CMFTransformDetours::ProcessMessage @07ED1158(Color Converter) Message type=0x00000000 MFT_MESSAGE_COMMAND_FLUSH, param=00000000479 12244,1208 21:40:51.80512 CMFTransformDetours::ProcessMessage @07ED2A3C(Audio Resampler DMO) Message type=0x00000000 MFT_MESSAGE_COMMAND_FLUSH, param=00000000480 12244,2030 21:40:51.80517 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=110 MESessionCapabilitiesChanged, value (empty), MF_EVENT_SESSIONCAPS=1;MF_EVENT_SESSIONCAPS_DELTA=4481 12244,2030 21:40:51.80529 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Received additional events of type MESessionCapabilitiesChanged during stopping or closing,"482 12244,2030 21:40:51.80543 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=105 MESessionStopped, value (empty), MF_SESSION_APPROX_EVENT_OCCURRENCE_TIME=1019404512060 (237,1497262908)483 12244,2030 21:40:51.80546 CKernel32ExportDetours::OutputDebugStringA @ Debug: Received Session Stopped Callback484 12244,3484 21:40:51.80559 CKernel32ExportDetours::OutputDebugStringA @ Debug: "MFSession stopped after waiting 153 milliseconds"485 12244,3484 21:40:51.80591 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:51.805 Frame event #21"486 12244,3484 21:40:51.80670 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:51.806 Frame event #22"487 12244,3484 21:40:51.80744 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:51.807 Session Event, type MESessionCapabilitiesChanged"488 12244,3484 21:40:51.80754 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Session Capabilities:(0x 1) Start "489 12244,3484 21:40:51.80766 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:51.807 Session Event, type MESessionStopped"490 12244,3484 21:40:51.80775 CKernel32ExportDetours::OutputDebugStringA @ Debug: SetState MediaRecorderState called491 12244,3484 21:40:51.80783 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Video Recorder State Set To Stopped"492 12244,3484 21:40:51.80793 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Switched Media Foundation Session State to Stopped"

And here is the attempt at restarting. The only differences that I see are that the presentation clock is not re-initialized, i.e. the clock is not attached again (it is not detached, as far as I can see).   I see the two OnClockStart events for the sinks.  The Audio Branch appears to deliver frames, but we never see any frames delivered from the video source:

493 12244,3484 21:40:52.79066 CKernel32ExportDetours::OutputDebugStringA @ Debug: MFSession: Start494 12244,E7C 21:40:52.80173 CMFTransformDetours::ProcessMessage @07ED1158(Color Converter) Message type=0x10000003 MFT_MESSAGE_NOTIFY_START_OF_STREAM, param=00000000495 12244,E7C 21:40:52.80173 CMFTransformDetours::ProcessMessage @07ED2A3C(Audio Resampler DMO) Message type=0x10000003 MFT_MESSAGE_NOTIFY_START_OF_STREAM, param=00000000496 12244,1208 21:40:52.80180 CMFClockStateSinkDetours::OnClockStart @07ECF5DC System time 101941755ms, clock start offset 101941754ms497 12244,2030 21:40:52.80196 CMFClockStateSinkDetours::OnClockStart @07ECEF54 System time 101941755ms, clock start offset 101941754ms498 12244,E7C 21:40:52.80198 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT499 12244,E7C 21:40:52.80203 CMFTransformDetours::ProcessOutput @07ED1158(Color Converter) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT500 12244,2030 21:40:52.80209 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=110 MESessionCapabilitiesChanged, value (empty), MF_EVENT_SESSIONCAPS=5;MF_EVENT_SESSIONCAPS_DELTA=4501 12244,2030 21:40:52.80216 CMFMediaSessionDetours::EndGetEvent @07EB5730 Met=103 MESessionStarted, value (empty), MF_EVENT_PRESENTATION_TIME_OFFSET=0 (0,0)502 12244,3484 21:40:52.80228 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:52.801 Session Event, type MESessionCapabilitiesChanged"503 12244,3484 21:40:52.80243 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Session Capabilities:(0x 5) Start Pause "504 12244,3484 21:40:52.80258 CKernel32ExportDetours::OutputDebugStringA @ Debug: "14:40:52.802 Session Event, type MESessionStarted"505 12244,3484 21:40:52.80267 CKernel32ExportDetours::OutputDebugStringA @ Debug: SetState MediaRecorderState called506 12244,3484 21:40:52.80275 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Video Recorder State Set To Preview"507 12244,3484 21:40:52.80286 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Switched Media Foundation Session State to Started"508 12244,2030 21:40:52.84156 CMFTransformDetours::ProcessInput0 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA7320, Time 101941757ms, Duration 30ms, Buffers 1, Size 10584B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019417575095 (237,1510325943);MFSampleExtension_Discontinuity=1 509 12244,2030 21:40:52.84182 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @07F4BA00, Time 101941757ms, Duration 29ms, Buffers 1, Size 11248B, MFSampleExtension_CleanPoint=1510 12244,2030 21:40:52.84185 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT511 12244,2030 21:40:52.88150 CMFTransformDetours::ProcessInput1 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA7320, Time 101941787ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019417871889 (237,1510622737)512 12244,2030 21:40:52.88178 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA6980, Time 101941786ms, Duration 40ms, Buffers 1, Size 15360B, MFSampleExtension_CleanPoint=1513 12244,2030 21:40:52.88180 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT514 12244,2030 21:40:52.92145 CMFTransformDetours::ProcessInput2 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA7320, Time 101941826ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019418269415 (237,1511020263)515 12244,2030 21:40:52.92170 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @07F4B840, Time 101941826ms, Duration 40ms, Buffers 1, Size 15360B, MFSampleExtension_CleanPoint=1516 12244,2030 21:40:52.92172 CMFTransformDetours::ProcessOutput @07ED2A3C(Audio Resampler DMO) failed hr=0xC00D6D72 MF_E_TRANSFORM_NEED_MORE_INPUT517 12244,2030 21:40:52.96250 CMFTransformDetours::ProcessInput3 @07ED2A3C(Audio Resampler DMO) Stream ID 0, Sample @0DEA6980, Time 101941866ms, Duration 40ms, Buffers 1, Size 14112B, MFSampleExtension_Token=@00000000;MFSampleExtension_DeviceTimestamp=1019418669485 (237,1511420333)

If I try clear the topology between runs, i cannot recreate the Aggregate source.  I'm thinking that is a clue to the above problem of not being able to restart....

I guess I need to iterate across the aggregate source, extract the IMFMediaSource pointers, and then call IMFSource->Shutdown() when I release the topology?

2357 11412,1944 18:28:53.16969 CMFActivateDetours::ActivateObject @0B7F3DA8 New source @0B7FD2F02358 11412,1944 18:28:53.16989 COle32ExportDetours::CoCreateInstance @ New MFT @0B7F8F88, MF_TRANSFORM_ASYNC=12359 11412,1944 18:28:53.16989 COle32ExportDetours::CoCreateInstance @ Created {14DD9A1C-7CFF-41BE-B1B9-BA1AC6ECB571} MF AudCap Source Plug-in (C:\WINDOWS\System32\mfcore.dll) @0B7F8F88 - traced interfaces: IMFTransform @0B7F8F88,2360 11412,1944 18:28:53.16990 CMFAttributesDetours::GetUINT32 @0B7FBC78 attribute not found guidKey = MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_ROLE2361 11412,1944 18:28:53.17004 COle32ExportDetours::CoCreateInstance @ Created MMDeviceEnumerator class - ignored2362 11412,1944 18:28:53.17044 CMFAttributesDetours::GetUINT32 @0B7FBC78 attribute not found guidKey = {5B61B815-EBFA-4D06-AD16-B1F515032B79}2363 11412,1944 18:28:53.17101 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Failed to create aggregate source" long __thiscall PascoVideo::MFTopologyBuilder::CreateAggregatePresentation(const class ExperimentUID&,const class ExperimentUID &,struct IMFMediaSource **,struct IMFPresentationDescriptor **)2364 11412,1944 18:28:53.17124 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Failed to create Aggregate Source" long __thiscall PascoVideo::MFTopologyBuilder::CreateSoftwarePreviewTopology(const class ExperimentUID&,const class ExperimentUID &,class QObject *,class PascoVideo::SampleGrabberCB **,struct IMFMediaSource **,struct IMFTopology **)2365 11412,1944 18:28:53.17136 CKernel32ExportDetours::OutputDebugStringA @ Debug: "Failed to create preview topology" long __thiscall PascoVideo::MFSession::CreatePreviewTopology(const class ExperimentUID &,const class ExperimentUID,const class ExperimentUID &) 2366 11412,1944 18:28:53.17145 CKernel32ExportDetours::OutputDebugStringA @ Debug: Failed to create topology2367 11412,1944 18:28:55.42691 CMFActivateDetours::ActivateObject @0B7F3DA8 New source @0B7FD2F02368 11412,1944 18:28:55.42710 COle32ExportDetours::CoCreateInstance @ New MFT @0B88C2F8, MF_TRANSFORM_ASYNC=12369 11412,1944 18:28:55.42711 COle32ExportDetours::CoCreateInstance @ Created {14DD9A1C-7CFF-41BE-B1B9-BA1AC6ECB571} MF AudCap Source Plug-in (C:\WINDOWS\System32\mfcore.dll) @0B88C2F8 - traced interfaces: IMFTransform @0B88C2F8,2370 11412,1944 18:28:55.42712 CMFAttributesDetours::GetUINT32 @0B80B9C0 attribute not found guidKey = MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_ROLE


Here is the working 'preview' topoology:

Aggregate Source Preview Topology as Loaded

This topology loads and runs fine, showing a preview.

After I stop previewing, and attempt to restart 


play video from memory stream

$
0
0

I have a requirement in that the video files are stored in the database. So is there anyway to play the video from the stream without saving into the file using windows media player


Thanks

Transcoded (WAV To WMA) Files come out slightly short.

$
0
0

Howdy!

I used the transcode sample to create a small utility that converts WAV files to WMA. I'm having an issue, though, that the files fairly often end up a half second short. Any ideas?

IMFPresentationClock::GetTime method sometimes returns 0 although it shouldn't

$
0
0

Hi,

I have an application where you can have multiple areas where videos are played. I sued the media session for playback. When playing my application asks with a frequency of 10 Hz where the video is so that it can display the current position to the user. 

I have used something like this: 

  HRESULT hr = S_OK;
  IMFClock *pClock = NULL;
  IMFPresentationClock *pPrClock = NULL;

  hr = m_pSession->GetClock(&pClock);
  if (FAILED(hr))
  {
    return MF_E_NO_CLOCK;
  }
  else
  {
    do 
    {
      hr = pClock->QueryInterface(IID_PPV_ARGS(&pPrClock));
      BREAK_ON_FAIL(hr);
      hr = pPrClock->GetTime(llCurrentPossition);
      BREAK_ON_FAIL(hr);
    } while (false);    
  }

  SafeRelease(&pClock);
  SafeRelease(&pPrClock);
  return hr;

If I use only one video then it is ok. I does what it should and I get the correct time. The problem arises when I have more than one area with a video in it. The areas are in different objects that use media foundation.

In the 2 video scenario when I query for the current time I sometimes get the correct value and sometimes I get 0 (in the middle of the video). Does somebody have an explanation for this behavior? What is more confusing to me is that I don't get any error code. The returned HRESULT is S_OK.

Thanks!

Show last frame from video 1 while starting video 2

$
0
0

I am writing a system that displays multiple short videos taken back to back. My code is based on player.cpp example.

At the end of each video, there is a black flash on the video screen. Is there any way of holding the last frame of the video that just completed in the window while the next video is starting?

Ed


ert304

MF_MT_AUDIO_CHANNEL_MASK

$
0
0

Can anyone explain to me how to set this to change the order of channels.

Using the standard is not mixing well with my receiver.

So I want to have the ability to reorder the channels to match what I am looking for.

Using Topoedit, I see the standard has a value of 63, or 111111 in bits.

If it 63 is in Hex, then in bits it is 1100011

In all the sample code on the net I have seen, it is set to 1. 

Viewing all 1079 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>