#9017 closed defect (fixed)

APNG demuxer getting frames out of order.

Reported by: Zennn Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: apng
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
When using ffmpeg to convert some APNGs to another format some frames are being played in the wrong order.

The problem occurs around the 6 second mark.

How to reproduce:

% ffmpeg -i apng_out_of_order_frames.png apng_out_of_order_frames.mp4

Command with verbose logging:

ffmpeg version 2020-12-01-git-ba6e2a2d05-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      56. 61.100 / 56. 61.100
  libavcodec     58.114.100 / 58.114.100
  libavformat    58. 64.100 / 58. 64.100
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 91.100 /  7. 91.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input url with argument 'apng_out_of_order_frames.png'.
Reading option 'apng_out_of_order_frames.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url apng_out_of_order_frames.png.
Successfully parsed a group of options.
Opening an input file: apng_out_of_order_frames.png.
[NULL @ 00000180a07aef40] Opening 'apng_out_of_order_frames.png' for reading
[file @ 00000180a079b940] Setting default whitelist 'file,crypto,data'
Probing apng score:100 size:2048
Probing image2 score:50 size:2048
Probing png_pipe score:99 size:2048
[apng @ 00000180a07aef40] Format apng probed with size=2048 and score=100
[apng @ 00000180a07aef40] num_frames: 134, num_play: 0
[apng @ 00000180a07aef40] Before avformat_find_stream_info() pos: 846 bytes read:32768 seeks:0 nb_streams:1
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 0, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 1, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 9, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 17, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 25, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 33, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 41, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 49, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 57, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 65, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 73, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 81, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 89, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 97, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 105, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 113, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 121, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 129, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 137, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 145, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 153, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 161, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 169, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 177, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 185, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [apng @ 00000180a07aef40] Probe buffer size limit of 5000000 bytes reached
[apng @ 00000180a07aef40] stream 0: start_time: NOPTS duration: NOPTS
[apng @ 00000180a07aef40] format: start_time: NOPTS duration: NOPTS (estimate from bit rate) bitrate=0 kb/s
[apng @ 00000180a07aef40] After avformat_find_stream_info() pos: 5101544 bytes read:5111808 seeks:0 frames:25
Input #0, apng, from 'apng_out_of_order_frames.png':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 25, 1/100000: Video: apng, 1 reference frame, pal8(pc), 600x900, 0/1, 10 fps, 10 tbr, 100k tbn, 100k tbc
Successfully opened the file.
Parsing a group of options: output url apng_out_of_order_frames.mp4.
Successfully parsed a group of options.
Opening an output file: apng_out_of_order_frames.mp4.
[file @ 00000180a086e0c0] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
detected 4 logical cores
Stream mapping:
  Stream #0:0 -> #0:0 (apng (native) -> h264 (libx264))
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 4 times
[graph 0 input from stream 0:0 @ 00000180a07b3f00] Setting 'video_size' to value '600x900'
[graph 0 input from stream 0:0 @ 00000180a07b3f00] Setting 'pix_fmt' to value '11'
[graph 0 input from stream 0:0 @ 00000180a07b3f00] Setting 'time_base' to value '1/100000'
[graph 0 input from stream 0:0 @ 00000180a07b3f00] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 00000180a07b3f00] Setting 'frame_rate' to value '10/1'
[graph 0 input from stream 0:0 @ 00000180a07b3f00] w:600 h:900 pixfmt:pal8 tb:1/100000 fr:10/1 sar:0/1
[format @ 00000180a07b3cc0] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21|yuv420p10le|yuv422p10le|yuv444p10le|nv20le|gray|gray10le'
[auto_scaler_0 @ 00000180a0830f40] Setting 'flags' to value 'bicubic'
[auto_scaler_0 @ 00000180a0830f40] w:iw h:ih flags:'bicubic' interl:0
[format @ 00000180a07b3cc0] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 00000180a07b49c0] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto_scaler_0 @ 00000180a0830f40] picking yuv444p out of 13 ref:pal8 alpha:0
[auto_scaler_0 @ 00000180a0830f40] w:600 h:900 fmt:pal8 sar:0/1 -> w:600 h:900 fmt:yuv444p sar:0/1 flags:0x4
[libx264 @ 00000180a118a080] using mv_range_thread = 72
[libx264 @ 00000180a118a080] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 00000180a118a080] profile High 4:4:4 Predictive, level 3.1, 4:4:4, 8-bit
[libx264 @ 00000180a118a080] 264 - core 161 r3027 4121277 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=4 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=10 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'apng_out_of_order_frames.mp4':
  Metadata:
    encoder         : Lavf58.64.100
    Stream #0:0, 0, 1/10240: Video: h264 (libx264), 1 reference frame (avc1 / 0x31637661), yuv444p(tv, progressive), 600x900, 0/1, q=-1--1, 10 fps, 10240 tbn, 10 tbc
    Metadata:
      encoder         : Lavc58.114.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Clipping frame in rate conversion by 0.000008
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 20 times
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 193, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 201, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 209, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 217, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 225, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 233, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 241, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 249, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 257, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 265, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 273, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 281, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 289, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 297, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 305, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 313, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 321, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 329, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 337, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 345, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 353, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 361, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 369, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 377, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 385, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 393, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 401, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 409, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 417, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 425, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=   0 QP=23.09 NAL=3 Slice:I Poc:0   I:2166 P:0    SKIP:0    size=85389 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 433, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=   1 QP=23.38 NAL=2 Slice:P Poc:8   I:1312 P:812  SKIP:42   size=70468 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 441, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=   2 QP=24.45 NAL=2 Slice:B Poc:4   I:176  P:1203 SKIP:604  size=40064 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 449, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=   3 QP=25.55 NAL=0 Slice:B Poc:2   I:65   P:1139 SKIP:759  size=27521 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 457, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=   4 QP=25.23 NAL=0 Slice:B Poc:6   I:124  P:1139 SKIP:708  size=29417 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 465, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=   5 QP=22.87 NAL=2 Slice:P Poc:16  I:1377 P:789  SKIP:0    size=72850 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 473, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=   6 QP=24.39 NAL=2 Slice:B Poc:12  I:271  P:1154 SKIP:597  size=38578 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 481, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=   7 QP=25.07 NAL=0 Slice:B Poc:10  I:142  P:1209 SKIP:643  size=27592 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 489, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=   8 QP=25.11 NAL=0 Slice:B Poc:14  I:111  P:1194 SKIP:671  size=25942 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 497, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=   9 QP=22.85 NAL=2 Slice:P Poc:24  I:723  P:1268 SKIP:175  size=64954 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 505, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  10 QP=24.10 NAL=2 Slice:B Poc:20  I:96   P:1363 SKIP:513  size=33787 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 513, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  11 QP=25.14 NAL=0 Slice:B Poc:18  I:38   P:1215 SKIP:716  size=22874 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 521, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  12 QP=25.27 NAL=0 Slice:B Poc:22  I:44   P:1197 SKIP:739  size=22490 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 529, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 2, blend_op: 0 [libx264 @ 00000180a118a080] frame=  13 QP=22.85 NAL=2 Slice:P Poc:32  I:519  P:1471 SKIP:176  size=61470 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 537, width: 1, height: 1, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0
[libx264 @ 00000180a118a080] frame=  14 QP=24.40 NAL=2 Slice:B Poc:28  I:63   P:1300 SKIP:597  size=31778 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 539, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  15 QP=25.32 NAL=0 Slice:B Poc:26  I:45   P:1152 SKIP:763  size=21962 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 547, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  16 QP=25.17 NAL=0 Slice:B Poc:30  I:41   P:1187 SKIP:747  size=22950 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 555, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  17 QP=22.94 NAL=2 Slice:P Poc:40  I:442  P:1575 SKIP:149  size=59989 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 563, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  18 QP=24.36 NAL=2 Slice:B Poc:36  I:62   P:1281 SKIP:610  size=31481 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 571, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  19 QP=25.30 NAL=0 Slice:B Poc:34  I:29   P:1191 SKIP:738  size=21024 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 579, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  20 QP=25.36 NAL=0 Slice:B Poc:38  I:42   P:1161 SKIP:761  size=21714 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 587, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  21 QP=23.09 NAL=2 Slice:P Poc:48  I:425  P:1580 SKIP:161  size=57354 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 595, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  22 QP=24.39 NAL=2 Slice:B Poc:44  I:77   P:1316 SKIP:559  size=32600 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 603, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  23 QP=25.39 NAL=0 Slice:B Poc:42  I:32   P:1147 SKIP:781  size=21632 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 611, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  24 QP=25.45 NAL=0 Slice:B Poc:46  I:36   P:1226 SKIP:706  size=23619 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 619, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  25 QP=23.57 NAL=2 Slice:P Poc:56  I:335  P:1662 SKIP:169  size=50739 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 627, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  26 QP=24.30 NAL=2 Slice:B Poc:52  I:74   P:1299 SKIP:564  size=33473 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 635, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  27 QP=25.37 NAL=0 Slice:B Poc:50  I:38   P:1193 SKIP:742  size=23212 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 643, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  28 QP=25.29 NAL=0 Slice:B Poc:54  I:37   P:1294 SKIP:638  size=23571 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 651, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  29 QP=23.22 NAL=2 Slice:P Poc:64  I:1415 P:751  SKIP:0    size=76289 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 659, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  30 QP=24.57 NAL=2 Slice:B Poc:60  I:362  P:1193 SKIP:433  size=36459 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 667, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  31 QP=25.52 NAL=0 Slice:B Poc:58  I:62   P:1196 SKIP:696  size=25594 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 675, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  32 QP=25.38 NAL=0 Slice:B Poc:62  I:183  P:1211 SKIP:583  size=32202 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 683, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  33 QP=23.23 NAL=2 Slice:P Poc:72  I:727  P:1439 SKIP:0    size=64683 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 691, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  34 QP=24.50 NAL=2 Slice:B Poc:68  I:219  P:1202 SKIP:549  size=40552 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 699, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  35 QP=25.50 NAL=0 Slice:B Poc:66  I:63   P:1195 SKIP:697  size=27199 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 707, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  36 QP=25.33 NAL=0 Slice:B Poc:70  I:89   P:1185 SKIP:711  size=26353 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 715, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  37 QP=22.96 NAL=2 Slice:P Poc:80  I:1066 P:1098 SKIP:2    size=69388 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 723, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  38 QP=24.47 NAL=2 Slice:B Poc:76  I:178  P:1294 SKIP:498  size=36389 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 731, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  39 QP=25.26 NAL=0 Slice:B Poc:74  I:71   P:1202 SKIP:712  size=24734 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 739, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  40 QP=25.21 NAL=0 Slice:B Poc:78  I:72   P:1234 SKIP:673  size=24595 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 747, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  41 QP=22.72 NAL=2 Slice:P Poc:88  I:611  P:1407 SKIP:148  size=66587 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 755, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  42 QP=24.39 NAL=2 Slice:B Poc:84  I:105  P:1313 SKIP:510  size=34252 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 763, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  43 QP=25.38 NAL=0 Slice:B Poc:82  I:49   P:1210 SKIP:704  size=23697 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 771, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  44 QP=25.21 NAL=0 Slice:B Poc:86  I:68   P:1244 SKIP:647  size=24271 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 779, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  45 QP=22.92 NAL=2 Slice:P Poc:96  I:371  P:1625 SKIP:170  size=61770 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 787, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  46 QP=24.48 NAL=2 Slice:B Poc:92  I:82   P:1305 SKIP:565  size=32524 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 795, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  47 QP=25.55 NAL=0 Slice:B Poc:90  I:33   P:1197 SKIP:736  size=20737 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 803, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  48 QP=25.54 NAL=0 Slice:B Poc:94  I:39   P:1240 SKIP:681  size=23149 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 811, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  49 QP=22.98 NAL=2 Slice:P Poc:104 I:380  P:1615 SKIP:171  size=61187 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 819, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  50 QP=24.60 NAL=2 Slice:B Poc:100 I:80   P:1280 SKIP:572  size=32233 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 827, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  51 QP=25.53 NAL=0 Slice:B Poc:98  I:32   P:1217 SKIP:730  size=21808 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 835, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  52 QP=25.71 NAL=0 Slice:B Poc:102 I:28   P:1155 SKIP:779  size=21634 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 843, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  53 QP=22.92 NAL=2 Slice:P Poc:112 I:378  P:1638 SKIP:150  size=64507 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 851, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  54 QP=24.55 NAL=2 Slice:B Poc:108 I:79   P:1307 SKIP:535  size=34010 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 859, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  55 QP=25.55 NAL=0 Slice:B Poc:106 I:36   P:1245 SKIP:685  size=22824 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 867, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  56 QP=25.47 NAL=0 Slice:B Poc:110 I:30   P:1250 SKIP:671  size=24298 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 875, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  57 QP=22.89 NAL=2 Slice:P Poc:120 I:394  P:1610 SKIP:162  size=65454 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 883, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  58 QP=24.70 NAL=2 Slice:B Poc:116 I:80   P:1297 SKIP:549  size=34639 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 891, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  59 QP=25.67 NAL=0 Slice:B Poc:114 I:53   P:1210 SKIP:695  size=24377 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 899, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  60 QP=25.77 NAL=0 Slice:B Poc:118 I:54   P:1240 SKIP:649  size=24068 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 907, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  61 QP=22.90 NAL=2 Slice:P Poc:128 I:435  P:1575 SKIP:156  size=65505 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 915, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  62 QP=24.54 NAL=2 Slice:B Poc:124 I:71   P:1342 SKIP:537  size=34482 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 923, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  63 QP=25.70 NAL=0 Slice:B Poc:122 I:29   P:1277 SKIP:656  size=23205 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 931, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  64 QP=25.68 NAL=0 Slice:B Poc:126 I:40   P:1259 SKIP:649  size=23489 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 939, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  65 QP=23.06 NAL=2 Slice:P Poc:136 I:139  P:1881 SKIP:146  size=54992 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 947, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  66 QP=24.08 NAL=2 Slice:B Poc:132 I:159  P:1327 SKIP:425  size=39996 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 955, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  67 QP=25.42 NAL=0 Slice:B Poc:130 I:30   P:1265 SKIP:668  size=23431 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 963, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  68 QP=25.60 NAL=0 Slice:B Poc:134 I:49   P:1288 SKIP:619  size=26576 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 971, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  69 QP=23.10 NAL=2 Slice:P Poc:144 I:144  P:1772 SKIP:250  size=53065 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 979, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  70 QP=23.28 NAL=2 Slice:B Poc:140 I:0    P:475  SKIP:1689 size=1235 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 987, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  71 QP=25.47 NAL=0 Slice:B Poc:138 I:81   P:1305 SKIP:540  size=27373 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 995, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0 [libx264 @ 00000180a118a080] frame=  72 QP=25.92 NAL=0 Slice:B Poc:142 I:41   P:1172 SKIP:710  size=23249 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 1003, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0

[libx264 @ 00000180a118a080] frame=  73 QP=23.05 NAL=2 Slice:P Poc:152 I:319  P:1692 SKIP:155  size=61256 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 1011, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0

[libx264 @ 00000180a118a080] frame=  74 QP=24.66 NAL=2 Slice:B Poc:148 I:48   P:1369 SKIP:455  size=32322 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 1019, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0

[libx264 @ 00000180a118a080] frame=  75 QP=25.67 NAL=0 Slice:B Poc:146 I:19   P:1268 SKIP:637  size=20612 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 1027, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0

[libx264 @ 00000180a118a080] frame=  76 QP=25.44 NAL=0 Slice:B Poc:150 I:45   P:1273 SKIP:634  size=24280 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 1035, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0

[libx264 @ 00000180a118a080] frame=  77 QP=22.99 NAL=2 Slice:P Poc:160 I:375  P:1640 SKIP:151  size=62837 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 1043, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0

[libx264 @ 00000180a118a080] frame=  78 QP=24.62 NAL=2 Slice:B Poc:156 I:78   P:1332 SKIP:520  size=34294 bytes
[apng @ 00000180a07aef40] decode_fctl_chunk: sequence_number: 1051, width: 600, height: 900, x_offset: 0, y_offset: 0, delay_num: 10, delay_den: 100, dispose_op: 0, blend_op: 0

[libx264 @ 00000180a118a080] frame=  79 QP=25.76 NAL=0 Slice:B Poc:154 I:44   P:1196 SKIP:700  size=24044 bytes
[libx264 @ 00000180a118a080] frame=  80 QP=25.53 NAL=0 Slice:B Poc:158 I:34   P:1287 SKIP:621  size=24296 bytes
[libx264 @ 00000180a118a080] frame=  81 QP=23.02 NAL=2 Slice:P Poc:168 I:317  P:1688 SKIP:161  size=59606 bytes
[libx264 @ 00000180a118a080] frame=  82 QP=24.52 NAL=2 Slice:B Poc:164 I:60   P:1374 SKIP:486  size=32781 bytes
[libx264 @ 00000180a118a080] frame=  83 QP=25.32 NAL=0 Slice:B Poc:162 I:34   P:1199 SKIP:726  size=22810 bytes
[out_0_0 @ 00000180a07c4a80] EOF on sink link out_0_0:default.
No more output streams to write to, finishing.
[libx264 @ 00000180a118a080] frame=  84 QP=25.51 NAL=0 Slice:B Poc:166 I:36   P:1192 SKIP:738  size=21962 bytes
[libx264 @ 00000180a118a080] frame=  85 QP=23.07 NAL=2 Slice:P Poc:176 I:363  P:1661 SKIP:142  size=58213 bytes
[libx264 @ 00000180a118a080] frame=  86 QP=24.39 NAL=2 Slice:B Poc:172 I:82   P:1313 SKIP:532  size=32449 bytes
[libx264 @ 00000180a118a080] frame=  87 QP=25.49 NAL=0 Slice:B Poc:170 I:38   P:1196 SKIP:718  size=21722 bytes
[libx264 @ 00000180a118a080] frame=  88 QP=25.57 NAL=0 Slice:B Poc:174 I:37   P:1307 SKIP:622  size=23154 bytes
[libx264 @ 00000180a118a080] frame=  89 QP=23.09 NAL=2 Slice:P Poc:184 I:453  P:1549 SKIP:164  size=58572 bytes
[libx264 @ 00000180a118a080] frame=  90 QP=24.52 NAL=2 Slice:B Poc:180 I:91   P:1295 SKIP:522  size=32875 bytes
[libx264 @ 00000180a118a080] frame=  91 QP=25.63 NAL=0 Slice:B Poc:178 I:27   P:1264 SKIP:700  size=20738 bytes
[libx264 @ 00000180a118a080] frame=  92 QP=25.12 NAL=0 Slice:B Poc:182 I:57   P:1343 SKIP:571  size=24421 bytes
[libx264 @ 00000180a118a080] frame=  93 QP=23.33 NAL=2 Slice:P Poc:192 I:553  P:1473 SKIP:140  size=61041 bytes
[libx264 @ 00000180a118a080] frame=  94 QP=24.42 NAL=2 Slice:B Poc:188 I:114  P:1343 SKIP:506  size=34427 bytes
[libx264 @ 00000180a118a080] frame=  95 QP=25.25 NAL=0 Slice:B Poc:186 I:33   P:1255 SKIP:672  size=23620 bytes
[libx264 @ 00000180a118a080] frame=  96 QP=25.12 NAL=0 Slice:B Poc:190 I:51   P:1274 SKIP:650  size=24044 bytes
[libx264 @ 00000180a118a080] frame=  97 QP=23.29 NAL=2 Slice:P Poc:200 I:1093 P:1070 SKIP:3    size=71807 bytes
[libx264 @ 00000180a118a080] frame=  98 QP=24.27 NAL=2 Slice:B Poc:196 I:224  P:1217 SKIP:525  size=38930 bytes
[libx264 @ 00000180a118a080] frame=  99 QP=25.18 NAL=0 Slice:B Poc:194 I:88   P:1122 SKIP:761  size=24730 bytes
[libx264 @ 00000180a118a080] frame= 100 QP=25.34 NAL=0 Slice:B Poc:198 I:83   P:1227 SKIP:707  size=26352 bytes
[libx264 @ 00000180a118a080] frame= 101 QP=23.43 NAL=2 Slice:P Poc:208 I:670  P:1496 SKIP:0    size=58594 bytes
[libx264 @ 00000180a118a080] frame= 102 QP=24.40 NAL=2 Slice:B Poc:204 I:352  P:1161 SKIP:410  size=45487 bytes
[libx264 @ 00000180a118a080] frame= 103 QP=25.36 NAL=0 Slice:B Poc:202 I:78   P:1196 SKIP:709  size=27466 bytes
[libx264 @ 00000180a118a080] frame= 104 QP=25.37 NAL=0 Slice:B Poc:206 I:162  P:1227 SKIP:584  size=32224 bytes
[libx264 @ 00000180a118a080] frame= 105 QP=22.83 NAL=2 Slice:P Poc:216 I:1049 P:1114 SKIP:3    size=71412 bytes
[libx264 @ 00000180a118a080] frame= 106 QP=24.28 NAL=2 Slice:B Poc:212 I:199  P:1279 SKIP:497  size=38767 bytes
[libx264 @ 00000180a118a080] frame= 107 QP=25.25 NAL=0 Slice:B Poc:210 I:60   P:1239 SKIP:651  size=25821 bytes
[libx264 @ 00000180a118a080] frame= 108 QP=25.35 NAL=0 Slice:B Poc:214 I:41   P:1289 SKIP:628  size=23949 bytes
[libx264 @ 00000180a118a080] frame= 109 QP=22.96 NAL=2 Slice:P Poc:224 I:396  P:1597 SKIP:173  size=59870 bytes
[libx264 @ 00000180a118a080] frame= 110 QP=24.32 NAL=2 Slice:B Poc:220 I:80   P:1296 SKIP:544  size=32920 bytes
[libx264 @ 00000180a118a080] frame= 111 QP=25.30 NAL=0 Slice:B Poc:218 I:32   P:1237 SKIP:693  size=23202 bytes
[libx264 @ 00000180a118a080] frame= 112 QP=25.32 NAL=0 Slice:B Poc:222 I:35   P:1226 SKIP:693  size=23564 bytes
[libx264 @ 00000180a118a080] frame= 113 QP=22.99 NAL=2 Slice:P Poc:232 I:365  P:1613 SKIP:188  size=57085 bytes
[libx264 @ 00000180a118a080] frame= 114 QP=24.17 NAL=2 Slice:B Poc:228 I:60   P:1286 SKIP:607  size=32497 bytes
[libx264 @ 00000180a118a080] frame= 115 QP=25.40 NAL=0 Slice:B Poc:226 I:24   P:1175 SKIP:725  size=21934 bytes
[libx264 @ 00000180a118a080] frame= 116 QP=25.23 NAL=0 Slice:B Poc:230 I:32   P:1242 SKIP:705  size=21393 bytes
[libx264 @ 00000180a118a080] frame= 117 QP=23.05 NAL=2 Slice:P Poc:240 I:413  P:1602 SKIP:151  size=56514 bytes
[libx264 @ 00000180a118a080] frame= 118 QP=24.31 NAL=2 Slice:B Poc:236 I:56   P:1335 SKIP:557  size=31889 bytes
[libx264 @ 00000180a118a080] frame= 119 QP=25.22 NAL=0 Slice:B Poc:234 I:33   P:1169 SKIP:738  size=21547 bytes
[libx264 @ 00000180a118a080] frame= 120 QP=25.09 NAL=0 Slice:B Poc:238 I:35   P:1215 SKIP:727  size=22488 bytes
[libx264 @ 00000180a118a080] frame= 121 QP=23.36 NAL=2 Slice:P Poc:248 I:448  P:1572 SKIP:146  size=53117 bytes
[libx264 @ 00000180a118a080] frame= 122 QP=24.36 NAL=2 Slice:B Poc:244 I:55   P:1329 SKIP:556  size=31181 bytes
[libx264 @ 00000180a118a080] frame= 123 QP=25.31 NAL=0 Slice:B Poc:242 I:31   P:1163 SKIP:767  size=21584 bytes
[libx264 @ 00000180a118a080] frame= 124 QP=25.20 NAL=0 Slice:B Poc:246 I:46   P:1245 SKIP:692  size=22124 bytes
[libx264 @ 00000180a118a080] frame= 125 QP=23.77 NAL=2 Slice:P Poc:256 I:811  P:1352 SKIP:3    size=57489 bytes
[libx264 @ 00000180a118a080] frame= 126 QP=24.36 NAL=2 Slice:B Poc:252 I:145  P:1312 SKIP:505  size=34687 bytes
[libx264 @ 00000180a118a080] frame= 127 QP=25.16 NAL=0 Slice:B Poc:250 I:38   P:1196 SKIP:747  size=22548 bytes
[libx264 @ 00000180a118a080] frame= 128 QP=25.17 NAL=0 Slice:B Poc:254 I:104  P:1234 SKIP:646  size=25785 bytes
[libx264 @ 00000180a118a080] frame= 129 QP=24.47 NAL=2 Slice:P Poc:264 I:1071 P:1091 SKIP:4    size=54117 bytes
[libx264 @ 00000180a118a080] frame= 130 QP=24.36 NAL=2 Slice:B Poc:260 I:227  P:1167 SKIP:600  size=38493 bytes
[libx264 @ 00000180a118a080] frame= 131 QP=25.12 NAL=0 Slice:B Poc:258 I:105  P:1173 SKIP:707  size=27216 bytes
[libx264 @ 00000180a118a080] frame= 132 QP=25.26 NAL=0 Slice:B Poc:262 I:130  P:1147 SKIP:706  size=29457 bytes
[libx264 @ 00000180a118a080] frame= 133 QP=25.29 NAL=2 Slice:P Poc:266 I:242  P:1567 SKIP:357  size=35089 bytes
Not writing 'clli' atom. No content light level info.
Not writing 'mdcv' atom. Missing mastering metadata.
frame=  134 fps= 34 q=-1.0 Lsize=    4768kB time=00:00:13.10 bitrate=2981.6kbits/s speed=3.28x
video:4766kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.051927%
Input file #0 (apng_out_of_order_frames.png):
  Input stream #0:0 (video): 134 packets read (27467929 bytes); 134 frames decoded;
  Total: 134 packets (27467929 bytes) demuxed
Output file #0 (apng_out_of_order_frames.mp4):
  Output stream #0:0 (video): 134 frames encoded; 134 packets muxed (4879948 bytes);
  Total: 134 packets (4879948 bytes) muxed
134 frames successfully decoded, 0 decoding errors
[AVIOContext @ 00000180a086e580] Statistics: 2 seeks, 22 writeouts
[libx264 @ 00000180a118a080] frame I:1     Avg QP:23.09  size: 85389
[libx264 @ 00000180a118a080] frame P:34    Avg QP:23.19  size: 61114
[libx264 @ 00000180a118a080] frame B:99    Avg QP:25.05  size: 27434
[libx264 @ 00000180a118a080] consecutive B-frames:  1.5%  0.0%  0.0% 98.5%
[libx264 @ 00000180a118a080] mb I  I16..4: 20.7% 59.6% 19.7%
[libx264 @ 00000180a118a080] mb P  I16..4:  5.9% 16.9%  4.5%  P16..4: 28.2% 22.9% 16.0%  0.0%  0.0%    skip: 5.7%
[libx264 @ 00000180a118a080] mb B  I16..4:  0.5%  2.5%  0.6%  B16..8: 35.4% 12.3%  5.6%  direct:13.0%  skip:30.0%  L0:39.7% L1:37.6% BI:22.7%
[libx264 @ 00000180a118a080] 8x8 transform intra:63.2% inter:46.5%
[libx264 @ 00000180a118a080] coded y,u,v intra: 71.0% 39.5% 51.2% inter: 41.3% 10.4% 16.8%
[libx264 @ 00000180a118a080] i16 v,h,dc,p: 33% 17% 21% 28%
[libx264 @ 00000180a118a080] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 14% 32%  6%  7%  7%  7%  7%  6%
[libx264 @ 00000180a118a080] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 17% 22%  5%  7%  7%  5%  5%  4%
[libx264 @ 00000180a118a080] Weighted P-Frames: Y:29.4% UV:11.8%
[libx264 @ 00000180a118a080] ref P L0: 39.8% 11.4% 30.6% 15.2%  3.0%
[libx264 @ 00000180a118a080] ref B L0: 83.7% 12.8%  3.5%
[libx264 @ 00000180a118a080] ref B L1: 95.3%  4.7%
[libx264 @ 00000180a118a080] kb/s:2912.99
[AVIOContext @ 00000180a07b7e40] Statistics: 27468787 bytes read, 0 seeks

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (1)

apng_out_of_order_frames.png (2.4 MB ) - added by Zennn 19 months ago.
Original APNG that plays correctly.

Change History (6)

by Zennn, 19 months ago

Original APNG that plays correctly.

comment:1 by Carl Eugen Hoyos, 19 months ago

Component: ffmpegundetermined
Keywords: animated removed
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:3 by Elon Musk, 17 months ago

Please stop spamming this site with useless additions/comments.

Thanks!

comment:4 by Carl Eugen Hoyos, 17 months ago

ffmpeg and ffplay still show a black frame after 63231fa8d30f41045658d6c382b00fe1ebe18d05 that is not visible with Firefox, Chrome and Safari.

comment:5 by Carl Eugen Hoyos, 16 months ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.