Skip to content

Instantly share code, notes, and snippets.

@prabindh
Created May 8, 2020 03:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prabindh/d8d9b0c758b76ee28031de9f0eb221ff to your computer and use it in GitHub Desktop.
Save prabindh/d8d9b0c758b76ee28031de9f0eb221ff to your computer and use it in GitHub Desktop.
Adding logging to FFMPEG
static void ffmpeg_avcodec_log(void *ptr, int val, const char * msg, va_list ap)
{
}
// As below, ffmpeg_avcodec_log_function()
av_log_set_callback(ffmpeg_avcodec_log_function);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment