[FFmpeg-cvslog] lavfi: decrease logging level of message showing initial parameters
Stefano Sabatini
git at videolan.org
Sun Jul 15 15:08:12 CEST 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Jul 14 18:26:04 2012 +0200| [fda968aa8febe384038aa0a41df8b8e1bb28c5ae] | committer: Stefano Sabatini
lavfi: decrease logging level of message showing initial parameters
Reduce log clutter, consistent with 1a49a169eb74a97.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fda968aa8febe384038aa0a41df8b8e1bb28c5ae
---
libavfilter/af_aconvert.c | 2 +-
libavfilter/af_amerge.c | 2 +-
libavfilter/af_aresample.c | 2 +-
libavfilter/af_asetnsamples.c | 2 +-
libavfilter/af_pan.c | 2 +-
libavfilter/af_volume.c | 2 +-
libavfilter/asrc_aevalsrc.c | 2 +-
libavfilter/avf_showwaves.c | 2 +-
libavfilter/buffersrc.c | 4 ++--
libavfilter/vf_blackdetect.c | 2 +-
libavfilter/vf_boxblur.c | 2 +-
libavfilter/vf_colormatrix.c | 2 +-
libavfilter/vf_delogo.c | 2 +-
libavfilter/vf_deshake.c | 2 +-
libavfilter/vf_removelogo.c | 2 +-
libavfilter/vf_scale.c | 2 +-
libavfilter/vf_super2xsai.c | 2 +-
libavfilter/vf_thumbnail.c | 2 +-
libavfilter/vf_tinterlace.c | 2 +-
libavfilter/vsrc_cellauto.c | 2 +-
libavfilter/vsrc_life.c | 2 +-
libavfilter/vsrc_mptestsrc.c | 2 +-
libavfilter/vsrc_testsrc.c | 2 +-
23 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/libavfilter/af_aconvert.c b/libavfilter/af_aconvert.c
index dc9cf45..6dd8452 100644
--- a/libavfilter/af_aconvert.c
+++ b/libavfilter/af_aconvert.c
@@ -127,7 +127,7 @@ static int config_output(AVFilterLink *outlink)
-1, inlink ->channel_layout);
av_get_channel_layout_string(buf2, sizeof(buf2),
-1, outlink->channel_layout);
- av_log(ctx, AV_LOG_INFO,
+ av_log(ctx, AV_LOG_VERBOSE,
"fmt:%s cl:%s -> fmt:%s cl:%s\n",
av_get_sample_fmt_name(inlink ->format), buf1,
av_get_sample_fmt_name(outlink->format), buf2);
diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c
index 660ae5d..b810f73 100644
--- a/libavfilter/af_amerge.c
+++ b/libavfilter/af_amerge.c
@@ -157,7 +157,7 @@ static int config_output(AVFilterLink *outlink)
}
av_bprintf(&bp, " -> out:");
av_bprint_channel_layout(&bp, -1, ctx->outputs[0]->channel_layout);
- av_log(ctx, AV_LOG_INFO, "%s\n", bp.str);
+ av_log(ctx, AV_LOG_VERBOSE, "%s\n", bp.str);
return 0;
}
diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c
index cf1d8df..4221945 100644
--- a/libavfilter/af_aresample.c
+++ b/libavfilter/af_aresample.c
@@ -162,7 +162,7 @@ static int config_output(AVFilterLink *outlink)
av_get_channel_layout_string(inchl_buf, sizeof(inchl_buf), -1, inlink ->channel_layout);
av_get_channel_layout_string(outchl_buf, sizeof(outchl_buf), -1, outlink->channel_layout);
- av_log(ctx, AV_LOG_INFO, "chl:%s fmt:%s r:%dHz -> chl:%s fmt:%s r:%dHz\n",
+ av_log(ctx, AV_LOG_VERBOSE, "chl:%s fmt:%s r:%dHz -> chl:%s fmt:%s r:%dHz\n",
inchl_buf, av_get_sample_fmt_name(inlink->format), inlink->sample_rate,
outchl_buf, av_get_sample_fmt_name(outlink->format), outlink->sample_rate);
return 0;
diff --git a/libavfilter/af_asetnsamples.c b/libavfilter/af_asetnsamples.c
index 95fd507..8805d53 100644
--- a/libavfilter/af_asetnsamples.c
+++ b/libavfilter/af_asetnsamples.c
@@ -68,7 +68,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
}
asns->next_out_pts = AV_NOPTS_VALUE;
- av_log(ctx, AV_LOG_INFO, "nb_out_samples:%d pad:%d\n", asns->nb_out_samples, asns->pad);
+ av_log(ctx, AV_LOG_VERBOSE, "nb_out_samples:%d pad:%d\n", asns->nb_out_samples, asns->pad);
return 0;
}
diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c
index bb96ad0..13bb5c3 100644
--- a/libavfilter/af_pan.c
+++ b/libavfilter/af_pan.c
@@ -327,7 +327,7 @@ static int config_props(AVFilterLink *link)
j ? " + " : "", pan->gain[i][j], j);
cur += FFMIN(buf + sizeof(buf) - cur, r);
}
- av_log(ctx, AV_LOG_INFO, "o%d = %s\n", i, buf);
+ av_log(ctx, AV_LOG_VERBOSE, "o%d = %s\n", i, buf);
}
// add channel mapping summary if possible
if (pan->pure_gains) {
diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c
index 09302ee..1aca7d9 100644
--- a/libavfilter/af_volume.c
+++ b/libavfilter/af_volume.c
@@ -75,7 +75,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
}
vol->volume_i = (int)(vol->volume * 256 + 0.5);
- av_log(ctx, AV_LOG_INFO, "volume=%f\n", vol->volume);
+ av_log(ctx, AV_LOG_VERBOSE, "volume=%f\n", vol->volume);
return 0;
}
diff --git a/libavfilter/asrc_aevalsrc.c b/libavfilter/asrc_aevalsrc.c
index dfb6b5a..fb7151b 100644
--- a/libavfilter/asrc_aevalsrc.c
+++ b/libavfilter/asrc_aevalsrc.c
@@ -181,7 +181,7 @@ static int config_props(AVFilterLink *outlink)
av_get_channel_layout_string(buf, sizeof(buf), 0, eval->chlayout);
- av_log(outlink->src, AV_LOG_INFO,
+ av_log(outlink->src, AV_LOG_VERBOSE,
"sample_rate:%d chlayout:%s duration:%f\n",
eval->sample_rate, buf, eval->duration);
diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c
index 9a267a6..2494a70 100644
--- a/libavfilter/avf_showwaves.c
+++ b/libavfilter/avf_showwaves.c
@@ -145,7 +145,7 @@ static int config_output(AVFilterLink *outlink)
outlink->frame_rate = av_div_q((AVRational){inlink->sample_rate,showwaves->n},
(AVRational){showwaves->w,1});
- av_log(ctx, AV_LOG_INFO, "s:%dx%d r:%f n:%d\n",
+ av_log(ctx, AV_LOG_VERBOSE, "s:%dx%d r:%f n:%d\n",
showwaves->w, showwaves->h, av_q2d(outlink->frame_rate), showwaves->n);
return 0;
}
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index 2592cfb..72ee268 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -268,7 +268,7 @@ static av_cold int init_video(AVFilterContext *ctx, const char *args)
goto fail;
}
- av_log(ctx, AV_LOG_INFO, "w:%d h:%d pixfmt:%s tb:%d/%d fr:%d/%d sar:%d/%d sws_param:%s\n",
+ av_log(ctx, AV_LOG_VERBOSE, "w:%d h:%d pixfmt:%s tb:%d/%d fr:%d/%d sar:%d/%d sws_param:%s\n",
c->w, c->h, av_pix_fmt_descriptors[c->pix_fmt].name,
c->time_base.num, c->time_base.den, c->frame_rate.num, c->frame_rate.den,
c->pixel_aspect.num, c->pixel_aspect.den, (char *)av_x_if_null(c->sws_param, ""));
@@ -328,7 +328,7 @@ static av_cold int init_audio(AVFilterContext *ctx, const char *args)
if (!s->time_base.num)
s->time_base = (AVRational){1, s->sample_rate};
- av_log(ctx, AV_LOG_INFO,
+ av_log(ctx, AV_LOG_VERBOSE,
"tb:%d/%d samplefmt:%s samplerate:%d chlayout:%s\n",
s->time_base.num, s->time_base.den, s->sample_fmt_str,
s->sample_rate, s->channel_layout_str);
diff --git a/libavfilter/vf_blackdetect.c b/libavfilter/vf_blackdetect.c
index bb9567d..85a13f2 100644
--- a/libavfilter/vf_blackdetect.c
+++ b/libavfilter/vf_blackdetect.c
@@ -109,7 +109,7 @@ static int config_input(AVFilterLink *inlink)
blackdetect->pixel_black_th * 255 :
16 + blackdetect->pixel_black_th * (235 - 16);
- av_log(blackdetect, AV_LOG_INFO,
+ av_log(blackdetect, AV_LOG_VERBOSE,
"black_min_duration:%s pixel_black_th:%f pixel_black_th_i:%d picture_black_ratio_th:%f\n",
av_ts2timestr(blackdetect->black_min_duration, &inlink->time_base),
blackdetect->pixel_black_th, blackdetect->pixel_black_th_i,
diff --git a/libavfilter/vf_boxblur.c b/libavfilter/vf_boxblur.c
index d9ef7e6..6e6949e 100644
--- a/libavfilter/vf_boxblur.c
+++ b/libavfilter/vf_boxblur.c
@@ -175,7 +175,7 @@ static int config_input(AVFilterLink *inlink)
EVAL_RADIUS_EXPR(chroma);
EVAL_RADIUS_EXPR(alpha);
- av_log(ctx, AV_LOG_INFO,
+ av_log(ctx, AV_LOG_VERBOSE,
"luma_radius:%d luma_power:%d "
"chroma_radius:%d chroma_power:%d "
"alpha_radius:%d alpha_power:%d "
diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c
index 0784c82..3c14205 100644
--- a/libavfilter/vf_colormatrix.c
+++ b/libavfilter/vf_colormatrix.c
@@ -313,7 +313,7 @@ static int config_input(AVFilterLink *inlink)
color->hsub = pix_desc->log2_chroma_w;
color->vsub = pix_desc->log2_chroma_h;
- av_log(ctx, AV_LOG_INFO, "%s -> %s\n", color->src, color->dst);
+ av_log(ctx, AV_LOG_VERBOSE, "%s -> %s\n", color->src, color->dst);
return 0;
}
diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c
index ae9d2a3..996609d 100644
--- a/libavfilter/vf_delogo.c
+++ b/libavfilter/vf_delogo.c
@@ -198,7 +198,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
if (delogo->show)
delogo->band = 4;
- av_log(ctx, AV_LOG_INFO, "x:%d y:%d, w:%d h:%d band:%d show:%d\n",
+ av_log(ctx, AV_LOG_VERBOSE, "x:%d y:%d, w:%d h:%d band:%d show:%d\n",
delogo->x, delogo->y, delogo->w, delogo->h, delogo->band, delogo->show);
delogo->w += delogo->band*2;
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 10d789f..45da72b 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -377,7 +377,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
deshake->cx &= ~15;
}
- av_log(ctx, AV_LOG_INFO, "cx: %d, cy: %d, cw: %d, ch: %d, rx: %d, ry: %d, edge: %d blocksize: %d contrast: %d search: %d\n",
+ av_log(ctx, AV_LOG_VERBOSE, "cx: %d, cy: %d, cw: %d, ch: %d, rx: %d, ry: %d, edge: %d blocksize: %d contrast: %d search: %d\n",
deshake->cx, deshake->cy, deshake->cw, deshake->ch,
deshake->rx, deshake->ry, deshake->edge, deshake->blocksize * 2, deshake->contrast, deshake->search);
diff --git a/libavfilter/vf_removelogo.c b/libavfilter/vf_removelogo.c
index fdfe5bd..2e395c7 100644
--- a/libavfilter/vf_removelogo.c
+++ b/libavfilter/vf_removelogo.c
@@ -326,7 +326,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
ff_calculate_bounding_box(&removelogo->half_mask_bbox, removelogo->half_mask_data, w/2, w/2, h/2, 0);
#define SHOW_LOGO_INFO(mask_type) \
- av_log(ctx, AV_LOG_INFO, #mask_type " x1:%d x2:%d y1:%d y2:%d max_mask_size:%d\n", \
+ av_log(ctx, AV_LOG_VERBOSE, #mask_type " x1:%d x2:%d y1:%d y2:%d max_mask_size:%d\n", \
removelogo->mask_type##_mask_bbox.x1, removelogo->mask_type##_mask_bbox.x2, \
removelogo->mask_type##_mask_bbox.y1, removelogo->mask_type##_mask_bbox.y2, \
mask_type##_max_mask_size);
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 3717da2..7df03fc 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -256,7 +256,7 @@ static int config_props(AVFilterLink *outlink)
} else
outlink->sample_aspect_ratio = inlink->sample_aspect_ratio;
- av_log(ctx, AV_LOG_INFO, "w:%d h:%d fmt:%s sar:%d/%d -> w:%d h:%d fmt:%s sar:%d/%d flags:0x%0x\n",
+ av_log(ctx, AV_LOG_VERBOSE, "w:%d h:%d fmt:%s sar:%d/%d -> w:%d h:%d fmt:%s sar:%d/%d flags:0x%0x\n",
inlink ->w, inlink ->h, av_pix_fmt_descriptors[ inlink->format].name,
inlink->sample_aspect_ratio.num, inlink->sample_aspect_ratio.den,
outlink->w, outlink->h, av_pix_fmt_descriptors[outlink->format].name,
diff --git a/libavfilter/vf_super2xsai.c b/libavfilter/vf_super2xsai.c
index adfc41d..b941358 100644
--- a/libavfilter/vf_super2xsai.c
+++ b/libavfilter/vf_super2xsai.c
@@ -295,7 +295,7 @@ static int config_output(AVFilterLink *outlink)
outlink->w = inlink->w*2;
outlink->h = inlink->h*2;
- av_log(inlink->dst, AV_LOG_INFO, "fmt:%s size:%dx%d -> size:%dx%d\n",
+ av_log(inlink->dst, AV_LOG_VERBOSE, "fmt:%s size:%dx%d -> size:%dx%d\n",
av_get_pix_fmt_name(inlink->format),
inlink->w, inlink->h, outlink->w, outlink->h);
diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c
index 02354f2..dda1a5d 100644
--- a/libavfilter/vf_thumbnail.c
+++ b/libavfilter/vf_thumbnail.c
@@ -64,7 +64,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
"Allocation failure, try to lower the number of frames\n");
return AVERROR(ENOMEM);
}
- av_log(ctx, AV_LOG_INFO, "batch size: %d frames\n", thumb->n_frames);
+ av_log(ctx, AV_LOG_VERBOSE, "batch size: %d frames\n", thumb->n_frames);
return 0;
}
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c
index 402eeca..d511d72 100644
--- a/libavfilter/vf_tinterlace.c
+++ b/libavfilter/vf_tinterlace.c
@@ -155,7 +155,7 @@ static int config_out_props(AVFilterLink *outlink)
tinterlace->black_linesize[i] * h);
}
}
- av_log(ctx, AV_LOG_INFO, "mode:%s h:%d -> h:%d\n",
+ av_log(ctx, AV_LOG_VERBOSE, "mode:%s h:%d -> h:%d\n",
tinterlace_mode_str[tinterlace->mode], inlink->h, outlink->h);
return 0;
diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c
index e064c2c..b2c9d58 100644
--- a/libavfilter/vsrc_cellauto.c
+++ b/libavfilter/vsrc_cellauto.c
@@ -213,7 +213,7 @@ static int init(AVFilterContext *ctx, const char *args)
}
}
- av_log(ctx, AV_LOG_INFO,
+ av_log(ctx, AV_LOG_VERBOSE,
"s:%dx%d r:%d/%d rule:%d stitch:%d scroll:%d full:%d seed:%u\n",
cellauto->w, cellauto->h, frame_rate.num, frame_rate.den,
cellauto->rule, cellauto->stitch, cellauto->scroll, cellauto->start_full,
diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c
index 7a62f63..c71291f 100644
--- a/libavfilter/vsrc_life.c
+++ b/libavfilter/vsrc_life.c
@@ -291,7 +291,7 @@ static int init(AVFilterContext *ctx, const char *args)
return ret;
}
- av_log(ctx, AV_LOG_INFO,
+ av_log(ctx, AV_LOG_VERBOSE,
"s:%dx%d r:%d/%d rule:%s stay_rule:%d born_rule:%d stitch:%d seed:%u\n",
life->w, life->h, frame_rate.num, frame_rate.den,
life->rule_str, life->stay_rule, life->born_rule, life->stitch,
diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c
index fd33acf..6a4df1e 100644
--- a/libavfilter/vsrc_mptestsrc.c
+++ b/libavfilter/vsrc_mptestsrc.c
@@ -288,7 +288,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
test->frame_nb = 0;
test->pts = 0;
- av_log(ctx, AV_LOG_INFO, "rate:%d/%d duration:%f\n",
+ av_log(ctx, AV_LOG_VERBOSE, "rate:%d/%d duration:%f\n",
frame_rate_q.num, frame_rate_q.den,
duration < 0 ? -1 : test->max_pts * av_q2d(test->time_base));
init_idct();
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index 0c07f06..a920314 100644
--- a/libavfilter/vsrc_testsrc.c
+++ b/libavfilter/vsrc_testsrc.c
@@ -111,7 +111,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
test->nb_frame = 0;
test->pts = 0;
- av_log(ctx, AV_LOG_INFO, "size:%dx%d rate:%d/%d duration:%f sar:%d/%d\n",
+ av_log(ctx, AV_LOG_VERBOSE, "size:%dx%d rate:%d/%d duration:%f sar:%d/%d\n",
test->w, test->h, frame_rate_q.num, frame_rate_q.den,
duration < 0 ? -1 : test->max_pts * av_q2d(test->time_base),
test->sar.num, test->sar.den);
More information about the ffmpeg-cvslog
mailing list