Use AV_LOG_DEBUG loglevel instead of AV_LOG_ERROR where appropriate.