Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9095877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:42:50+00:00 2026-06-16T23:42:50+00:00

I have written a WPF application that can open, edit and render .GRF files

  • 0

I have written a WPF application that can open, edit and render .GRF files. When rendering, I did not want it to open a new window (like GraphEdit does), so I found a solution that uses the Sample Grabber to render samples into a WPF brush.

Before rendering, my application replaces the Video Renderer in the .GRF file with the SampleGrabber. This worked fine, until I met the Microsoft DTV-DVD Video Decoder. For some reason, it only connects to the Video Renderer, and NOT to my Sample Grabber… so currently my application can’t handle MPEG2.

Can someone explain to me: why? What restricts these filters from connecting?

And how am I supposed to grab decoded MPEG2 samples then?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T23:42:51+00:00Added an answer on June 16, 2026 at 11:42 pm

    Sample Grabber Filter will only connect to video media types described by VIDEOINFOHEADER structure (check MSDN link for details on that in Remarks section). You have video output with MPEG2VIDEOINFO and Sample Grabber rejects it.

    Old SDKs have source code for Sample Grabber-like filter, which you can improve to add support for missing format structures. Sample Grabber filter alone is pretty simple on its own. You can also fit some additional decoder (third party, freeware, deinterlacer etc) for it to bring you VIDEOINFOHEADER media type on its output.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a WPF application that I want to port to Silverlight 2.
I have to modify a WPF application written in C# that displays a complex
I have a small report/logging application written in C#.NET 4.0 and WPF that I
I have written a WPF Line of Business application that has a particular sections
I have a WPF application that is written using MVVM Prism. It has a
I have a wpf application written in framework 4. The application is downloaded via
I have a C# application of which some parts are written using WPF (which
I have a form in my WPF application that I have to add an
Greetings, We have an application written in .net 3.5 that uses wcf and also
I have a WPF application implemented using the MVVM framework that uses an ActiveX

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.