Our most simple transcoding service
At Fliva we had an issue - customers kept uploading iPhone footage in HDR formats with varying framerates, and our software could not handle it.
Programming, development tools, and technical tutorials
AI and everything related to being a modern developer in the age of AI, Vibe- and Agentic coding
0 postsAt Fliva we had an issue - customers kept uploading iPhone footage in HDR formats with varying framerates, and our software could not handle it.
A complete C++ guide for extracting and decoding individual video frames using the ffmpeg/libav library, covering file opening, stream detection, codec initialization, and frame conversion.
At Fliva we work with audio, video and we do transcoding, muxing and all that jazz.
Sometimes when writing C++ programs I have textual data that I want to be part of the executable instead of in flat files next to it. But while developing it's far easier to have the textual data in separate files rather than as strings in source.
One of the biggest grievances I had when I started writing a lot of C++ code was that things we take for granted as built-in in other languages are harder to do right in C++. For simple string manipulation, there is boost.
I just wrote about how to trim strings with boost, and the code where I first needed to trim was actually a very simple naive parser where strings of key value pairs would be split and then each part trimmed.