Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
We're working on a system to stream live sports events from the local high school stadium. We're feeding three IP streaming cameras into a laptop and switching between them with a DirectShow application we built in Visual Studio. We would like to superimpose a scoreboard and subtitles identifying the people onscreen but have run up against a problem: Once the DirectShow filter graph is running, it doesn't allow the file capture filter to reload the file so we can't change the score or subtitles!

What I have tried:

We tried making StreamBufferSinks to isolate the file capture modules so we could shut them off to reload the graphics, but could never get that to work...

Are we barking up the wrong tree? Is there a better way to do this? If DirectShow is the best solution, what is the best way to superimpose multiple .TGA, PNG or XAML files onto the video being mixed in VMR9 in a way that they can be updated during the game?
Posted
Updated 15-May-18 12:59pm
Comments
RedDk 15-May-18 15:47pm    
Don't think you'll get a lot of takers here in CPQA if you don't show a specific code block where something works or where you suspect there's some faulty coding going on; those types of queries are best.

But starting from nowhere, you could look here:

https://github.com/Microsoft/DirectX-Graphics-Samples

1 solution

I think you should look at WPF. It uses DirectX to display everything and makes it easy to superimpose video on things.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900