[FFmpeg-devel] [PATCH] lavf/utils: decrease logging level of dump_metadata from INFO to VERBOSE
Stefano Sabatini
stefasab at gmail.com
Sun Jul 15 15:16:00 CEST 2012
On date Friday 2012-07-13 11:50:44 +0200, Stefano Sabatini encoded:
> Decrease log clutter.
> ---
> libavformat/utils.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
Example.
Before the patch:
$ ffmpeg -copyts -i dancers.mp4 -s 400x300 -aspect 32:17 -vf vflip -t 10 -y out.flv
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dancers.mp4':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2012-07-09 18:36:45
Duration: 00:00:42.10, start: 0.000000, bitrate: 766 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x360, 695 kb/s, 29.98 fps, 29.97 tbr, 600 tbn, 1200 tbc
Metadata:
rotate : 90
creation_time : 2012-07-09 18:36:45
handler_name : Core Media Data Handler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 62 kb/s
Metadata:
creation_time : 2012-07-09 18:36:45
handler_name : Core Media Data Handler
Output #0, flv, to 'out.flv':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
encoder : Lavf54.16.104
Stream #0:0(und): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 400x300 [SAR 24:17 DAR 32:17], q=2-31, 200 kb/s, 1k tbn, 29.97 tbc
Metadata:
rotate : 90
creation_time : 2012-07-09 18:36:45
handler_name : Core Media Data Handler
Stream #0:1(und): Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, mono, s16
Metadata:
creation_time : 2012-07-09 18:36:45
handler_name : Core Media Data Handler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> flv)
Stream #0:1 -> #0:1 (aac -> libmp3lame)
After the patch:
$ ffmpeg -copyts -i dancers.mp4 -s 400x300 -aspect 32:17 -vf vflip -t 10 -y out.flv
[...]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dancers.mp4':
Duration: 00:00:42.10, start: 0.000000, bitrate: 766 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x360, 695 kb/s, 29.98 fps, 29.97 tbr, 600 tbn, 1200 tbc
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 62 kb/s
Output #0, flv, to 'out.flv':
Stream #0:0(und): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 400x300 [SAR 24:17 DAR 32:17], q=2-31, 200 kb/s, 1k tbn, 29.97 tbc
Stream #0:1(und): Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, mono, s16
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> flv)
Stream #0:1 -> #0:1 (aac -> libmp3lame)
Press [q] to stop, [?] for help
Metadata information is printed with -loglevel verbose.
The latter seems much more readable to me, metadata information can be
safely skipped if there is no specific interest for it.
--
FFmpeg = Fantastic Fabulous Merciless Power Embarassing Gospel
More information about the ffmpeg-devel
mailing list