Index: libmpcodecs/ad_ffmpeg.c =================================================================== --- libmpcodecs/ad_ffmpeg.c (revision 19640) +++ libmpcodecs/ad_ffmpeg.c (working copy) @@ -42,7 +42,10 @@ int x; AVCodecContext *lavc_context; AVCodec *lavc_codec; + extern int verbose; + av_log_level = verbose + 1; + mp_msg(MSGT_DECAUDIO,MSGL_V,"FFmpeg's libavcodec audio codec\n"); if(!avcodec_inited){ avcodec_init(); Index: libmpcodecs/vd_ffmpeg.c =================================================================== --- libmpcodecs/vd_ffmpeg.c (revision 19640) +++ libmpcodecs/vd_ffmpeg.c (working copy) @@ -172,9 +172,12 @@ AVCodecContext *avctx; vd_ffmpeg_ctx *ctx; AVCodec *lavc_codec; + extern int verbose; int lowres_w=0; int do_vis_debug= lavc_param_vismv || (lavc_param_debug&(FF_DEBUG_VIS_MB_TYPE|FF_DEBUG_VIS_QP)); + av_log_level = verbose + 1; + if(!avcodec_inited){ avcodec_init(); avcodec_register_all(); Index: libmpcodecs/ae_lavc.c =================================================================== --- libmpcodecs/ae_lavc.c (revision 19640) +++ libmpcodecs/ae_lavc.c (working copy) @@ -147,6 +147,8 @@ int mpae_init_lavc(audio_encoder_t *encoder) { + extern int verbose; + av_log_level = verbose + 1; encoder->params.samples_per_frame = encoder->params.sample_rate; encoder->params.bitrate = encoder->params.sample_rate * encoder->params.channels * 2 * 8; Index: libmpcodecs/ve_lavc.c =================================================================== --- libmpcodecs/ve_lavc.c (revision 19640) +++ libmpcodecs/ve_lavc.c (working copy) @@ -885,6 +885,8 @@ //===========================================================================// static int vf_open(vf_instance_t *vf, char* args){ + extern int verbose; + av_log_level = verbose + 1; vf->uninit=uninit; vf->config=config; vf->default_caps=VFCAP_CONSTANT; Index: libmpdemux/demux_lavf.c =================================================================== --- libmpdemux/demux_lavf.c (revision 19640) +++ libmpdemux/demux_lavf.c (working copy) @@ -148,10 +148,13 @@ AVFormatContext *avfc; AVFormatParameters ap; AVOption *opt; + extern int verbose; lavf_priv_t *priv= demuxer->priv; int i,g; char mp_filename[256]="mp:"; + av_log_level = verbose + 1; + memset(&ap, 0, sizeof(AVFormatParameters)); stream_seek(demuxer->stream, 0); Index: libmpdemux/muxer_lavf.c =================================================================== --- libmpdemux/muxer_lavf.c (revision 19640) +++ libmpdemux/muxer_lavf.c (working copy) @@ -312,6 +312,7 @@ { muxer_priv_t *priv; AVOutputFormat *fmt = NULL; + extern int verbose; char mp_filename[256] = "menc://stream.dummy"; mp_msg(MSGT_MUXER, MSGL_WARN, "** MUXER_LAVF *****************************************************************\n"); @@ -332,6 +333,7 @@ "*******************************************************************************\n"); if (!conf_allow_lavf) return 0; + av_log_level = verbose + 1; priv = (muxer_priv_t *) calloc(1, sizeof(muxer_priv_t)); if(priv == NULL) return 0;