Cleans up obs-ffmpeg.c and separates all the logging code to a different file, which can be enabled with ENABLE_FFMPEG_LOGGING.