Author: Roman

Play an MP3 with Media Foundation

An under 100 lines of C++ code sample that plays an MP3 file with Microsoft Media Foundation. https://github.com/roman380/MediaFoundationMinimalAudioPlayback Comes from this StackOverflow question, however unlike Microsoft’s sample it does not spread simple code among multiple source code files, gives a quick way to build & run, shows modern C++ practices (including Microsoft Windows Implementation Library…

Read the full article

On helping Ukraine (update)

Recently I explained why you should not express your support of Ukraine by sending money to various disgusting organizations even if they have fancy looking names, such as, including, and maybe even first of all those with labels “initiative of the president of Ukraine”. The organization I recommended has been gradually shifting to forwarding the…

Read the full article

On helping Ukraine

I have been asked a few times about helping Ukraine in connection with the happening on the East of Ukraine. The first thing however, is to have clear understanding about who is fighting with whom and for what exactly. The mainstream media story about Russian president going nuts and attack of Ukraine, and then all…

Read the full article

Encoding multiple concurrent real time video streams with NVIDIA hardware video encoder

NVIDIA consumer grade hardware provides support nowadays for – mostly – three concurrent sessions. The support matrix is provided here: Video Encode and Decode GPU Support Matrix | NVIDIA Developer. This small tool starts video encoding with given signal parameters (resolution, rate) and provides an easy way to measure load of GPU video encoding engine.…

Read the full article