C++ and FFMPEG sometimes have an argument. With this article I want to describe how to make peace between them. In the bottom of the article there are two files. The first one is a pdf file where I describe how to implement a wrapper that allows programmers to use FFMPEG in C++ code, the second one is an archive (7zip) where is stored a Qt project, that uses FFMPEG library to create a simple sound. I hope that this article can help desperate programmers.