DirectShow filter debugging procedure

Source: Internet
Author: User
1. Compile the filter
2. Build in debug mode
3. register the filter: the console CD to the DEBUG directory of the project, that is, the filter (. ax file) directory, XX:> regsvr32 contrast. ax. The registration is successful. Otherwise, check
4. In vs, select the path of graphedit.exe under the executable file name, as shown in the following figure:

Alternatively, you can directly set the project properties as follows:


After running, you can select "yes" in the following prompt window.


5. Create the graph in graphedit:
Graphedit.exe menu-graph-Insert filter-double-click the filter to be debugged to add it to graph.

You can simply select render file from the File menu. If the filter is correct and can be added to the chain normally, graph will automatically create a complete file, for example:


6. breakpoint debugging in vs. In fact, debugging can be started from adding a filter. For example, you can add a breakpoint on the createinstance function of the filter.

DirectShow filter debugging procedure

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.