What about a working MF sample which takes an audio/video data from whatever source and
pushes it to a network stream which can be then consumed by for example VLC player like: http://hostname:port/streamname
in other words a network stream server using the MediaFoundation API
simply pushes the raw data from whatever source to standard console output which can be consumed by ffmpeg.exe started in "console-input" mode
I added a USBCamera UserInterface and MediaFilePlayer UserInterface to a sample and test with multiple object.
When I add multiple players into a form (10 players), and start the usb camera , the camera display well. Then I start each player with an mp4 media file. It may cause to frozen of video from usb camera.