Partager via


Video Test Source Filter

On MSDN Code Gallery, I have posted a DirectSow source filter that generates video in various formats (RGB and YUV). Originally I wrote this filter in order to pass test video content to the EVR. You can configure the format, including interlacing and PAR, and it has a property page for use with GraphEdit.

https://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=mwasson&ReleaseId=939

Comments

  • Anonymous
    April 23, 2008
    Hello. Thank you for providing this tool. Sure it can help me understanding video format. I've got an answer about EVRPresenter sample. Where can i post it? (how to open a discussion on it)

  • Anonymous
    April 23, 2008
    On my firts post, understand "i've got a question" not a answer...

  • Anonymous
    April 24, 2008
    You can post it here and I'll see if I can answer it, or you can post it to the Media Foundation programming forum: http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=387&SiteID=1

  • Mike
  • Anonymous
    April 25, 2008
    Hello. Thank you for answering. You'll already have answered my Evrpresenter question on media foundation forum. Evr and media foundation is a very exciting technology for me, quality and performance are very promising. Ok, i'll have to provide my own Evrpresenter and use Hwnd in the way it will be useful for my aim. Now i know i can take this direction without any problems: i think i'm going to provide my own interface. An other question: i never used swapchain before. To draw d3d objects on to video sample surface, is this the way for ?
  • swapchain->drawsample
  • swapchain->getbuffer
  • device->setrendertarget
  • device->beginscene
  • draw d3d
  • device->endscene
  • swapchain->present
  • Anonymous
    April 28, 2008
    That sounds right - but I haven't tried it.
  • Mike
  • Anonymous
    April 28, 2008
    Yes, it's OK. Thanks. For sure, I shall have other questions when implementing my own EvrPresenter...