FFmpeg and serial logging apllication