Automating Trace Analysis

In our last post, we discussed how to examine Media Foundation traces manually, using TextAnalysisTool.NET. This time, we present a few scripts to automate the process and identify problems more quickly.   Getting Started First, install Perl, GraphViz, and Gnuplot. Then open a command prompt and add Gnuplot to your path. For example: set PATH=%PATH%;C:\Program…

1

Analyzing Media Foundation traces

As we mentioned in our previous blog post, log files generated by MFTrace quickly become huge, and it can be difficult to sort out interesting traces from background noise. This blog post will share a few tips to help analyze those log files. TextAnalysisTool.NET One (free) tool that we often use is TextAnalysilTool.NET. The tool…

0

Using MFTrace to Trace Media Foundation

We are continuing our series on Media Foundation and its tracing by introducing a new tool available in the latest Windows SDK: MFTrace. This tool is similar to Event Viewer: Both tools collect traces which give some insight into what Media Foundation and its components are doing. However, MFTrace is much more powerful, and collects…

0

Using Event Viewer to Trace Media Foundation

It is an unfortunate fact of life that sometimes things do not work as expected. Luckily, when bad things happen, the Event Viewer is there to help narrow down the issue and figure out the root cause of the problem. Without these traces, finding when and why a failure happened in Media Foundation can be…

0

MFDub

SummaryMFDub is a simple linear video editor built on Media Foundation, modeled after the free video editor VirtualDub. MFDub can open any file format that can be resolved by the MF source resolver, display frames of video from the file, apply a series of video or audio effects implemented as MF transforms, and then save…

0

MFManagedEncode

MFManagedEncode.exe This is a managed tool written in C# and XAML that converts files from one media format to another. The source code is provided to use as a reference on how to interop with source reader, sink writer and the transcode API from a managed environment. The sample previews media files using WPF’s MediaElement…

7