Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
fda968aa
Commit
fda968aa
authored
Jul 14, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: decrease logging level of message showing initial parameters
Reduce log clutter, consistent with
1a49a169
.
parent
a1e52c94
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
24 additions
and
24 deletions
+24
-24
af_aconvert.c
libavfilter/af_aconvert.c
+1
-1
af_amerge.c
libavfilter/af_amerge.c
+1
-1
af_aresample.c
libavfilter/af_aresample.c
+1
-1
af_asetnsamples.c
libavfilter/af_asetnsamples.c
+1
-1
af_pan.c
libavfilter/af_pan.c
+1
-1
af_volume.c
libavfilter/af_volume.c
+1
-1
asrc_aevalsrc.c
libavfilter/asrc_aevalsrc.c
+1
-1
avf_showwaves.c
libavfilter/avf_showwaves.c
+1
-1
buffersrc.c
libavfilter/buffersrc.c
+2
-2
vf_blackdetect.c
libavfilter/vf_blackdetect.c
+1
-1
vf_boxblur.c
libavfilter/vf_boxblur.c
+1
-1
vf_colormatrix.c
libavfilter/vf_colormatrix.c
+1
-1
vf_delogo.c
libavfilter/vf_delogo.c
+1
-1
vf_deshake.c
libavfilter/vf_deshake.c
+1
-1
vf_removelogo.c
libavfilter/vf_removelogo.c
+1
-1
vf_scale.c
libavfilter/vf_scale.c
+1
-1
vf_super2xsai.c
libavfilter/vf_super2xsai.c
+1
-1
vf_thumbnail.c
libavfilter/vf_thumbnail.c
+1
-1
vf_tinterlace.c
libavfilter/vf_tinterlace.c
+1
-1
vsrc_cellauto.c
libavfilter/vsrc_cellauto.c
+1
-1
vsrc_life.c
libavfilter/vsrc_life.c
+1
-1
vsrc_mptestsrc.c
libavfilter/vsrc_mptestsrc.c
+1
-1
vsrc_testsrc.c
libavfilter/vsrc_testsrc.c
+1
-1
No files found.
libavfilter/af_aconvert.c
View file @
fda968aa
...
...
@@ -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
);
...
...
libavfilter/af_amerge.c
View file @
fda968aa
...
...
@@ -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
;
}
...
...
libavfilter/af_aresample.c
View file @
fda968aa
...
...
@@ -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
;
...
...
libavfilter/af_asetnsamples.c
View file @
fda968aa
...
...
@@ -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
;
}
...
...
libavfilter/af_pan.c
View file @
fda968aa
...
...
@@ -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
)
{
...
...
libavfilter/af_volume.c
View file @
fda968aa
...
...
@@ -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
;
}
...
...
libavfilter/asrc_aevalsrc.c
View file @
fda968aa
...
...
@@ -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
);
...
...
libavfilter/avf_showwaves.c
View file @
fda968aa
...
...
@@ -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
;
}
...
...
libavfilter/buffersrc.c
View file @
fda968aa
...
...
@@ -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
);
...
...
libavfilter/vf_blackdetect.c
View file @
fda968aa
...
...
@@ -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
,
...
...
libavfilter/vf_boxblur.c
View file @
fda968aa
...
...
@@ -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 "
...
...
libavfilter/vf_colormatrix.c
View file @
fda968aa
...
...
@@ -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
;
}
...
...
libavfilter/vf_delogo.c
View file @
fda968aa
...
...
@@ -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
;
...
...
libavfilter/vf_deshake.c
View file @
fda968aa
...
...
@@ -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
);
...
...
libavfilter/vf_removelogo.c
View file @
fda968aa
...
...
@@ -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);
...
...
libavfilter/vf_scale.c
View file @
fda968aa
...
...
@@ -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
,
...
...
libavfilter/vf_super2xsai.c
View file @
fda968aa
...
...
@@ -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
);
...
...
libavfilter/vf_thumbnail.c
View file @
fda968aa
...
...
@@ -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
;
}
...
...
libavfilter/vf_tinterlace.c
View file @
fda968aa
...
...
@@ -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
;
...
...
libavfilter/vsrc_cellauto.c
View file @
fda968aa
...
...
@@ -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
,
...
...
libavfilter/vsrc_life.c
View file @
fda968aa
...
...
@@ -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
,
...
...
libavfilter/vsrc_mptestsrc.c
View file @
fda968aa
...
...
@@ -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
();
...
...
libavfilter/vsrc_testsrc.c
View file @
fda968aa
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment