C++, Mediagaps and Media Workflows

Why is C++ (still) relevant for Media Workflows?

Looking at the challenges of many of the projects Mediagaps is involved in, like:

  • Video/Audio encoding/decoding,
  • wrapping/unwrapping;
  • scaling;
  • Need for real-time or almost real-time response, meaning lowest latency possible when accessing data from memory;
  • Integrations with other low-level APIs such as Video Boards, GPU boards, Frameworks for encoding/decoding/streaming.

C++ comes up as the perfect solution.

Let’s look into three examples where C++ is an extra plus

  1. First, it goes without saying that the M&E industry needs to efficiently process a huge amount of video/audio data in real time! Looking at a simple application that needs to record input video coming from SDI, IP, those requirements increase every day, demanding more and more. For example, a single YUV image at UHD takes more than 16 MB, which could mean almost 1GB for a single second (wow!). With C++ you can efficiently create, use and destroy memory, giving you the control to know where and how much memory is being used in your application.
  2. With C++, you benefit from a language structured in classes with the performance of running machine code. You always know when memory is allocated and freed, platform independent, since it’s machine code, you get to have optimized code for each OS.
  3. Last but not least… smooth Integrations! Third party software are either developed in C or C++, so you can integrate with all third-party APIs directly. C++ is an ‘old’ programming language, but still has a large community that uses it for multiple industries, which makes it simple to find other frameworks and third parties that could be used or adapted.

MediaGaps, C++ & MediaWorkflows

We, at MediaGaps, are a huge fan of C++… ask our software engineers ;). 80% of our projects are developed in C++ and 100% are for the media and entertainment industry. From Video input card readers, Video/audio manipulation and transformation, GPU processing, Input/output Stream, Mediagaps has been helping customers achieve their goals in their development, by creating tools, API’s or services that allow others to quickly and efficiently improve their products.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.