[h264 @ 00000169d2f4a540] Application provided invalid, non monotonically increasing dts to muxer in

用ffmpeg通过mp4文件获取h264文件时,报错。输入的命令如下

ffmpeg -i test.mp4 -codec copy -bsf: h264_mp4toannexb -f h264 test.h264

或者输入

ffmpeg -i test.mp4 -c:v copy -bsf:v h264_mp4toannexb -an test.h264

报错信息如下:

[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 2 >= 2
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 3 >= 3
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 5 >= 5
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6 >= 6
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 8 >= 8
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 9 >= 9
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 11 >= 11
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 12 >= 12
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 14 >= 14
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 15 >= 15
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 17 >= 17
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 18 >= 18
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 20 >= 20
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 21 >= 21
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23 >= 23
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 24 >= 24
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 26 >= 26
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 27 >= 27
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 29 >= 29
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 30 >= 30
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 32 >= 32
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 33 >= 33
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 35 >= 35
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 36 >= 36
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 38 >= 38
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 39 >= 39
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 41 >= 41
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 42 >= 42
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 44 >= 44
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 45 >= 45
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 47 >= 47
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 48 >= 48
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 50 >= 50
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 51 >= 51
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 53 >= 53
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 54 >= 54
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 56 >= 56
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 57 >= 57
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 59 >= 59
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 60 >= 60
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 62 >= 62
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 63 >= 63
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 65 >= 65
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 66 >= 66
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 68 >= 68
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 69 >= 69
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 71 >= 71
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 72 >= 72
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 74 >= 74
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 75 >= 75
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 77 >= 77
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 78 >= 78
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 80 >= 80
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 81 >= 81
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 83 >= 83
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 84 >= 84
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 86 >= 86
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 87 >= 87
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 89 >= 89
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 90 >= 90
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 92 >= 92
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 93 >= 93
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 95 >= 95
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 96 >= 96
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 98 >= 98
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 99 >= 99
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 101 >= 101
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 102 >= 102
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 104 >= 104
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 105 >= 105
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 107 >= 107
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 108 >= 108
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 110 >= 110
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 111 >= 111
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 113 >= 113
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 114 >= 114
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 116 >= 116
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 117 >= 117
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 119 >= 119
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 120 >= 120
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 122 >= 122
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 123 >= 123
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 125 >= 125
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 126 >= 126
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 128 >= 128
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 129 >= 129
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 131 >= 131
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 132 >= 132
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 134 >= 134
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 135 >= 135
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 137 >= 137
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 138 >= 138
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 140 >= 140
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 141 >= 141
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 143 >= 143
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 144 >= 144
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 146 >= 146
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 147 >= 147
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 149 >= 149
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 150 >= 150
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 152 >= 152
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 153 >= 153
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 155 >= 155
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 156 >= 156
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 158 >= 158
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 159 >= 159
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 161 >= 161
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 162 >= 162
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 164 >= 164
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 165 >= 165
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 167 >= 167
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 168 >= 168
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 170 >= 170
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 171 >= 171
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 173 >= 173
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 174 >= 174
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 176 >= 176
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 177 >= 177
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 179 >= 179
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 180 >= 180
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 182 >= 182
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 183 >= 183
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 185 >= 185
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 186 >= 186
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 188 >= 188
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 189 >= 189
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 191 >= 191
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 192 >= 192
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 194 >= 194
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 195 >= 195
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 197 >= 197
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 198 >= 198
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 200 >= 200
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 201 >= 201
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 203 >= 203
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 204 >= 204
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 206 >= 206
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 207 >= 207
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 209 >= 209
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 210 >= 210
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 212 >= 212
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 213 >= 213
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 215 >= 215
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 216 >= 216
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 218 >= 218
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 219 >= 219
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 221 >= 221
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 222 >= 222
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 224 >= 224
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 225 >= 225
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 227 >= 227
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 228 >= 228
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 230 >= 230
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 231 >= 231
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 233 >= 233
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 234 >= 234
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 236 >= 236
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 237 >= 237
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 239 >= 239
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 240 >= 240
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 242 >= 242
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 243 >= 243
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 245 >= 245
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 246 >= 246
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 248 >= 248
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 249 >= 249
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 251 >= 251
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 252 >= 252
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 254 >= 254
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 255 >= 255
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 257 >= 257
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 258 >= 258
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 260 >= 260
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 261 >= 261
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 263 >= 263
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 264 >= 264
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 266 >= 266
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 267 >= 267
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 269 >= 269
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 270 >= 270
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 272 >= 272
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 273 >= 273
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 275 >= 275
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 276 >= 276
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 278 >= 278
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 279 >= 279
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 281 >= 281
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 282 >= 282
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 284 >= 284
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 285 >= 285
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 287 >= 287
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 288 >= 288
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 290 >= 290
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 291 >= 291
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 293 >= 293
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 294 >= 294
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 296 >= 296
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 297 >= 297
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 299 >= 299
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 300 >= 300
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 302 >= 302
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 303 >= 303
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 305 >= 305
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 306 >= 306
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 308 >= 308
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 309 >= 309
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 311 >= 311
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 312 >= 312
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 314 >= 314
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 315 >= 315
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 317 >= 317
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 318 >= 318
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 320 >= 320
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 321 >= 321
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 323 >= 323
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 324 >= 324
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 326 >= 326
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 327 >= 327
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 329 >= 329
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 330 >= 330
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 332 >= 332
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 333 >= 333
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 335 >= 335
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 336 >= 336
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 338 >= 338
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 339 >= 339
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 341 >= 341
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 342 >= 342
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 344 >= 344
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 345 >= 345
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 347 >= 347
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 348 >= 348
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 350 >= 350
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 351 >= 351
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 353 >= 353
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 354 >= 354
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 356 >= 356
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 357 >= 357
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 359 >= 359
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 360 >= 360
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 362 >= 362
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 363 >= 363
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 365 >= 365
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 366 >= 366
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 368 >= 368
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 369 >= 369
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 371 >= 371
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 372 >= 372
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 374 >= 374
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 375 >= 375
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 377 >= 377
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 378 >= 378
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 380 >= 380
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 381 >= 381
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 383 >= 383
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 384 >= 384
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 386 >= 386
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 387 >= 387
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 389 >= 389
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 390 >= 390
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 392 >= 392
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 393 >= 393
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 395 >= 395
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 396 >= 396
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 398 >= 398
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 399 >= 399
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 401 >= 401
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 402 >= 402
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 404 >= 404
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 405 >= 405
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 407 >= 407
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 408 >= 408
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 410 >= 410
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 411 >= 411
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 413 >= 413
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 414 >= 414
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 416 >= 416
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 417 >= 417
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 419 >= 419
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 420 >= 420
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 422 >= 422
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 423 >= 423
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 425 >= 425
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 426 >= 426
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 428 >= 428
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 429 >= 429
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 431 >= 431
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 432 >= 432
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 434 >= 434
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 435 >= 435
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 437 >= 437
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 438 >= 438
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 440 >= 440
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 441 >= 441
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 443 >= 443
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 444 >= 444
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 446 >= 446
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 447 >= 447
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 449 >= 449
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 450 >= 450
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 452 >= 452
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 453 >= 453
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 455 >= 455
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 456 >= 456
    Last message repeated 1 times
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 458 >= 458
[h264 @ 0000022880927f40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 459 >= 459
    Last message repeated 1 times
[out#0/h264 @ 0000022880908500] video:1069KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.000000%
size=    1069KiB time=00:00:30.66 bitrate= 285.6kbits/s speed= 137x

这个报错其实没有什么影响。

要没有报错的话,就不能用copy,要强制重新编码。例如使用命令:

ffmpeg -i test.mp4 -c:v libx264 -bsf:v h264_mp4toannexb -an test.h264

或者直接复制原来的视频编码而不用音频,使用如下命令:

ffmpeg -i test.mp4 -acodec copy -an test.h264
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值