[FFmpeg-user] Video frame drop caused loss

pk8est pk8est at qq.com
Fri Jun 12 03:54:46 CEST 2015


ffmpeg command line:
ffmpeg -y -i 122400.mp4  -c:a ac3 -b:a 64k -ar 44100 -c:v libx264 -b:v 300k
-s 1280:720 -pix_fmt yuv420p -g 60 -preset veryfast -threads 0 
122400-001.mp4

"c:\\Program Files (x86)\\ImageMagick-6.7.6-Q16\\ffmpeg.exe" -y -i
122400.mp4 -c:a ac3 -b:a 64k -ar 44100 -c:v libx264 -b:v 300k -s 1280:720
-pix_fmt yuv420p -g 60 -preset veryfast -threads 0 122400-001.mp4
ffmpeg version N-68881-ga79ac73 Copyright (c) 2000-2015 the FFmpeg
developers
  built on Jan  5 2015 22:14:33 with gcc 4.9.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-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
--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-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
--enable-decklink --enable-zlib
  libavutil      54. 16.100 / 54. 16.100
  libavcodec     56. 19.100 / 56. 19.100
  libavformat    56. 18.100 / 56. 18.100
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  6.100 /  5.  6.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with
argument '1'.
Reading option '-i' ... matched as input file with argument '122400.mp4'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument
'ac3'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please use
-b:v)) with argument '64k'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in
Hz)) with argument '44100'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument
'libx264'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use
-b:v)) with argument '300k'.
Reading option '-s' ... matched as option 's' (set frame size (WxH or
abbreviation)) with argument '1280:720'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format)
with argument 'yuv420p'.
Reading option '-g' ... matched as AVOption 'g' with argument '60'.
Reading option '-preset' ... matched as AVOption 'preset' with argument
'veryfast'.
Reading option '-threads' ... matched as AVOption 'threads' with argument
'0'.
Reading option '122400-001.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file 122400.mp4.
Successfully parsed a group of options.
Opening an input file: 122400.mp4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000321b80] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000321b80] ISO: File Type Major Brand:
isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000321b80] Before
avformat_find_stream_info() pos: 123276 bytes read:131072 seeks:0
[h264 @ 00000000003ecba0] Increasing reorder buffer to 1
[h264 @ 00000000003ecba0] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000321b80] Probe buffer size limit of
5000000 bytes reached
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000321b80] After
avformat_find_stream_info() pos: 9649153 bytes read:5172727 seeks:1
frames:92
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '122400.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: mp41mp42
    creation_time   : 2015-05-29 15:24:02
  Duration: 00:04:39.27, start: 0.033333, bitrate: 13514 kb/s
    Stream #0:0(eng), 92, 1/30000: Video: h264 (Main) (avc1 / 0x31637661),
yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 13382 kb/s, 30 fps, 30
tbr, 30k tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2015-05-29 15:24:02
      encoder         : AVC Coding
    Stream #0:1(eng), 0, 1/32000: Audio: aac (mp4a / 0x6134706D), 32000 Hz,
stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2015-05-29 15:24:02
Successfully opened the file.
Parsing a group of options: output file 122400-001.mp4.
Applying option c:a (codec name) with argument ac3.
Applying option b:a (video bitrate (please use -b:v)) with argument 64k.
Applying option ar (set audio sampling rate (in Hz)) with argument 44100.
Applying option c:v (codec name) with argument libx264.
Applying option b:v (video bitrate (please use -b:v)) with argument 300k.
Applying option s (set frame size (WxH or abbreviation)) with argument
1280:720.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Successfully parsed a group of options.
Opening an output file: 122400-001.mp4.
Successfully opened the file.
detected 4 logical cores
[graph 0 input from stream 0:0 @ 00000000050c4380] Setting 'video_size' to
value '1920x1080'
[graph 0 input from stream 0:0 @ 00000000050c4380] Setting 'pix_fmt' to
value '0'
[graph 0 input from stream 0:0 @ 00000000050c4380] Setting 'time_base' to
value '1/30000'
[graph 0 input from stream 0:0 @ 00000000050c4380] Setting 'pixel_aspect' to
value '1/1'
[graph 0 input from stream 0:0 @ 00000000050c4380] Setting 'sws_param' to
value 'flags=2'
[graph 0 input from stream 0:0 @ 00000000050c4380] Setting 'frame_rate' to
value '30/1'
[graph 0 input from stream 0:0 @ 00000000050c4380] w:1920 h:1080
pixfmt:yuv420p tb:1/30000 fr:30/1 sar:1/1 sws_param:flags=2
[scaler for output stream 0:0 @ 00000000050cfe20] Setting 'w' to value
'1280'
[scaler for output stream 0:0 @ 00000000050cfe20] Setting 'h' to value '720'
[scaler for output stream 0:0 @ 00000000050cfe20] Setting 'flags' to value
'0x4'
[scaler for output stream 0:0 @ 00000000050cfe20] w:1280 h:720 flags:'0x4'
interl:0
[format @ 00000000003e9dc0] compat: called with args=[yuv420p]
[format @ 00000000003e9dc0] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 000000000030e200] query_formats: 5 queried, 4 merged, 0
already done, 0 delayed
[scaler for output stream 0:0 @ 00000000050cfe20] w:1920 h:1080 fmt:yuv420p
sar:1/1 -> w:1280 h:720 fmt:yuv420p sar:1/1 flags:0x4
[graph 1 input from stream 0:1 @ 0000000005a643a0] Setting 'time_base' to
value '1/32000'
[graph 1 input from stream 0:1 @ 0000000005a643a0] Setting 'sample_rate' to
value '32000'
[graph 1 input from stream 0:1 @ 0000000005a643a0] Setting 'sample_fmt' to
value 'fltp'
[graph 1 input from stream 0:1 @ 0000000005a643a0] Setting 'channel_layout'
to value '0x3'
[graph 1 input from stream 0:1 @ 0000000005a643a0] tb:1/32000 samplefmt:fltp
samplerate:32000 chlayout:0x3
[audio format for output stream 0:1 @ 0000000005a64520] Setting
'sample_fmts' to value 'fltp'
[audio format for output stream 0:1 @ 0000000005a64520] Setting
'sample_rates' to value '44100'
[audio format for output stream 0:1 @ 0000000005a64520] Setting
'channel_layouts' to value
'0x4|0x3|0x103|0x7|0x603|0x33|0x107|0x607|0x37|0xc|0xb|0x10b|0xf|0x60b|0x3b|0x10f|0x60f|0x3f'
[audio format for output stream 0:1 @ 0000000005a64520] auto-inserting
filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and
the filter 'audio format for output stream 0:1'
[AVFilterGraph @ 000000000030e980] query_formats: 4 queried, 6 merged, 3
already done, 0 delayed
[auto-inserted resampler 0 @ 0000000005a645e0] ch:2 chl:stereo fmt:fltp
r:32000Hz -> ch:2 chl:stereo fmt:fltp r:44100Hz
[libx264 @ 000000000500a4c0] using mv_range_thread = 56
[libx264 @ 000000000500a4c0] using SAR=1/1
[libx264 @ 000000000500a4c0] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 000000000500a4c0] profile High, level 3.1
[libx264 @ 000000000500a4c0] 264 - core 144 r2525 40bb568 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options:
cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1
psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6
lookahead_threads=2 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=1 keyint=60 keyint_min=6 scenecut=40
intra_refresh=0 rc_lookahead=10 rc=abr mbtree=1 bitrate=300 ratetol=1.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '122400-001.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: mp41mp42
    encoder         : Lavf56.18.100
    Stream #0:0(eng), 0, 1/15360: Video: h264 (libx264) ([33][0][0][0] /
0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 300 kb/s, 30 fps,
15360 tbn, 30 tbc (default)
    Metadata:
      creation_time   : 2015-05-29 15:24:02
      encoder         : Lavc56.19.100 libx264
    Stream #0:1(eng), 0, 1/44100: Audio: ac3 ([165][0][0][0] / 0x00A5),
44100 Hz, stereo, fltp, 64 kb/s (default)
    Metadata:
      creation_time   : 2015-05-29 15:24:02
      encoder         : Lavc56.19.100 ac3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
Press [q] to stop, [?] for help
[h264 @ 0000000004e86880] no picture 
[libx264 @ 000000000500a4c0] frame=   0 QP=34.39 NAL=3 Slice:I Poc:0  
I:3600 P:0    SKIP:0    size=5577 bytes
[libx264 @ 000000000500a4c0] frame=   1 QP=38.00 NAL=2 Slice:P Poc:2   I:378 
P:152  SKIP:3070 size=962 bytes
[libx264 @ 000000000500a4c0] frame=   2 QP=40.03 NAL=2 Slice:P Poc:4   I:607 
P:143  SKIP:2850 size=1103 bytes
[libx264 @ 000000000500a4c0] frame=   3 QP=38.15 NAL=2 Slice:P Poc:6   I:688 
P:162  SKIP:2750 size=1436 bytes
...
...
...
[libx264 @ 000000000500a4c0] frame= 296 QP=46.26 NAL=0 Slice:B Poc:116 I:2   
P:18   SKIP:3580 size=71 bytes
[libx264 @ 000000000500a4c0] frame= 297 QP=36.82 NAL=3 Slice:I Poc:0  
I:3600 P:0    SKIP:0    size=8010 bytes
[libx264 @ 000000000500a4c0] frame= 298 QP=40.00 NAL=2 Slice:P Poc:4   I:0   
P:0    SKIP:3600 size=36 bytes
[libx264 @ 000000000500a4c0] frame= 299 QP=40.00 NAL=0 Slice:B Poc:2   I:0   
P:0    SKIP:3600 size=35 bytes
[libx264 @ 000000000500a4c0] frame= 300 QP=38.97 NAL=2 Slice:P Poc:6   I:103 
P:246  SKIP:3251 size=744 bytes
[libx264 @ 000000000500a4c0] frame= 301 QP=40.51 NAL=2 Slice:P Poc:14  I:196 
P:312  SKIP:3092 size=1174 bytes
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10033334 > 10000000: forcing output
[libx264 @ 000000000500a4c0] frame= 302 QP=41.69 NAL=2 Slice:B Poc:10  I:5   
P:245  SKIP:3350 size=337 bytes
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10033333 > 10000000: forcing output
[libx264 @ 000000000500a4c0] frame= 303 QP=45.71 NAL=0 Slice:B Poc:8   I:4   
P:40   SKIP:3556 size=145 bytes
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10033333 > 10000000: forcing output
[libx264 @ 000000000500a4c0] frame= 304 QP=47.67 NAL=0 Slice:B Poc:12  I:1   
P:67   SKIP:3532 size=139 bytes
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10033334 > 10000000: forcing output
[libx264 @ 000000000500a4c0] frame= 305 QP=42.54 NAL=2 Slice:P Poc:22  I:152 
P:305  SKIP:3143 size=1181 bytes
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10033333 > 10000000: forcing output
...
...
...
[libx264 @ 000000000500a4c0] frame=7976 QP=37.41 NAL=2 Slice:B Poc:48  I:6   
P:399  SKIP:3195 size=317 bytes
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10033333 > 10000000: forcing output
[libx264 @ 000000000500a4c0] frame=7977 QP=42.82 NAL=0 Slice:B Poc:46  I:4   
P:481  SKIP:3114 size=881 bytes
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10033333 > 10000000: forcing output
[libx264 @ 000000000500a4c0] frame=7978 QP=37.95 NAL=2 Slice:P Poc:58  I:177 
P:795  SKIP:2628 size=2679 bytes
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10033334 > 10000000: forcing output
*** dropping frame 7999 from stream 0 at ts -1
*** dropping frame 7999 from stream 0 at ts 0
*** dropping frame 7999 from stream 0 at ts 1
*** dropping frame 7999 from stream 0 at ts 2
*** dropping frame 7999 from stream 0 at ts 3
*** dropping frame 7999 from stream 0 at ts 4
*** dropping frame 7999 from stream 0 at ts 5
*** dropping frame 7999 from stream 0 at ts 6
*** dropping frame 7999 from stream 0 at ts 7
*** dropping frame 7999 from stream 0 at ts 8
*** dropping frame 7999 from stream 0 at ts 9
*** dropping frame 7999 from stream 0 at ts 10
*** dropping frame 7999 from stream 0 at ts 11
*** dropping frame 7999 from stream 0 at ts 12
*** dropping frame 7999 from stream 0 at ts 13
*** dropping frame 7999 from stream 0 at ts 14
*** dropping frame 7999 from stream 0 at ts 15
*** dropping frame 7999 from stream 0 at ts 16
*** dropping frame 7999 from stream 0 at ts 17
*** dropping frame 7999 from stream 0 at ts 18
*** dropping frame 7999 from stream 0 at ts 19
*** dropping frame 7999 from stream 0 at ts 20
*** dropping frame 7999 from stream 0 at ts 21
*** dropping frame 7999 from stream 0 at ts 22
*** dropping frame 7999 from stream 0 at ts 23
*** dropping frame 7999 from stream 0 at ts 24
*** dropping frame 7999 from stream 0 at ts 25
*** dropping frame 7999 from stream 0 at ts 26
*** dropping frame 7999 from stream 0 at ts 27
*** dropping frame 7999 from stream 0 at ts 28
*** dropping frame 7999 from stream 0 at ts 29
*** dropping frame 7999 from stream 0 at ts 30
*** dropping frame 7999 from stream 0 at ts 31
*** dropping frame 7999 from stream 0 at ts 32
*** dropping frame 7999 from stream 0 at ts 33
*** dropping frame 7999 from stream 0 at ts 34
*** dropping frame 7999 from stream 0 at ts 35
*** dropping frame 7999 from stream 0 at ts 36
*** dropping frame 7999 from stream 0 at ts 37
*** dropping frame 7999 from stream 0 at ts 38
*** dropping frame 7999 from stream 0 at ts 39
*** dropping frame 7999 from stream 0 at ts 40
*** dropping frame 7999 from stream 0 at ts 41
*** dropping frame 7999 from stream 0 at ts 42
*** dropping frame 7999 from stream 0 at ts 43
*** dropping frame 7999 from stream 0 at ts 44
*** dropping frame 7999 from stream 0 at ts 45
*** dropping frame 7999 from stream 0 at ts 46
*** dropping frame 7999 from stream 0 at ts 47
*** dropping frame 7999 from stream 0 at ts 48
*** dropping frame 7999 from stream 0 at ts 49
*** dropping frame 7999 from stream 0 at ts 50
*** dropping frame 7999 from stream 0 at ts 51
*** dropping frame 7999 from stream 0 at ts 52
*** dropping frame 7999 from stream 0 at ts 53
*** dropping frame 7999 from stream 0 at ts 54
*** dropping frame 7999 from stream 0 at ts 55
*** dropping frame 7999 from stream 0 at ts 56
frame= 7999 fps= 94 q=42.0 size=    8998kB time=00:04:25.90 bitrate=
277.2kbits/s dup=0 drop=58    
*** dropping frame 7999 from stream 0 at ts 57
*** dropping frame 7999 from stream 0 at ts 58
*** dropping frame 7999 from stream 0 at ts 59
*** dropping frame 7999 from stream 0 at ts 60
*** dropping frame 7999 from stream 0 at ts 61
*** dropping frame 7999 from stream 0 at ts 62
*** dropping frame 7999 from stream 0 at ts 63
*** dropping frame 7999 from stream 0 at ts 64
*** dropping frame 7999 from stream 0 at ts 65
*** dropping frame 7999 from stream 0 at ts 66
*** dropping frame 7999 from stream 0 at ts 67
*** dropping frame 7999 from stream 0 at ts 68
*** dropping frame 7999 from stream 0 at ts 69
*** dropping frame 7999 from stream 0 at ts 70
*** dropping frame 7999 from stream 0 at ts 71
*** dropping frame 7999 from stream 0 at ts 72
*** dropping frame 7999 from stream 0 at ts 73
*** dropping frame 7999 from stream 0 at ts 74
*** dropping frame 7999 from stream 0 at ts 75
*** dropping frame 7999 from stream 0 at ts 76
*** dropping frame 7999 from stream 0 at ts 77
*** dropping frame 7999 from stream 0 at ts 78
*** dropping frame 7999 from stream 0 at ts 79
*** dropping frame 7999 from stream 0 at ts 80
*** dropping frame 7999 from stream 0 at ts 81
*** dropping frame 7999 from stream 0 at ts 82
*** dropping frame 7999 from stream 0 at ts 83
*** dropping frame 7999 from stream 0 at ts 84
*** dropping frame 7999 from stream 0 at ts 85
*** dropping frame 7999 from stream 0 at ts 86
*** dropping frame 7999 from stream 0 at ts 87
*** dropping frame 7999 from stream 0 at ts 88
*** dropping frame 7999 from stream 0 at ts 89
*** dropping frame 7999 from stream 0 at ts 90
*** dropping frame 7999 from stream 0 at ts 91
*** dropping frame 7999 from stream 0 at ts 92
*** dropping frame 7999 from stream 0 at ts 93
*** dropping frame 7999 from stream 0 at ts 94
*** dropping frame 7999 from stream 0 at ts 95
*** dropping frame 7999 from stream 0 at ts 96
*** dropping frame 7999 from stream 0 at ts 97
*** dropping frame 7999 from stream 0 at ts 98
*** dropping frame 7999 from stream 0 at ts 99
*** dropping frame 7999 from stream 0 at ts 100
*** dropping frame 7999 from stream 0 at ts 101
*** dropping frame 7999 from stream 0 at ts 102
*** dropping frame 7999 from stream 0 at ts 103
*** dropping frame 7999 from stream 0 at ts 104
*** dropping frame 7999 from stream 0 at ts 105
*** dropping frame 7999 from stream 0 at ts 106
*** dropping frame 7999 from stream 0 at ts 107
*** dropping frame 7999 from stream 0 at ts 108
*** dropping frame 7999 from stream 0 at ts 109
*** dropping frame 7999 from stream 0 at ts 110
*** dropping frame 7999 from stream 0 at ts 111
*** dropping frame 7999 from stream 0 at ts 112
*** dropping frame 7999 from stream 0 at ts 113
*** dropping frame 7999 from stream 0 at ts 114
*** dropping frame 7999 from stream 0 at ts 115
*** dropping frame 7999 from stream 0 at ts 116
*** dropping frame 7999 from stream 0 at ts 117
*** dropping frame 7999 from stream 0 at ts 118
*** dropping frame 7999 from stream 0 at ts 119
*** dropping frame 7999 from stream 0 at ts 120
*** dropping frame 7999 from stream 0 at ts 121
*** dropping frame 7999 from stream 0 at ts 122
*** dropping frame 7999 from stream 0 at ts 123
*** dropping frame 7999 from stream 0 at ts 124
*** dropping frame 7999 from stream 0 at ts 125
*** dropping frame 7999 from stream 0 at ts 126
*** dropping frame 7999 from stream 0 at ts 127
*** dropping frame 7999 from stream 0 at ts 128
*** dropping frame 7999 from stream 0 at ts 129
*** dropping frame 7999 from stream 0 at ts 130
*** dropping frame 7999 from stream 0 at ts 131
*** dropping frame 7999 from stream 0 at ts 132
*** dropping frame 7999 from stream 0 at ts 133
*** dropping frame 7999 from stream 0 at ts 134
*** dropping frame 7999 from stream 0 at ts 135
*** dropping frame 7999 from stream 0 at ts 136
*** dropping frame 7999 from stream 0 at ts 137
*** dropping frame 7999 from stream 0 at ts 138
*** dropping frame 7999 from stream 0 at ts 139
frame= 7999 fps= 93 q=42.0 size=    9020kB time=00:04:25.90 bitrate=
277.9kbits/s dup=0 drop=141    
*** dropping frame 7999 from stream 0 at ts 140
*** dropping frame 7999 from stream 0 at ts 141
*** dropping frame 7999 from stream 0 at ts 142
*** dropping frame 7999 from stream 0 at ts 143
*** dropping frame 7999 from stream 0 at ts 144
...
...
...
output
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10031020 > 10000000: forcing output
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10031020 > 10000000: forcing output
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10031020 > 10000000: forcing output
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10031020 > 10000000: forcing output
*** dropping frame 7999 from stream 0 at ts 372
*** dropping frame 7999 from stream 0 at ts 373
*** dropping frame 7999 from stream 0 at ts 374
*** dropping frame 7999 from stream 0 at ts 375
*** dropping frame 7999 from stream 0 at ts 376
[output stream 0:0 @ 00000000003bfea0] EOF on sink link output stream
0:0:default.
[mp4 @ 00000000003edc80] Delay between the first packet and last packet in
the muxing queue is 10031020 > 10000000: forcing output
[output stream 0:1 @ 0000000005a64460] EOF on sink link output stream
0:1:default.
No more output streams to write to, finishing.
[libx264 @ 000000000500a4c0] frame=7979 QP=39.71 NAL=2 Slice:B Poc:54  I:17  
P:504  SKIP:3078 size=1010 bytes
[libx264 @ 000000000500a4c0] frame=7980 QP=40.38 NAL=0 Slice:B Poc:52  I:6   
P:296  SKIP:3298 size=581 bytes
[libx264 @ 000000000500a4c0] frame=7981 QP=40.11 NAL=0 Slice:B Poc:56  I:2   
P:192  SKIP:3406 size=393 bytes
[libx264 @ 000000000500a4c0] frame=7982 QP=36.33 NAL=2 Slice:P Poc:60  I:131 
P:965  SKIP:2504 size=2968 bytes
[libx264 @ 000000000500a4c0] frame=7983 QP=36.37 NAL=2 Slice:P Poc:68  I:82  
P:610  SKIP:2908 size=1801 bytes
[libx264 @ 000000000500a4c0] frame=7984 QP=44.17 NAL=2 Slice:B Poc:64  I:0   
P:176  SKIP:3424 size=342 bytes
[libx264 @ 000000000500a4c0] frame=7985 QP=46.64 NAL=0 Slice:B Poc:62  I:0   
P:41   SKIP:3559 size=73 bytes
[libx264 @ 000000000500a4c0] frame=7986 QP=47.00 NAL=0 Slice:B Poc:66  I:0   
P:19   SKIP:3581 size=61 bytes
[libx264 @ 000000000500a4c0] frame=7987 QP=36.74 NAL=2 Slice:P Poc:76  I:65  
P:532  SKIP:3003 size=1361 bytes
[libx264 @ 000000000500a4c0] frame=7988 QP=40.98 NAL=2 Slice:B Poc:72  I:0   
P:95   SKIP:3505 size=243 bytes
[libx264 @ 000000000500a4c0] frame=7989 QP=46.00 NAL=0 Slice:B Poc:70  I:0   
P:17   SKIP:3583 size=57 bytes
[libx264 @ 000000000500a4c0] frame=7990 QP=39.24 NAL=0 Slice:B Poc:74  I:1   
P:13   SKIP:3586 size=57 bytes
[libx264 @ 000000000500a4c0] frame=7991 QP=38.80 NAL=2 Slice:P Poc:84  I:59  
P:525  SKIP:3016 size=1330 bytes
[libx264 @ 000000000500a4c0] frame=7992 QP=36.00 NAL=2 Slice:B Poc:80  I:8   
P:163  SKIP:3428 size=343 bytes
[libx264 @ 000000000500a4c0] frame=7993 QP=46.00 NAL=0 Slice:B Poc:78  I:0   
P:12   SKIP:3588 size=52 bytes
[libx264 @ 000000000500a4c0] frame=7994 QP=35.68 NAL=0 Slice:B Poc:82  I:1   
P:55   SKIP:3544 size=121 bytes
[libx264 @ 000000000500a4c0] frame=7995 QP=38.85 NAL=2 Slice:P Poc:92  I:45  
P:293  SKIP:3262 size=695 bytes
[libx264 @ 000000000500a4c0] frame=7996 QP=35.65 NAL=2 Slice:B Poc:88  I:10  
P:332  SKIP:3258 size=433 bytes
[libx264 @ 000000000500a4c0] frame=7997 QP=42.00 NAL=0 Slice:B Poc:86  I:0   
P:73   SKIP:3527 size=113 bytes
[libx264 @ 000000000500a4c0] frame=7998 QP=31.83 NAL=0 Slice:B Poc:90  I:4   
P:86   SKIP:3510 size=198 bytes
frame= 7999 fps= 90 q=-1.0 Lsize=   11659kB time=00:04:39.23 bitrate=
342.0kbits/s dup=0 drop=379    
video:9355kB audio:2182kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.055076%
Input file #0 (122400.mp4):
  Input stream #0:0 (video): 8378 packets read (467161876 bytes); 8378
frames decoded; 
  Input stream #0:1 (audio): 8728 packets read (4476426 bytes); 8728 frames
decoded (8937472 samples); 
  Total: 17106 packets (471638302 bytes) demuxed
Output file #0 (122400-001.mp4):
  Output stream #0:0 (video): 7999 frames encoded; 7999 packets muxed
(9579625 bytes); 
  Output stream #0:1 (audio): 8019 frames encoded (12316954 samples); 8019
packets muxed (2234410 bytes); 
  Total: 16018 packets (11814035 bytes) muxed
17111 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000000000322200] Statistics: 58 seeks, 16063 writeouts
[libx264 @ 000000000500a4c0] frame I:167   Avg QP:36.57  size: 12017
[libx264 @ 000000000500a4c0] frame P:3680  Avg QP:40.84  size:  1717
[libx264 @ 000000000500a4c0] frame B:4152  Avg QP:42.43  size:   302
[libx264 @ 000000000500a4c0] consecutive B-frames: 20.2% 23.3% 25.1% 31.4%
[libx264 @ 000000000500a4c0] mb I  I16..4: 47.5% 46.9%  5.6%
[libx264 @ 000000000500a4c0] mb P  I16..4:  5.8%  4.9%  0.0%  P16..4:  5.8% 
1.0%  0.2%  0.0%  0.0%    skip:82.3%
[libx264 @ 000000000500a4c0] mb B  I16..4:  0.2%  0.1%  0.0%  B16..8:  2.3% 
0.2%  0.0%  direct: 0.5%  skip:96.7%  L0:43.3% L1:55.1% BI: 1.6%
[libx264 @ 000000000500a4c0] final ratefactor: 39.40
[libx264 @ 000000000500a4c0] 8x8 transform intra:45.8% inter:38.2%
[libx264 @ 000000000500a4c0] coded y,uvDC,uvAC intra: 16.1% 27.1% 5.1%
inter: 0.3% 1.3% 0.0%
[libx264 @ 000000000500a4c0] i16 v,h,dc,p: 46% 30% 16%  7%
[libx264 @ 000000000500a4c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 15% 58%  3% 
3%  2%  3%  2%  3%
[libx264 @ 000000000500a4c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 28% 13%  5% 
5%  5%  5%  5%  4%
[libx264 @ 000000000500a4c0] i8c dc,h,v,p: 81% 11%  7%  1%
[libx264 @ 000000000500a4c0] Weighted P-Frames: Y:6.1% UV:3.6%
[libx264 @ 000000000500a4c0] kb/s:287.40
[AVIOContext @ 000000000032a420] Statistics: 487655251 bytes read, 818 seeks


Through the detection video frame information
ffprobe -show_frames -show_entries frame=media_type,pkt_pts,pkt_pts_time
122400.mp4 > 122400-01.txt


[FRAME]
media_type=video
pkt_pts=7998000
pkt_pts_time=266.600000
[/FRAME]
[FRAME]
media_type=video
pkt_pts=7999000
pkt_pts_time=266.633333
[/FRAME]
[FRAME]
media_type=video
pkt_pts=0
pkt_pts_time=0.000000
[/FRAME]
[FRAME]
media_type=video
pkt_pts=8000000
pkt_pts_time=266.666667
[/FRAME]
[FRAME]
media_type=video
pkt_pts=8002000
pkt_pts_time=266.733333
[/FRAME]
[FRAME]
media_type=video
pkt_pts=8003000
pkt_pts_time=266.766667
[/FRAME]


I searched the BBS of some material inside, tried to < code > - vsync x < /
code > to make video and audio synchronization, but has no effect, all but I
by adding a parameter < code > skip_frame noref < / code > can be used to
decode the skip these discontinuous frame, but this parameter will make some
other video frames, SmoothVideo Project.





--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Video-frame-drop-caused-loss-tp4670948.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list