[FFmpeg-user] countless dropping frema warnings
Jan Ehrhardt
phpdev at ehrhardt.nl
Wed Apr 2 07:06:01 CEST 2014
This commit is leading to countless warnings:
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=41e7e46cac507e993af6d656c8d3672ba3f9e304
The warnings might be correct, because I am changing the framerate from
50fps to '-r 25'. But I never got those warnings before and they are
cluttering the console output.
After removing this from ffmpeg.c, everything seems OK:
if (nb_frames == 0) {
nb_frames_drop++;
av_log(NULL, AV_LOG_WARNING,
"*** dropping frame %d from stream %d at ts %"PRId64"\n",
ost->frame_number, ost->st->index, in_picture->pts);
return;
} else
Commandline and output after the sig separator. Take note of the summary
at the end:
frame= 6028 fps=123 q=-1.0 Lsize= 12849kB time=00:04:01.04
bitrate= 436.7kbits/s dup=0 drop=6022
Jan
--
ffmpeg.exe -i "P:\DCIM\101VBPBH\S1010001.MP4" -s 384x288 -aspect 4:3 \
-sws_flags bicubic -vcodec libx264 -b:v 320k -r 25 -strict -2 \
-acodec aac -ab 96k -ar 48000 -ac 2 -y output.mp4
ffmpeg version N-62039-gc00f368 Copyright (c) 2000-2014 the FFmpeg
developers
built on Apr 1 2014 23:38:04 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 71.100 / 52. 71.100
libavcodec 55. 56.107 / 55. 56.107
libavformat 55. 36.100 / 55. 36.100
libavdevice 55. 11.100 / 55. 11.100
libavfilter 4. 3.100 / 4. 3.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'P:\DCIM\101VBPBH\S1010001.MP4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
creation_time : 2012-09-09 16:31:46
Duration: 00:04:01.00, start: 0.000000, bitrate: 6598 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p(tv, bt470bg), 640x480 [SAR 1:1 DAR 4:3], 6063 kb/s,
50 fps, 50 tbr, 60k tbn, 100 tbc (default)
Metadata:
creation_time : 2012-09-09 16:31:46
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 255 kb/s (default)
Metadata:
creation_time : 2012-09-09 16:31:46
[libx264 @ 0288d980] using SAR=1/1
[libx264 @ 0288d980] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX
[libx264 @ 0288d980] profile High, level 2.1
[libx264 @ 0288d980] 264 - core 142 r2409 d6b4e63 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr
mbtree=1 bitrate=320 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'output.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
encoder : Lavf55.36.100
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
yuv420p, 384x288 [SAR 1:1 DAR 4:3], q=-1--1, 320 kb/s, 12800 tbn, 25 tbc
(default)
Metadata:
creation_time : 2012-09-09 16:31:46
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, fltp, 96 kb/s (default)
Metadata:
creation_time : 2012-09-09 16:31:46
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> aac)
Press [q] to stop, [?] for help
*** dropping frame 6 from stream 0 at ts 3
*** dropping frame 7 from stream 0 at ts 4
*** dropping frame 8 from stream 0 at ts 5
*** dropping frame 9 from stream 0 at ts 6
*** dropping frame 10 from stream 0 at ts 7
*** dropping frame 11 from stream 0 at ts 8
*** dropping frame 12 from stream 0 at ts 9
*** dropping frame 13 from stream 0 at ts 10
*** dropping frame 14 from stream 0 at ts 11
*** dropping frame 15 from stream 0 at ts 12
*** dropping frame 16 from stream 0 at ts 13
*** dropping frame 17 from stream 0 at ts 14
*** dropping frame 18 from stream 0 at ts 15
*** dropping frame 19 from stream 0 at ts 16
*** dropping frame 20 from stream 0 at ts 17
*** dropping frame 21 from stream 0 at ts 18
*** dropping frame 22 from stream 0 at ts 19
*** dropping frame 23 from stream 0 at ts 20
*** dropping frame 24 from stream 0 at ts 21
*** dropping frame 25 from stream 0 at ts 22
*** dropping frame 26 from stream 0 at ts 23
*** dropping frame 27 from stream 0 at ts 24
*** dropping frame 28 from stream 0 at ts 25
*** dropping frame 29 from stream 0 at ts 26
*** dropping frame 30 from stream 0 at ts 27
*** dropping frame 31 from stream 0 at ts 28
*** dropping frame 32 from stream 0 at ts 29
*** dropping frame 33 from stream 0 at ts 30
*** dropping frame 34 from stream 0 at ts 31
*** dropping frame 35 from stream 0 at ts 32
*** dropping frame 36 from stream 0 at ts 33
*** dropping frame 37 from stream 0 at ts 34
*** dropping frame 38 from stream 0 at ts 35
*** dropping frame 39 from stream 0 at ts 36
*** dropping frame 40 from stream 0 at ts 37
*** dropping frame 41 from stream 0 at ts 38
*** dropping frame 42 from stream 0 at ts 39
*** dropping frame 43 from stream 0 at ts 40
*** dropping frame 44 from stream 0 at ts 41
*** dropping frame 45 from stream 0 at ts 42
*** dropping frame 46 from stream 0 at ts 43
*** dropping frame 47 from stream 0 at ts 44
*** dropping frame 48 from stream 0 at ts 45
*** dropping frame 49 from stream 0 at ts 46
*** dropping frame 50 from stream 0 at ts 47
*** dropping frame 51 from stream 0 at ts 48
*** dropping frame 52 from stream 0 at ts 49
*** dropping frame 53 from stream 0 at ts 50
*** dropping frame 54 from stream 0 at ts 51
*** dropping frame 55 from stream 0 at ts 52
*** dropping frame 56 from stream 0 at ts 53
*** dropping frame 57 from stream 0 at ts 54
*** dropping frame 58 from stream 0 at ts 55
*** dropping frame 59 from stream 0 at ts 56
*** dropping frame 60 from stream 0 at ts 57
*** dropping frame 61 from stream 0 at ts 58
*** dropping frame 62 from stream 0 at ts 59
*** dropping frame 63 from stream 0 at ts 60
*** dropping frame 64 from stream 0 at ts 61
*** dropping frame 65 from stream 0 at ts 62
*** dropping frame 66 from stream 0 at ts 63
*** dropping frame 67 from stream 0 at ts 64
*** dropping frame 68 from stream 0 at ts 65
*** dropping frame 69 from stream 0 at ts 66
*** dropping frame 70 from stream 0 at ts 67
*** dropping frame 71 from stream 0 at ts 68
*** dropping frame 72 from stream 0 at ts 69
*** dropping frame 73 from stream 0 at ts 70
*** dropping frame 74 from stream 0 at ts 71
*** dropping frame 75 from stream 0 at ts 72
*** dropping frame 76 from stream 0 at ts 73
*** dropping frame 77 from stream 0 at ts 74
*** dropping frame 78 from stream 0 at ts 75
*** dropping frame 79 from stream 0 at ts 76
*** dropping frame 80 from stream 0 at ts 77
*** dropping frame 81 from stream 0 at ts 78
*** dropping frame 82 from stream 0 at ts 79
*** dropping frame 83 from stream 0 at ts 80
*** dropping frame 84 from stream 0 at ts 81
*** dropping frame 85 from stream 0 at ts 82
frame= 86 fps=0.0 q=29.0 size= 63kB time=00:00:02.94 bitrate=
174.6kbits/s dup=0 drop=80
*** dropping frame 86 from stream 0 at ts 83
*** dropping frame 87 from stream 0 at ts 84
*** dropping frame 88 from stream 0 at ts 85
*** dropping frame 89 from stream 0 at ts 86
*** dropping frame 90 from stream 0 at ts 87
*** dropping frame 91 from stream 0 at ts 88
*** dropping frame 92 from stream 0 at ts 89
*** dropping frame 93 from stream 0 at ts 90
*** dropping frame 94 from stream 0 at ts 91
*** dropping frame 95 from stream 0 at ts 92
*** dropping frame 96 from stream 0 at ts 93
*** dropping frame 97 from stream 0 at ts 94
*** dropping frame 98 from stream 0 at ts 95
*** dropping frame 99 from stream 0 at ts 96
*** dropping frame 100 from stream 0 at ts 97
*** dropping frame 101 from stream 0 at ts 98
*** dropping frame 102 from stream 0 at ts 99
*** dropping frame 103 from stream 0 at ts 100
*** dropping frame 104 from stream 0 at ts 101
*** dropping frame 105 from stream 0 at ts 102
*** dropping frame 106 from stream 0 at ts 103
*** dropping frame 107 from stream 0 at ts 104
*** dropping frame 108 from stream 0 at ts 105
*** dropping frame 109 from stream 0 at ts 106
*** dropping frame 110 from stream 0 at ts 107
*** dropping frame 111 from stream 0 at ts 108
*** dropping frame 112 from stream 0 at ts 109
*** dropping frame 113 from stream 0 at ts 110
*** dropping frame 114 from stream 0 at ts 111
*** dropping frame 115 from stream 0 at ts 112
*** dropping frame 116 from stream 0 at ts 113
*** dropping frame 117 from stream 0 at ts 114
*** dropping frame 118 from stream 0 at ts 115
*** dropping frame 119 from stream 0 at ts 116
*** dropping frame 120 from stream 0 at ts 117
*** dropping frame 121 from stream 0 at ts 118
*** dropping frame 122 from stream 0 at ts 119
*** dropping frame 123 from stream 0 at ts 120
*** dropping frame 124 from stream 0 at ts 121
*** dropping frame 125 from stream 0 at ts 122
*** dropping frame 126 from stream 0 at ts 123
*** dropping frame 127 from stream 0 at ts 124
*** dropping frame 128 from stream 0 at ts 125
*** dropping frame 129 from stream 0 at ts 126
*** dropping frame 130 from stream 0 at ts 127
*** dropping frame 131 from stream 0 at ts 128
*** dropping frame 132 from stream 0 at ts 129
*** dropping frame 133 from stream 0 at ts 130
*** dropping frame 134 from stream 0 at ts 131
*** dropping frame 135 from stream 0 at ts 132
*** dropping frame 136 from stream 0 at ts 133
*** dropping frame 137 from stream 0 at ts 134
*** dropping frame 138 from stream 0 at ts 135
*** dropping frame 139 from stream 0 at ts 136
*** dropping frame 140 from stream 0 at ts 137
*** dropping frame 141 from stream 0 at ts 138
*** dropping frame 142 from stream 0 at ts 139
*** dropping frame 143 from stream 0 at ts 140
*** dropping frame 144 from stream 0 at ts 141
*** dropping frame 145 from stream 0 at ts 142
*** dropping frame 146 from stream 0 at ts 143
*** dropping frame 147 from stream 0 at ts 144
frame= 148 fps=148 q=28.0 size= 191kB time=00:00:05.44 bitrate=
287.3kbits/s dup=0 drop=142
*** dropping frame 148 from stream 0 at ts 145
*** dropping frame 149 from stream 0 at ts 146
*** dropping frame 150 from stream 0 at ts 147
*** dropping frame 151 from stream 0 at ts 148
*** dropping frame 152 from stream 0 at ts 149
*** dropping frame 153 from stream 0 at ts 150
*** dropping frame 154 from stream 0 at ts 151
*** dropping frame 155 from stream 0 at ts 152
*** dropping frame 156 from stream 0 at ts 153
*** dropping frame 157 from stream 0 at ts 154
*** dropping frame 158 from stream 0 at ts 155
*** dropping frame 159 from stream 0 at ts 156
*** dropping frame 160 from stream 0 at ts 157
*** dropping frame 161 from stream 0 at ts 158
*** dropping frame 162 from stream 0 at ts 159
*** dropping frame 163 from stream 0 at ts 160
*** dropping frame 164 from stream 0 at ts 161
*** dropping frame 165 from stream 0 at ts 162
*** dropping frame 166 from stream 0 at ts 163
*** dropping frame 167 from stream 0 at ts 164
*** dropping frame 168 from stream 0 at ts 165
*** dropping frame 169 from stream 0 at ts 166
*** dropping frame 170 from stream 0 at ts 167
*** dropping frame 171 from stream 0 at ts 168
*** dropping frame 172 from stream 0 at ts 169
*** dropping frame 173 from stream 0 at ts 170
*** dropping frame 174 from stream 0 at ts 171
*** dropping frame 175 from stream 0 at ts 172
*** dropping frame 176 from stream 0 at ts 173
*** dropping frame 177 from stream 0 at ts 174
*** dropping frame 178 from stream 0 at ts 175
*** dropping frame 179 from stream 0 at ts 176
*** dropping frame 180 from stream 0 at ts 177
*** dropping frame 181 from stream 0 at ts 178
*** dropping frame 182 from stream 0 at ts 179
*** dropping frame 183 from stream 0 at ts 180
*** dropping frame 184 from stream 0 at ts 181
*** dropping frame 185 from stream 0 at ts 182
*** dropping frame 186 from stream 0 at ts 183
*** dropping frame 187 from stream 0 at ts 184
*** dropping frame 188 from stream 0 at ts 185
*** dropping frame 189 from stream 0 at ts 186
*** dropping frame 190 from stream 0 at ts 187
*** dropping frame 191 from stream 0 at ts 188
et cetera et cetera
*** dropping frame 5960 from stream 0 at ts 5957
*** dropping frame 5961 from stream 0 at ts 5958
*** dropping frame 5962 from stream 0 at ts 5959
*** dropping frame 5963 from stream 0 at ts 5960
frame= 5963 fps=123 q=31.0 size= 12506kB time=00:03:57.99 bitrate=
430.5kbits/s dup=0 drop=5958
*** dropping frame 5964 from stream 0 at ts 5961
*** dropping frame 5965 from stream 0 at ts 5962
*** dropping frame 5966 from stream 0 at ts 5963
*** dropping frame 5967 from stream 0 at ts 5964
*** dropping frame 5968 from stream 0 at ts 5965
*** dropping frame 5969 from stream 0 at ts 5966
*** dropping frame 5970 from stream 0 at ts 5967
*** dropping frame 5971 from stream 0 at ts 5968
*** dropping frame 5972 from stream 0 at ts 5969
*** dropping frame 5973 from stream 0 at ts 5970
*** dropping frame 5974 from stream 0 at ts 5971
*** dropping frame 5975 from stream 0 at ts 5972
*** dropping frame 5976 from stream 0 at ts 5973
*** dropping frame 5977 from stream 0 at ts 5974
*** dropping frame 5978 from stream 0 at ts 5975
*** dropping frame 5979 from stream 0 at ts 5976
*** dropping frame 5980 from stream 0 at ts 5977
*** dropping frame 5981 from stream 0 at ts 5978
*** dropping frame 5982 from stream 0 at ts 5979
*** dropping frame 5983 from stream 0 at ts 5980
*** dropping frame 5984 from stream 0 at ts 5981
*** dropping frame 5985 from stream 0 at ts 5982
*** dropping frame 5986 from stream 0 at ts 5983
*** dropping frame 5987 from stream 0 at ts 5984
*** dropping frame 5988 from stream 0 at ts 5985
*** dropping frame 5989 from stream 0 at ts 5986
*** dropping frame 5990 from stream 0 at ts 5987
*** dropping frame 5991 from stream 0 at ts 5988
*** dropping frame 5992 from stream 0 at ts 5989
*** dropping frame 5993 from stream 0 at ts 5990
*** dropping frame 5994 from stream 0 at ts 5991
*** dropping frame 5995 from stream 0 at ts 5992
*** dropping frame 5996 from stream 0 at ts 5993
*** dropping frame 5997 from stream 0 at ts 5994
*** dropping frame 5998 from stream 0 at ts 5995
*** dropping frame 5999 from stream 0 at ts 5996
*** dropping frame 6000 from stream 0 at ts 5997
*** dropping frame 6001 from stream 0 at ts 5998
*** dropping frame 6002 from stream 0 at ts 5999
*** dropping frame 6003 from stream 0 at ts 6000
*** dropping frame 6004 from stream 0 at ts 6001
*** dropping frame 6005 from stream 0 at ts 6002
*** dropping frame 6006 from stream 0 at ts 6003
*** dropping frame 6007 from stream 0 at ts 6004
*** dropping frame 6008 from stream 0 at ts 6005
*** dropping frame 6009 from stream 0 at ts 6006
*** dropping frame 6010 from stream 0 at ts 6007
*** dropping frame 6011 from stream 0 at ts 6008
*** dropping frame 6012 from stream 0 at ts 6009
*** dropping frame 6013 from stream 0 at ts 6010
*** dropping frame 6014 from stream 0 at ts 6011
*** dropping frame 6015 from stream 0 at ts 6012
*** dropping frame 6016 from stream 0 at ts 6013
*** dropping frame 6017 from stream 0 at ts 6014
*** dropping frame 6018 from stream 0 at ts 6015
*** dropping frame 6019 from stream 0 at ts 6016
*** dropping frame 6020 from stream 0 at ts 6017
*** dropping frame 6021 from stream 0 at ts 6018
*** dropping frame 6022 from stream 0 at ts 6019
*** dropping frame 6023 from stream 0 at ts 6020
*** dropping frame 6024 from stream 0 at ts 6021
*** dropping frame 6025 from stream 0 at ts 6022
frame= 6026 fps=123 q=31.0 size= 12596kB time=00:04:00.93 bitrate=
428.3kbits/s dup=0 drop=6020
*** dropping frame 6026 from stream 0 at ts 6023
*** dropping frame 6027 from stream 0 at ts 6024
frame= 6028 fps=123 q=-1.0 Lsize= 12849kB time=00:04:01.04 bitrate=
436.7kbits/s dup=0 drop=6022
video:9838kB audio:2834kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 1.404214%
[libx264 @ 0288d980] frame I:27 Avg QP:19.57 size: 14911
[libx264 @ 0288d980] frame P:2501 Avg QP:22.94 size: 3257
[libx264 @ 0288d980] frame B:3500 Avg QP:25.28 size: 436
[libx264 @ 0288d980] consecutive B-frames: 12.2% 23.9% 21.6% 42.3%
[libx264 @ 0288d980] mb I I16..4: 7.8% 45.6% 46.6%
[libx264 @ 0288d980] mb P I16..4: 1.2% 2.6% 0.8% P16..4: 41.8%
15.7% 10.2% 0.0% 0.0% skip:27.7%
[libx264 @ 0288d980] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 33.4% 3.2%
0.9% direct: 1.5% skip:60.9% L0:41.7% L1:49.9% BI: 8.5%
[libx264 @ 0288d980] final ratefactor: 22.67
[libx264 @ 0288d980] 8x8 transform intra:53.9% inter:55.0%
[libx264 @ 0288d980] coded y,uvDC,uvAC intra: 51.3% 54.3% 20.0% inter:
14.4% 9.8% 0.5%
[libx264 @ 0288d980] i16 v,h,dc,p: 32% 27% 10% 31%
[libx264 @ 0288d980] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 18% 28% 3% 5%
7% 6% 3% 6%
[libx264 @ 0288d980] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 29% 15% 3% 5%
6% 7% 3% 5%
[libx264 @ 0288d980] i8c dc,h,v,p: 56% 20% 20% 4%
[libx264 @ 0288d980] Weighted P-Frames: Y:13.5% UV:2.5%
[libx264 @ 0288d980] ref P L0: 60.7% 13.1% 16.9% 9.0% 0.3%
[libx264 @ 0288d980] ref B L0: 75.8% 18.9% 5.3%
[libx264 @ 0288d980] ref B L1: 89.5% 10.5%
[libx264 @ 0288d980] kb/s:334.20
More information about the ffmpeg-user
mailing list