#7242 closed defect (fixed)
zoompan filter variables 'in' and 'on' start at 2, 1 instead of at 0
Reported by: | Jim DeLaHunt | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | git-master | Keywords: | zoompan |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug: The video filter zoompan creates variables in and on for use in expressions. They are described as the "input frame count" and "output frame count" respectively. When zoompan filters the first frame, in is 2, and on is 1. These are non-intuitive values. I expect them both to be 0 for the first frame.
How to reproduce: Use zoompan filter, with expressions which examine the in and on values for each frame.
Two invocations demonstrate this. Full invocations below and -report
logs below.
[1] Comparing zoompan:in and zoompan:on with crop:n
./ffmpeg -report -v +repeat -to 0.3 -i fate-suite/h264/interlaced_crop.mp4 -an \ -vf "crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1" \ -f mp4 -y /dev/null ...[omitted here for brevity] ... 1234000.000000 1234000.000000 2718002.000000 3142001.000000 ...[omitted here for brevity] ...
[2] Same problem with zoompan:in and zoompan:on even if no other filters
ffmpeg started on 2018-06-02 at 23:41:59 Report written to "ffmpeg-20180602-234159.log" Command line: ./ffmpeg -report -v +repeat -to 0.3 -i fate-suite/h264/interlaced_crop.mp4 -an \ -vf "zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1" \ -f mp4 -y /dev/null ...[omitted here for brevity] ... 2718002.000000 3142001.000000 ...[omitted here for brevity] ...
Expected behaviour
I expect in and on to have the value 0 when the filter operates on the first input frame and generates the first output frame. This is consistent with how the n variable behaves with many other video filters, e.g. crop, drawtext, etc.
When the filter operates on subsequent output frames for a given input frame, I expect in to remain at the same value, and on to increment by 1 for each output frame.
When the filter operates on the next input frame, I expect both in and on to increment by 1 relative to their values for the final output frame of the previous input frame. on should not reset to zero; the zoompan:duration variable already has this behaviour.
I expect the documentation for zoompan's in and on variables to be clearer and more consistent with the documentation for the n variable in other video filters, e.g. crop. For example:
in: The number of the input frame, starting from 0. It keeps the same value as the filter generates successive output frames for the same input frame.
on: The number of the output frame, starting from 0. It increments as the filter generates successive output frames for a given input frame, and increments again when the filter moves to first output frame for the next input frame.
Full invocations and -report
logs:
[1] Comparing zoompan:in and zoompan:on with crop:n
ffmpeg started on 2018-06-02 at 23:41:47 Report written to "ffmpeg-20180602-234147.log" Command line: ./ffmpeg -report -v +repeat -to 0.3 -i fate-suite/h264/interlaced_crop.mp4 -an -vf "crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1" -f mp4 -y /dev/null ffmpeg version N-91206-g9827bb88e7 Copyright (c) 2000-2018 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --samples=fate-suite libavutil 56. 18.102 / 56. 18.102 libavcodec 58. 19.105 / 58. 19.105 libavformat 58. 17.100 / 58. 17.100 libavdevice 58. 4.100 / 58. 4.100 libavfilter 7. 24.100 / 7. 24.100 libswscale 5. 2.100 / 5. 2.100 libswresample 3. 2.100 / 3. 2.100 Splitting the commandline. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-v' ... matched as option 'v' (set logging level) with argument '+repeat'. Reading option '-to' ... matched as option 'to' (record or transcode stop time) with argument '0.3'. Reading option '-i' ... matched as input url with argument 'fate-suite/h264/interlaced_crop.mp4'. Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'. Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'. Reading option '/dev/null' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option report (generate a report) with argument 1. Applying option v (set logging level) with argument +repeat. Applying option y (overwrite output files) with argument 1. Successfully parsed a group of options. Parsing a group of options: input url fate-suite/h264/interlaced_crop.mp4. Applying option to (record or transcode stop time) with argument 0.3. Successfully parsed a group of options. Opening an input file: fate-suite/h264/interlaced_crop.mp4. [NULL @ 0x7ff9e9800000] Opening 'fate-suite/h264/interlaced_crop.mp4' for reading [file @ 0x7ff9e8600440] Setting default whitelist 'file,crypto' [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] ISO: File Type Major Brand: avc1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] Processing st: 0, edit list 0 - media time: 2, duration: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 0 ctts: 2, ctts_index: 0, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 1 ctts: 5, ctts_index: 1, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 2 ctts: 2, ctts_index: 2, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 3 ctts: 0, ctts_index: 3, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 4 ctts: 1, ctts_index: 4, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 5 ctts: 5, ctts_index: 5, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 6 ctts: 2, ctts_index: 6, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 7 ctts: 0, ctts_index: 7, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 8 ctts: 1, ctts_index: 8, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 9 ctts: 5, ctts_index: 9, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 10 ctts: 2, ctts_index: 10, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 11 ctts: 0, ctts_index: 11, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 12 ctts: 1, ctts_index: 12, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 13 ctts: 5, ctts_index: 13, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 14 ctts: 2, ctts_index: 14, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 15 ctts: 0, ctts_index: 15, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 16 ctts: 1, ctts_index: 16, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 17 ctts: 5, ctts_index: 17, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 18 ctts: 2, ctts_index: 18, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 19 ctts: 0, ctts_index: 19, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 20 ctts: 1, ctts_index: 20, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 21 ctts: 5, ctts_index: 21, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 22 ctts: 2, ctts_index: 22, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 23 ctts: 0, ctts_index: 23, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 24 ctts: 1, ctts_index: 24, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 25 ctts: 5, ctts_index: 25, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 26 ctts: 2, ctts_index: 26, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 27 ctts: 0, ctts_index: 27, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 28 ctts: 1, ctts_index: 28, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 29 ctts: 5, ctts_index: 29, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 30 ctts: 2, ctts_index: 30, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 31 ctts: 0, ctts_index: 31, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 32 ctts: 1, ctts_index: 32, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 33 ctts: 5, ctts_index: 33, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 34 ctts: 2, ctts_index: 34, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 35 ctts: 0, ctts_index: 35, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 36 ctts: 1, ctts_index: 36, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 37 ctts: 5, ctts_index: 37, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 38 ctts: 2, ctts_index: 38, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 39 ctts: 0, ctts_index: 39, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 40 ctts: 1, ctts_index: 40, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 41 ctts: 5, ctts_index: 41, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 42 ctts: 2, ctts_index: 42, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 43 ctts: 0, ctts_index: 43, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 44 ctts: 1, ctts_index: 44, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 45 ctts: 5, ctts_index: 45, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 46 ctts: 2, ctts_index: 46, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 47 ctts: 0, ctts_index: 47, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 48 ctts: 1, ctts_index: 48, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 49 ctts: 5, ctts_index: 49, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 50 ctts: 2, ctts_index: 50, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 51 ctts: 0, ctts_index: 51, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 52 ctts: 1, ctts_index: 52, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 53 ctts: 5, ctts_index: 53, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 54 ctts: 2, ctts_index: 54, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 55 ctts: 0, ctts_index: 55, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 56 ctts: 1, ctts_index: 56, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 57 ctts: 5, ctts_index: 57, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 58 ctts: 2, ctts_index: 58, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 59 ctts: 0, ctts_index: 59, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 60 ctts: 1, ctts_index: 60, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 61 ctts: 5, ctts_index: 61, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 62 ctts: 2, ctts_index: 62, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 63 ctts: 0, ctts_index: 63, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 64 ctts: 1, ctts_index: 64, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 65 ctts: 5, ctts_index: 65, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 66 ctts: 2, ctts_index: 66, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 67 ctts: 0, ctts_index: 67, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 68 ctts: 1, ctts_index: 68, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 69 ctts: 5, ctts_index: 69, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 70 ctts: 2, ctts_index: 70, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 71 ctts: 0, ctts_index: 71, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 72 ctts: 1, ctts_index: 72, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 73 ctts: 5, ctts_index: 73, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 74 ctts: 2, ctts_index: 74, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 75 ctts: 0, ctts_index: 75, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 76 ctts: 1, ctts_index: 76, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 77 ctts: 5, ctts_index: 77, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 78 ctts: 2, ctts_index: 78, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 79 ctts: 0, ctts_index: 79, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 80 ctts: 1, ctts_index: 80, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 81 ctts: 5, ctts_index: 81, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 82 ctts: 2, ctts_index: 82, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 83 ctts: 0, ctts_index: 83, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 84 ctts: 1, ctts_index: 84, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 85 ctts: 5, ctts_index: 85, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 86 ctts: 2, ctts_index: 86, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 87 ctts: 0, ctts_index: 87, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 88 ctts: 1, ctts_index: 88, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 89 ctts: 5, ctts_index: 89, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 90 ctts: 2, ctts_index: 90, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 91 ctts: 0, ctts_index: 91, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 92 ctts: 1, ctts_index: 92, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 93 ctts: 5, ctts_index: 93, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 94 ctts: 2, ctts_index: 94, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 95 ctts: 0, ctts_index: 95, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 96 ctts: 1, ctts_index: 96, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 97 ctts: 5, ctts_index: 97, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 98 ctts: 2, ctts_index: 98, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 99 ctts: 0, ctts_index: 99, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 100 ctts: 1, ctts_index: 100, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 101 ctts: 5, ctts_index: 101, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 102 ctts: 2, ctts_index: 102, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 103 ctts: 0, ctts_index: 103, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 104 ctts: 1, ctts_index: 104, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 105 ctts: 5, ctts_index: 105, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 106 ctts: 2, ctts_index: 106, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 107 ctts: 0, ctts_index: 107, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 108 ctts: 1, ctts_index: 108, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 109 ctts: 5, ctts_index: 109, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 110 ctts: 2, ctts_index: 110, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 111 ctts: 0, ctts_index: 111, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 112 ctts: 1, ctts_index: 112, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 113 ctts: 5, ctts_index: 113, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 114 ctts: 2, ctts_index: 114, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 115 ctts: 0, ctts_index: 115, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 116 ctts: 1, ctts_index: 116, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 117 ctts: 5, ctts_index: 117, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 118 ctts: 2, ctts_index: 118, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 119 ctts: 0, ctts_index: 119, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 120 ctts: 1, ctts_index: 120, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 121 ctts: 2, ctts_index: 121, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 122 ctts: 2, ctts_index: 122, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 123 ctts: 3, ctts_index: 123, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 124 ctts: 1, ctts_index: 124, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] stts: 125 ctts: 2, ctts_index: 125, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] Offset DTS by 2 to make first pts zero. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] Setting codecpar->delay to 2 for stream st: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] Before avformat_find_stream_info() pos: 347569 bytes read:35189 seeks:1 nb_streams:1 [h264 @ 0x7ff9ea800600] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0x7ff9ea800600] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 0x7ff9ea800600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9ea800600] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9ea800600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9ea800600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9ea800600] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 0x7ff9ea800600] ct_type:0 pic_struct:3 [h264 @ 0x7ff9ea800600] Format yuv420p chosen by get_format(). [h264 @ 0x7ff9ea800600] Reinit context to 640x384, pix_fmt: yuv420p [h264 @ 0x7ff9ea800600] no picture [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff9e9800000] After avformat_find_stream_info() pos: 22623 bytes read:67957 seeks:2 frames:1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/h264/interlaced_crop.mp4': Metadata: major_brand : avc1 minor_version : 0 compatible_brands: isomavc1 creation_time : 2010-10-07T15:03:51.000000Z Duration: 00:00:05.04, start: 0.000000, bitrate: 551 kb/s Stream #0:0(und), 1, 1/25: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 547 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default) Metadata: creation_time : 2010-10-07T15:03:51.000000Z handler_name : GPAC ISO Video Handler Successfully opened the file. Parsing a group of options: output url /dev/null. Applying option an (disable audio) with argument 1. Applying option vf (set video filters) with argument crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1. Applying option f (force format) with argument mp4. Successfully parsed a group of options. Opening an output file: /dev/null. [file @ 0x7ff9e8417c80] Setting default whitelist 'file,crypto' Successfully opened the file. detected 8 logical cores [h264 @ 0x7ff9e8826200] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0x7ff9e8826200] nal_unit_type: 8(PPS), nal_ref_idc: 3 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native)) Press [q] to stop, [?] for help cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7ff9e8826200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8826200] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8826200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8826200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8826200] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 0x7ff9e8826200] ct_type:0 pic_struct:3 [h264 @ 0x7ff9e8826200] Format yuv420p chosen by get_format(). [h264 @ 0x7ff9e8826200] Reinit context to 640x384, pix_fmt: yuv420p [h264 @ 0x7ff9e8826200] no picture cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7ff9e8832000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8832000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8832000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7ff9e8832000] ct_type:0 pic_struct:3 [h264 @ 0x7ff9e8832000] no picture cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7ff9e8848400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8848400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8848400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7ff9e8848400] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7ff9e885e800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e885e800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e885e800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7ff9e885e800] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7ff9e8874c00] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8874c00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8874c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7ff9e8874c00] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7ff9e8875200] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8875200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8875200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7ff9e8875200] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7ff9e8875800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8875800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8875800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7ff9e8875800] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7ff9e8875e00] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8875e00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8875e00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7ff9e8875e00] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7ff9e8876400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8876400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8876400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7ff9e8876400] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7ff9e8826200] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8826200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8826200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7ff9e8826200] ct_type:0 pic_struct:3 [h264 @ 0x7ff9e8832000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8832000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8832000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7ff9e8832000] ct_type:0 pic_struct:3 [Parsed_crop_0 @ 0x7ff9e8450980] Setting 'x' to value 'print(1234000+n)*0' [Parsed_zoompan_1 @ 0x7ff9e8450d40] Setting 'd' to value '1' [Parsed_zoompan_1 @ 0x7ff9e8450d40] Setting 's' to value 'qhd' [Parsed_zoompan_1 @ 0x7ff9e8450d40] Setting 'zoom' to value 'print(2718000+in)*0+print(3142000+on)*0+1' [graph 0 input from stream 0:0 @ 0x7ff9ea005540] Setting 'video_size' to value '640x360' [graph 0 input from stream 0:0 @ 0x7ff9ea005540] Setting 'pix_fmt' to value '0' [graph 0 input from stream 0:0 @ 0x7ff9ea005540] Setting 'time_base' to value '1/25' [graph 0 input from stream 0:0 @ 0x7ff9ea005540] Setting 'pixel_aspect' to value '1/1' [graph 0 input from stream 0:0 @ 0x7ff9ea005540] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 0x7ff9ea005540] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 0:0 @ 0x7ff9ea005540] w:640 h:360 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2 [format @ 0x7ff9ea005f00] Setting 'pix_fmts' to value 'yuv420p' [AVFilterGraph @ 0x7ff9e8603ac0] query_formats: 6 queried, 5 merged, 0 already done, 0 delayed [Parsed_crop_0 @ 0x7ff9e8450980] w:640 h:360 sar:1/1 -> w:640 h:360 sar:1/1 1234000.000000 1234000.000000 2718002.000000 3142001.000000 [mpeg4 @ 0x7ff9e8821e00] intra_quant_bias = 0 inter_quant_bias = -64 Output #0, mp4, to '/dev/null': Metadata: major_brand : avc1 minor_version : 0 compatible_brands: isomavc1 encoder : Lavf58.17.100 Stream #0:0(und), 0, 1/12800: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 960x540 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc (default) Metadata: creation_time : 2010-10-07T15:03:51.000000Z handler_name : GPAC ISO Video Handler encoder : Lavc58.19.105 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Clipping frame in rate conversion by 0.000008 [h264 @ 0x7ff9e8848400] nal_unit_type: 9(AUD), nal_ref_idc: 0 1234001.000000 [h264 @ 0x7ff9e8848400] nal_unit_type: 6(SEI), nal_ref_idc: 0 1234001.000000 [h264 @ 0x7ff9e8848400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7ff9e8848400] ct_type:0 pic_struct:3 2718003.000000 3142002.000000 1234002.000000 [h264 @ 0x7ff9e885e800] nal_unit_type: 9(AUD), nal_ref_idc: 0 1234002.000000 [h264 @ 0x7ff9e885e800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e885e800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 2718004.000000 [h264 @ 0x7ff9e885e800] ct_type:0 pic_struct:3 3142003.000000 1234003.000000 1234003.000000 [h264 @ 0x7ff9e8874c00] nal_unit_type: 9(AUD), nal_ref_idc: 0 2718005.000000 [h264 @ 0x7ff9e8874c00] nal_unit_type: 6(SEI), nal_ref_idc: 0 3142004.000000 [h264 @ 0x7ff9e8874c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7ff9e8874c00] ct_type:0 pic_struct:3 1234004.000000 1234004.000000 [h264 @ 0x7ff9e8875200] nal_unit_type: 9(AUD), nal_ref_idc: 0 2718006.000000 [h264 @ 0x7ff9e8875200] nal_unit_type: 6(SEI), nal_ref_idc: 0 3142005.000000 [h264 @ 0x7ff9e8875200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7ff9e8875200] ct_type:0 pic_struct:3 1234005.000000 [h264 @ 0x7ff9e8875800] nal_unit_type: 9(AUD), nal_ref_idc: 0 1234005.000000 [h264 @ 0x7ff9e8875800] nal_unit_type: 6(SEI), nal_ref_idc: 0 2718007.000000 [h264 @ 0x7ff9e8875800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 3142006.000000 [h264 @ 0x7ff9e8875800] ct_type:0 pic_struct:3 1234006.000000 [h264 @ 0x7ff9e8875e00] nal_unit_type: 9(AUD), nal_ref_idc: 0 1234006.000000 [h264 @ 0x7ff9e8875e00] nal_unit_type: 6(SEI), nal_ref_idc: 0 2718008.000000 [h264 @ 0x7ff9e8875e00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 3142007.000000 [h264 @ 0x7ff9e8875e00] ct_type:0 pic_struct:3 1234007.000000 1234007.000000 [h264 @ 0x7ff9e8876400] nal_unit_type: 9(AUD), nal_ref_idc: 0 2718009.000000 [h264 @ 0x7ff9e8876400] nal_unit_type: 6(SEI), nal_ref_idc: 0 3142008.000000 [h264 @ 0x7ff9e8876400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7ff9e8876400] ct_type:0 pic_struct:3 [out_0_0 @ 0x7ff9ea005d40] EOF on sink link out_0_0:default. No more output streams to write to, finishing. [h264 @ 0x7ff9e8826200] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7ff9e8826200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7ff9e8826200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7ff9e8826200] ct_type:0 pic_struct:3 frame= 8 fps=0.0 q=12.1 Lsize= 107kB time=00:00:00.28 bitrate=3127.5kbits/s speed=5.03x video:106kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.837148% Input file #0 (fate-suite/h264/interlaced_crop.mp4): Input stream #0:0 (video): 19 packets read (54171 bytes); 10 frames decoded; Total: 19 packets (54171 bytes) demuxed Output file #0 (/dev/null): Output stream #0:0 (video): 8 frames encoded; 8 packets muxed (108583 bytes); Total: 8 packets (108583 bytes) muxed 10 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x7ff9e8417d80] Statistics: 2 seeks, 4 writeouts [AVIOContext @ 0x7ff9e85000c0] Statistics: 100725 bytes read, 2 seeks
[2] Same problem with *zoompan:in* and *zoompan:on* even if no other filters
ffmpeg started on 2018-06-02 at 23:41:59 Report written to "ffmpeg-20180602-234159.log" Command line: ./ffmpeg -report -v +repeat -to 0.3 -i fate-suite/h264/interlaced_crop.mp4 -an -vf "zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1" -f mp4 -y /dev/null ffmpeg version N-91206-g9827bb88e7 Copyright (c) 2000-2018 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --samples=fate-suite libavutil 56. 18.102 / 56. 18.102 libavcodec 58. 19.105 / 58. 19.105 libavformat 58. 17.100 / 58. 17.100 libavdevice 58. 4.100 / 58. 4.100 libavfilter 7. 24.100 / 7. 24.100 libswscale 5. 2.100 / 5. 2.100 libswresample 3. 2.100 / 3. 2.100 Splitting the commandline. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-v' ... matched as option 'v' (set logging level) with argument '+repeat'. Reading option '-to' ... matched as option 'to' (record or transcode stop time) with argument '0.3'. Reading option '-i' ... matched as input url with argument 'fate-suite/h264/interlaced_crop.mp4'. Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'. Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'. Reading option '/dev/null' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option report (generate a report) with argument 1. Applying option v (set logging level) with argument +repeat. Applying option y (overwrite output files) with argument 1. Successfully parsed a group of options. Parsing a group of options: input url fate-suite/h264/interlaced_crop.mp4. Applying option to (record or transcode stop time) with argument 0.3. Successfully parsed a group of options. Opening an input file: fate-suite/h264/interlaced_crop.mp4. [NULL @ 0x7fa7e9001000] Opening 'fate-suite/h264/interlaced_crop.mp4' for reading [file @ 0x7fa7e86005c0] Setting default whitelist 'file,crypto' [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] ISO: File Type Major Brand: avc1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] Processing st: 0, edit list 0 - media time: 2, duration: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 0 ctts: 2, ctts_index: 0, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 1 ctts: 5, ctts_index: 1, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 2 ctts: 2, ctts_index: 2, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 3 ctts: 0, ctts_index: 3, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 4 ctts: 1, ctts_index: 4, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 5 ctts: 5, ctts_index: 5, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 6 ctts: 2, ctts_index: 6, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 7 ctts: 0, ctts_index: 7, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 8 ctts: 1, ctts_index: 8, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 9 ctts: 5, ctts_index: 9, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 10 ctts: 2, ctts_index: 10, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 11 ctts: 0, ctts_index: 11, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 12 ctts: 1, ctts_index: 12, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 13 ctts: 5, ctts_index: 13, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 14 ctts: 2, ctts_index: 14, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 15 ctts: 0, ctts_index: 15, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 16 ctts: 1, ctts_index: 16, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 17 ctts: 5, ctts_index: 17, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 18 ctts: 2, ctts_index: 18, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 19 ctts: 0, ctts_index: 19, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 20 ctts: 1, ctts_index: 20, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 21 ctts: 5, ctts_index: 21, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 22 ctts: 2, ctts_index: 22, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 23 ctts: 0, ctts_index: 23, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 24 ctts: 1, ctts_index: 24, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 25 ctts: 5, ctts_index: 25, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 26 ctts: 2, ctts_index: 26, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 27 ctts: 0, ctts_index: 27, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 28 ctts: 1, ctts_index: 28, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 29 ctts: 5, ctts_index: 29, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 30 ctts: 2, ctts_index: 30, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 31 ctts: 0, ctts_index: 31, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 32 ctts: 1, ctts_index: 32, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 33 ctts: 5, ctts_index: 33, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 34 ctts: 2, ctts_index: 34, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 35 ctts: 0, ctts_index: 35, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 36 ctts: 1, ctts_index: 36, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 37 ctts: 5, ctts_index: 37, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 38 ctts: 2, ctts_index: 38, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 39 ctts: 0, ctts_index: 39, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 40 ctts: 1, ctts_index: 40, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 41 ctts: 5, ctts_index: 41, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 42 ctts: 2, ctts_index: 42, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 43 ctts: 0, ctts_index: 43, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 44 ctts: 1, ctts_index: 44, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 45 ctts: 5, ctts_index: 45, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 46 ctts: 2, ctts_index: 46, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 47 ctts: 0, ctts_index: 47, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 48 ctts: 1, ctts_index: 48, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 49 ctts: 5, ctts_index: 49, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 50 ctts: 2, ctts_index: 50, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 51 ctts: 0, ctts_index: 51, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 52 ctts: 1, ctts_index: 52, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 53 ctts: 5, ctts_index: 53, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 54 ctts: 2, ctts_index: 54, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 55 ctts: 0, ctts_index: 55, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 56 ctts: 1, ctts_index: 56, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 57 ctts: 5, ctts_index: 57, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 58 ctts: 2, ctts_index: 58, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 59 ctts: 0, ctts_index: 59, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 60 ctts: 1, ctts_index: 60, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 61 ctts: 5, ctts_index: 61, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 62 ctts: 2, ctts_index: 62, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 63 ctts: 0, ctts_index: 63, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 64 ctts: 1, ctts_index: 64, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 65 ctts: 5, ctts_index: 65, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 66 ctts: 2, ctts_index: 66, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 67 ctts: 0, ctts_index: 67, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 68 ctts: 1, ctts_index: 68, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 69 ctts: 5, ctts_index: 69, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 70 ctts: 2, ctts_index: 70, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 71 ctts: 0, ctts_index: 71, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 72 ctts: 1, ctts_index: 72, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 73 ctts: 5, ctts_index: 73, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 74 ctts: 2, ctts_index: 74, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 75 ctts: 0, ctts_index: 75, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 76 ctts: 1, ctts_index: 76, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 77 ctts: 5, ctts_index: 77, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 78 ctts: 2, ctts_index: 78, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 79 ctts: 0, ctts_index: 79, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 80 ctts: 1, ctts_index: 80, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 81 ctts: 5, ctts_index: 81, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 82 ctts: 2, ctts_index: 82, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 83 ctts: 0, ctts_index: 83, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 84 ctts: 1, ctts_index: 84, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 85 ctts: 5, ctts_index: 85, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 86 ctts: 2, ctts_index: 86, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 87 ctts: 0, ctts_index: 87, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 88 ctts: 1, ctts_index: 88, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 89 ctts: 5, ctts_index: 89, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 90 ctts: 2, ctts_index: 90, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 91 ctts: 0, ctts_index: 91, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 92 ctts: 1, ctts_index: 92, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 93 ctts: 5, ctts_index: 93, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 94 ctts: 2, ctts_index: 94, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 95 ctts: 0, ctts_index: 95, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 96 ctts: 1, ctts_index: 96, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 97 ctts: 5, ctts_index: 97, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 98 ctts: 2, ctts_index: 98, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 99 ctts: 0, ctts_index: 99, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 100 ctts: 1, ctts_index: 100, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 101 ctts: 5, ctts_index: 101, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 102 ctts: 2, ctts_index: 102, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 103 ctts: 0, ctts_index: 103, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 104 ctts: 1, ctts_index: 104, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 105 ctts: 5, ctts_index: 105, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 106 ctts: 2, ctts_index: 106, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 107 ctts: 0, ctts_index: 107, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 108 ctts: 1, ctts_index: 108, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 109 ctts: 5, ctts_index: 109, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 110 ctts: 2, ctts_index: 110, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 111 ctts: 0, ctts_index: 111, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 112 ctts: 1, ctts_index: 112, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 113 ctts: 5, ctts_index: 113, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 114 ctts: 2, ctts_index: 114, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 115 ctts: 0, ctts_index: 115, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 116 ctts: 1, ctts_index: 116, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 117 ctts: 5, ctts_index: 117, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 118 ctts: 2, ctts_index: 118, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 119 ctts: 0, ctts_index: 119, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 120 ctts: 1, ctts_index: 120, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 121 ctts: 2, ctts_index: 121, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 122 ctts: 2, ctts_index: 122, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 123 ctts: 3, ctts_index: 123, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 124 ctts: 1, ctts_index: 124, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] stts: 125 ctts: 2, ctts_index: 125, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] Offset DTS by 2 to make first pts zero. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] Setting codecpar->delay to 2 for stream st: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] Before avformat_find_stream_info() pos: 347569 bytes read:35189 seeks:1 nb_streams:1 [h264 @ 0x7fa7e8817800] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0x7fa7e8817800] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 0x7fa7e8817800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e8817800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e8817800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e8817800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e8817800] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 0x7fa7e8817800] ct_type:0 pic_struct:3 [h264 @ 0x7fa7e8817800] Format yuv420p chosen by get_format(). [h264 @ 0x7fa7e8817800] Reinit context to 640x384, pix_fmt: yuv420p [h264 @ 0x7fa7e8817800] no picture [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa7e9001000] After avformat_find_stream_info() pos: 22623 bytes read:67957 seeks:2 frames:1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/h264/interlaced_crop.mp4': Metadata: major_brand : avc1 minor_version : 0 compatible_brands: isomavc1 creation_time : 2010-10-07T15:03:51.000000Z Duration: 00:00:05.04, start: 0.000000, bitrate: 551 kb/s Stream #0:0(und), 1, 1/25: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 547 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default) Metadata: creation_time : 2010-10-07T15:03:51.000000Z handler_name : GPAC ISO Video Handler Successfully opened the file. Parsing a group of options: output url /dev/null. Applying option an (disable audio) with argument 1. Applying option vf (set video filters) with argument zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1. Applying option f (force format) with argument mp4. Successfully parsed a group of options. Opening an output file: /dev/null. [file @ 0x7fa7e8501580] Setting default whitelist 'file,crypto' Successfully opened the file. detected 8 logical cores [h264 @ 0x7fa7e9805600] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0x7fa7e9805600] nal_unit_type: 8(PPS), nal_ref_idc: 3 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native)) Press [q] to stop, [?] for help cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fa7e9805600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9805600] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e9805600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9805600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9805600] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 0x7fa7e9805600] ct_type:0 pic_struct:3 [h264 @ 0x7fa7e9805600] Format yuv420p chosen by get_format(). [h264 @ 0x7fa7e9805600] Reinit context to 640x384, pix_fmt: yuv420p [h264 @ 0x7fa7e9805600] no picture cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fa7e9811400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e9811400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9811400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fa7e9811400] ct_type:0 pic_struct:3 [h264 @ 0x7fa7e9811400] no picture cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fa7e9827800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e9827800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9827800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fa7e9827800] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fa7e983dc00] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e983dc00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e983dc00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fa7e983dc00] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fa7e9854000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e9854000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9854000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fa7e9854000] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fa7e986a400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e986a400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e986a400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fa7e986a400] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fa7e9880800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e9880800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9880800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fa7e9880800] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fa7e9896c00] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e9896c00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9896c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fa7e9896c00] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fa7e98ad000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e98ad000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e98ad000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fa7e98ad000] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fa7e9805600] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e9805600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9805600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fa7e9805600] ct_type:0 pic_struct:3 [h264 @ 0x7fa7e9811400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e9811400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9811400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fa7e9811400] ct_type:0 pic_struct:3 [Parsed_zoompan_0 @ 0x7fa7e853b040] Setting 'd' to value '1' [Parsed_zoompan_0 @ 0x7fa7e853b040] Setting 's' to value 'qhd' [Parsed_zoompan_0 @ 0x7fa7e853b040] Setting 'zoom' to value 'print(2718000+in)*0+print(3142000+on)*0+1' [graph 0 input from stream 0:0 @ 0x7fa7e853ae40] Setting 'video_size' to value '640x360' [graph 0 input from stream 0:0 @ 0x7fa7e853ae40] Setting 'pix_fmt' to value '0' [graph 0 input from stream 0:0 @ 0x7fa7e853ae40] Setting 'time_base' to value '1/25' [graph 0 input from stream 0:0 @ 0x7fa7e853ae40] Setting 'pixel_aspect' to value '1/1' [graph 0 input from stream 0:0 @ 0x7fa7e853ae40] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 0x7fa7e853ae40] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 0:0 @ 0x7fa7e853ae40] w:640 h:360 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2 [format @ 0x7fa7e853ba40] Setting 'pix_fmts' to value 'yuv420p' [AVFilterGraph @ 0x7fa7e853adc0] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed 2718002.000000 3142001.000000 [mpeg4 @ 0x7fa7e9801200] intra_quant_bias = 0 inter_quant_bias = -64 Output #0, mp4, to '/dev/null': Metadata: major_brand : avc1 minor_version : 0 compatible_brands: isomavc1 encoder : Lavf58.17.100 Stream #0:0(und), 0, 1/12800: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 960x540 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc (default) Metadata: creation_time : 2010-10-07T15:03:51.000000Z handler_name : GPAC ISO Video Handler encoder : Lavc58.19.105 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Clipping frame in rate conversion by 0.000008 [h264 @ 0x7fa7e9827800] nal_unit_type: 9(AUD), nal_ref_idc: 0 2718003.000000 [h264 @ 0x7fa7e9827800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9827800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 3142002.000000 [h264 @ 0x7fa7e9827800] ct_type:0 pic_struct:3 2718004.000000 [h264 @ 0x7fa7e983dc00] nal_unit_type: 9(AUD), nal_ref_idc: 0 3142003.000000 [h264 @ 0x7fa7e983dc00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e983dc00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fa7e983dc00] ct_type:0 pic_struct:3 2718005.000000 [h264 @ 0x7fa7e9854000] nal_unit_type: 9(AUD), nal_ref_idc: 0 3142004.000000 [h264 @ 0x7fa7e9854000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9854000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fa7e9854000] ct_type:0 pic_struct:3 [h264 @ 0x7fa7e986a400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e986a400] nal_unit_type: 6(SEI), nal_ref_idc: 0 2718006.000000 [h264 @ 0x7fa7e986a400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fa7e986a400] ct_type:0 pic_struct:3 3142005.000000 2718007.000000 3142006.000000 [h264 @ 0x7fa7e9880800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fa7e9880800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9880800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fa7e9880800] ct_type:0 pic_struct:3 2718008.000000 [h264 @ 0x7fa7e9896c00] nal_unit_type: 9(AUD), nal_ref_idc: 0 3142007.000000 [h264 @ 0x7fa7e9896c00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9896c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fa7e9896c00] ct_type:0 pic_struct:3 2718009.000000 [h264 @ 0x7fa7e98ad000] nal_unit_type: 9(AUD), nal_ref_idc: 0 3142008.000000 [h264 @ 0x7fa7e98ad000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e98ad000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fa7e98ad000] ct_type:0 pic_struct:3 [out_0_0 @ 0x7fa7e853b800] EOF on sink link out_0_0:default. [h264 @ 0x7fa7e9805600] nal_unit_type: 9(AUD), nal_ref_idc: 0 No more output streams to write to, finishing. [h264 @ 0x7fa7e9805600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fa7e9805600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fa7e9805600] ct_type:0 pic_struct:3 frame= 8 fps=0.0 q=12.1 Lsize= 107kB time=00:00:00.28 bitrate=3127.5kbits/s speed=7.68x video:106kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.837148% Input file #0 (fate-suite/h264/interlaced_crop.mp4): Input stream #0:0 (video): 19 packets read (54171 bytes); 10 frames decoded; Total: 19 packets (54171 bytes) demuxed Output file #0 (/dev/null): Output stream #0:0 (video): 8 frames encoded; 8 packets muxed (108583 bytes); Total: 8 packets (108583 bytes) muxed 10 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x7fa7e8501700] Statistics: 2 seeks, 4 writeouts [AVIOContext @ 0x7fa7e8600780] Statistics: 100725 bytes read, 2 seeks
Change History (9)
comment:1 by , 6 years ago
follow-up: 4 comment:2 by , 6 years ago
There is a bug of sorts with the value of in but the assignment logic of in and on is correct. They are meant to be cardinal values, measuring the amount fed in and fed. The n in crop, drawtext amd some other filters are ordinal values and represent the index which starts from 0.
comment:3 by , 6 years ago
I tried to read through the code and simulate it in my head. If you accept my claim that in and on should start at 0 instead of 1 and 2, then I think the fix is in libavfilter/vf_zoompan.c
, function activate()
, lines 252:317.
The variables appear to be set in lines 277:278:
s->var_values[VAR_IN] = inlink->frame_count_out + 1; s->var_values[VAR_ON] = outlink->frame_count_in + 1;
Removing the +1
from each expression would correct on to the ordinal value, and get in closer.
I think other discrepancy with the in value comes from this lines 277:278 being called after having called ff_inlink_consume_frame(inlink, &s->in))
in line 269.
if (!s->in && (ret = ff_inlink_consume_frame(inlink, &s->in)) > 0) { ...[omitted]... }
ff_inlink_consume_frame()
calls consume_update()
, which increments link->frame_count_out
. This is essentially:
out++; in = out;
when maybe the original intention was:
in = out++;
comment:4 by , 6 years ago
Replying to Gyan:
... the assignment logic of in and on is correct. They are meant to be cardinal values, measuring the amount fed in and fed. The n in crop, drawtext amd some other filters are ordinal values and represent the index which starts from 0.
Oh, ffmpeg project....
Where is this cardinal vs ordinal intention recorded? The documentation is vague. There's no comment in the code saying that these are to be cardinal. I don't see a compelling reason for this filter to be inconsistent, in using cardinal numbers where other filters use ordinal numbers.
That said, the ordinal vs cardinal distinction could be viewed as an interface commitment with users of the filter. Changing starting numbers from 1 to 0 could disrupt some users of the filter. I don't suppose we have much of a way of knowing how bad the disruption would be.
And, cardinal = ordinal + 1, so anyone who wants an ordinal value can easily calculate it from a cardinal value.
Certainly, it would be very desirable to state the ordinal or cardinal choice clearly in both the code and the docs.
comment:5 by , 6 years ago
IMHO, the docs do give the correct indication
For n in crop:
The number of the input frame, starting from 0.
number of the (singular noun) == serial number -> ordinal.
For in:
Input frame count.
count == measure -> cardinal.
---
Why the filter needs to expose count and not index is better left for the dev to answer.
comment:6 by , 6 years ago
I hope to hear what the dev has to say about exposing count and not index.
I see your point about the subtle connotations of "count" vs "number of the".
But my stance towards how this filter (and this project in general) communicates to humans reading its docs and its code is that it needs a lot more "how can we make this even better" than "how can we justify that what is there is arguably adequate".
comment:7 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in 983288538669f19df3b6f1e19b00488a5d2ec8bd.
comment:8 by , 6 years ago
Tested this fix with the same invocation as before, but this time on commit b737317a8813e671c00b8ac7023c47e48ffeb1c8 of the master branch.
./ffmpeg -report -v +repeat -to 0.3 -i fate-suite/h264/interlaced_crop.mp4 -an \ -vf "crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1" \ -f mp4 -y /dev/null ...[omitted here for brevity] ... 1234000.000000 1234000.000000 2718000.000000 3142000.000000 ...[omitted here for brevity] ...
Note that the values for n, in, and on, shown in the last three digits before the decimal point, are equal now, and start from 0. They differed before.
It would be good to also change the documentation to clarify these values. The documentation now reads:
- in
- Input frame count.
- on
- Output frame count.
I believe the documentation should change to read, using the language cited by Gyan from crop:
- in
- Input frame number (index), starting from 0.
- on
- Output frame number (index), starting from 0.
I may submit this patch, if no-one beats me to it.
The full report from the above invocation is:
ffmpeg started on 2018-10-29 at 20:15:58 Report written to "ffmpeg-20181029-201558.log" Command line: ./ffmpeg -report -v +repeat -to 0.3 -i fate-suite/h264/interlaced_crop.mp4 -an -vf "crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1" -f mp4 -y /dev/null ffmpeg version N-92232-gb737317a88 Copyright (c) 2000-2018 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --samples=fate-suite/ --enable-libfreetype --enable-libfontconfig --enable-libfribidi libavutil 56. 19.101 / 56. 19.101 libavcodec 58. 33.102 / 58. 33.102 libavformat 58. 19.101 / 58. 19.101 libavdevice 58. 4.105 / 58. 4.105 libavfilter 7. 36.100 / 7. 36.100 libswscale 5. 2.100 / 5. 2.100 libswresample 3. 2.100 / 3. 2.100 Splitting the commandline. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-v' ... matched as option 'v' (set logging level) with argument '+repeat'. Reading option '-to' ... matched as option 'to' (record or transcode stop time) with argument '0.3'. Reading option '-i' ... matched as input url with argument 'fate-suite/h264/interlaced_crop.mp4'. Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'. Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'. Reading option '/dev/null' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option report (generate a report) with argument 1. Applying option v (set logging level) with argument +repeat. Applying option y (overwrite output files) with argument 1. Successfully parsed a group of options. Parsing a group of options: input url fate-suite/h264/interlaced_crop.mp4. Applying option to (record or transcode stop time) with argument 0.3. Successfully parsed a group of options. Opening an input file: fate-suite/h264/interlaced_crop.mp4. [NULL @ 0x7fb80a000000] Opening 'fate-suite/h264/interlaced_crop.mp4' for reading [file @ 0x7fb808c005c0] Setting default whitelist 'file,crypto' [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] ISO: File Type Major Brand: avc1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] Processing st: 0, edit list 0 - media time: 2, duration: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 0 ctts: 2, ctts_index: 0, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 1 ctts: 5, ctts_index: 1, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 2 ctts: 2, ctts_index: 2, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 3 ctts: 0, ctts_index: 3, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 4 ctts: 1, ctts_index: 4, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 5 ctts: 5, ctts_index: 5, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 6 ctts: 2, ctts_index: 6, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 7 ctts: 0, ctts_index: 7, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 8 ctts: 1, ctts_index: 8, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 9 ctts: 5, ctts_index: 9, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 10 ctts: 2, ctts_index: 10, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 11 ctts: 0, ctts_index: 11, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 12 ctts: 1, ctts_index: 12, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 13 ctts: 5, ctts_index: 13, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 14 ctts: 2, ctts_index: 14, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 15 ctts: 0, ctts_index: 15, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 16 ctts: 1, ctts_index: 16, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 17 ctts: 5, ctts_index: 17, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 18 ctts: 2, ctts_index: 18, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 19 ctts: 0, ctts_index: 19, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 20 ctts: 1, ctts_index: 20, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 21 ctts: 5, ctts_index: 21, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 22 ctts: 2, ctts_index: 22, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 23 ctts: 0, ctts_index: 23, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 24 ctts: 1, ctts_index: 24, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 25 ctts: 5, ctts_index: 25, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 26 ctts: 2, ctts_index: 26, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 27 ctts: 0, ctts_index: 27, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 28 ctts: 1, ctts_index: 28, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 29 ctts: 5, ctts_index: 29, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 30 ctts: 2, ctts_index: 30, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 31 ctts: 0, ctts_index: 31, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 32 ctts: 1, ctts_index: 32, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 33 ctts: 5, ctts_index: 33, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 34 ctts: 2, ctts_index: 34, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 35 ctts: 0, ctts_index: 35, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 36 ctts: 1, ctts_index: 36, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 37 ctts: 5, ctts_index: 37, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 38 ctts: 2, ctts_index: 38, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 39 ctts: 0, ctts_index: 39, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 40 ctts: 1, ctts_index: 40, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 41 ctts: 5, ctts_index: 41, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 42 ctts: 2, ctts_index: 42, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 43 ctts: 0, ctts_index: 43, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 44 ctts: 1, ctts_index: 44, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 45 ctts: 5, ctts_index: 45, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 46 ctts: 2, ctts_index: 46, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 47 ctts: 0, ctts_index: 47, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 48 ctts: 1, ctts_index: 48, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 49 ctts: 5, ctts_index: 49, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 50 ctts: 2, ctts_index: 50, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 51 ctts: 0, ctts_index: 51, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 52 ctts: 1, ctts_index: 52, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 53 ctts: 5, ctts_index: 53, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 54 ctts: 2, ctts_index: 54, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 55 ctts: 0, ctts_index: 55, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 56 ctts: 1, ctts_index: 56, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 57 ctts: 5, ctts_index: 57, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 58 ctts: 2, ctts_index: 58, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 59 ctts: 0, ctts_index: 59, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 60 ctts: 1, ctts_index: 60, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 61 ctts: 5, ctts_index: 61, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 62 ctts: 2, ctts_index: 62, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 63 ctts: 0, ctts_index: 63, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 64 ctts: 1, ctts_index: 64, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 65 ctts: 5, ctts_index: 65, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 66 ctts: 2, ctts_index: 66, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 67 ctts: 0, ctts_index: 67, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 68 ctts: 1, ctts_index: 68, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 69 ctts: 5, ctts_index: 69, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 70 ctts: 2, ctts_index: 70, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 71 ctts: 0, ctts_index: 71, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 72 ctts: 1, ctts_index: 72, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 73 ctts: 5, ctts_index: 73, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 74 ctts: 2, ctts_index: 74, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 75 ctts: 0, ctts_index: 75, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 76 ctts: 1, ctts_index: 76, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 77 ctts: 5, ctts_index: 77, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 78 ctts: 2, ctts_index: 78, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 79 ctts: 0, ctts_index: 79, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 80 ctts: 1, ctts_index: 80, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 81 ctts: 5, ctts_index: 81, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 82 ctts: 2, ctts_index: 82, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 83 ctts: 0, ctts_index: 83, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 84 ctts: 1, ctts_index: 84, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 85 ctts: 5, ctts_index: 85, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 86 ctts: 2, ctts_index: 86, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 87 ctts: 0, ctts_index: 87, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 88 ctts: 1, ctts_index: 88, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 89 ctts: 5, ctts_index: 89, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 90 ctts: 2, ctts_index: 90, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 91 ctts: 0, ctts_index: 91, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 92 ctts: 1, ctts_index: 92, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 93 ctts: 5, ctts_index: 93, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 94 ctts: 2, ctts_index: 94, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 95 ctts: 0, ctts_index: 95, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 96 ctts: 1, ctts_index: 96, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 97 ctts: 5, ctts_index: 97, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 98 ctts: 2, ctts_index: 98, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 99 ctts: 0, ctts_index: 99, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 100 ctts: 1, ctts_index: 100, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 101 ctts: 5, ctts_index: 101, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 102 ctts: 2, ctts_index: 102, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 103 ctts: 0, ctts_index: 103, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 104 ctts: 1, ctts_index: 104, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 105 ctts: 5, ctts_index: 105, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 106 ctts: 2, ctts_index: 106, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 107 ctts: 0, ctts_index: 107, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 108 ctts: 1, ctts_index: 108, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 109 ctts: 5, ctts_index: 109, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 110 ctts: 2, ctts_index: 110, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 111 ctts: 0, ctts_index: 111, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 112 ctts: 1, ctts_index: 112, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 113 ctts: 5, ctts_index: 113, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 114 ctts: 2, ctts_index: 114, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 115 ctts: 0, ctts_index: 115, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 116 ctts: 1, ctts_index: 116, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 117 ctts: 5, ctts_index: 117, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 118 ctts: 2, ctts_index: 118, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 119 ctts: 0, ctts_index: 119, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 120 ctts: 1, ctts_index: 120, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 121 ctts: 2, ctts_index: 121, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 122 ctts: 2, ctts_index: 122, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 123 ctts: 3, ctts_index: 123, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 124 ctts: 1, ctts_index: 124, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] stts: 125 ctts: 2, ctts_index: 125, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] Offset DTS by 2 to make first pts zero. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] Setting codecpar->delay to 2 for stream st: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] Before avformat_find_stream_info() pos: 347569 bytes read:35189 seeks:1 nb_streams:1 [h264 @ 0x7fb809015600] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0x7fb809015600] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 0x7fb809015600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809015600] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb809015600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809015600] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809015600] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 0x7fb809015600] ct_type:0 pic_struct:3 [h264 @ 0x7fb809015600] Format yuv420p chosen by get_format(). [h264 @ 0x7fb809015600] Reinit context to 640x384, pix_fmt: yuv420p [h264 @ 0x7fb809015600] no picture [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb80a000000] After avformat_find_stream_info() pos: 22623 bytes read:67957 seeks:2 frames:1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/h264/interlaced_crop.mp4': Metadata: major_brand : avc1 minor_version : 0 compatible_brands: isomavc1 creation_time : 2010-10-07T15:03:51.000000Z Duration: 00:00:05.04, start: 0.000000, bitrate: 551 kb/s Stream #0:0(und), 1, 1/25: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 547 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default) Metadata: creation_time : 2010-10-07T15:03:51.000000Z handler_name : GPAC ISO Video Handler Successfully opened the file. Parsing a group of options: output url /dev/null. Applying option an (disable audio) with argument 1. Applying option vf (set video filters) with argument crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1. Applying option f (force format) with argument mp4. Successfully parsed a group of options. Opening an output file: /dev/null. [file @ 0x7fb808c02480] Setting default whitelist 'file,crypto' Successfully opened the file. detected 8 logical cores [h264 @ 0x7fb809012200] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0x7fb809012200] nal_unit_type: 8(PPS), nal_ref_idc: 3 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native)) Press [q] to stop, [?] for help cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fb809012200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809012200] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb809012200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809012200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809012200] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 0x7fb809012200] ct_type:0 pic_struct:3 [h264 @ 0x7fb809012200] Format yuv420p chosen by get_format(). [h264 @ 0x7fb809012200] Reinit context to 640x384, pix_fmt: yuv420p [h264 @ 0x7fb809012200] no picture cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fb809013800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb809013800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809013800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fb809013800] ct_type:0 pic_struct:3 [h264 @ 0x7fb809013800] no picture cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fb809013e00] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb809013e00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809013e00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fb809013e00] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fb809014400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb809014400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809014400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fb809014400] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fb809063000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb809063000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809063000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fb809063000] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fb80906c800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb80906c800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb80906c800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fb80906c800] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fb80906ce00] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb80906ce00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb80906ce00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fb80906ce00] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fb8090a5e00] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb8090a5e00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb8090a5e00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fb8090a5e00] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fb8090bc200] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb8090bc200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb8090bc200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fb8090bc200] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7fb809012200] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb809012200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809012200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fb809012200] ct_type:0 pic_struct:3 [h264 @ 0x7fb809013800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb809013800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809013800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fb809013800] ct_type:0 pic_struct:3 [Parsed_crop_0 @ 0x7fb808d16ec0] Setting 'x' to value 'print(1234000+n)*0' [Parsed_zoompan_1 @ 0x7fb808d173c0] Setting 'd' to value '1' [Parsed_zoompan_1 @ 0x7fb808d173c0] Setting 's' to value 'qhd' [Parsed_zoompan_1 @ 0x7fb808d173c0] Setting 'zoom' to value 'print(2718000+in)*0+print(3142000+on)*0+1' [graph 0 input from stream 0:0 @ 0x7fb808c3bd80] Setting 'video_size' to value '640x360' [graph 0 input from stream 0:0 @ 0x7fb808c3bd80] Setting 'pix_fmt' to value '0' [graph 0 input from stream 0:0 @ 0x7fb808c3bd80] Setting 'time_base' to value '1/25' [graph 0 input from stream 0:0 @ 0x7fb808c3bd80] Setting 'pixel_aspect' to value '1/1' [graph 0 input from stream 0:0 @ 0x7fb808c3bd80] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 0x7fb808c3bd80] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 0:0 @ 0x7fb808c3bd80] w:640 h:360 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2 [format @ 0x7fb808c3c740] Setting 'pix_fmts' to value 'yuv420p' [AVFilterGraph @ 0x7fb808f06040] query_formats: 6 queried, 5 merged, 0 already done, 0 delayed [Parsed_crop_0 @ 0x7fb808d16ec0] w:640 h:360 sar:1/1 -> w:640 h:360 sar:1/1 1234000.000000 1234000.000000 2718000.000000 3142000.000000 [mpeg4 @ 0x7fb80900de00] intra_quant_bias = 0 inter_quant_bias = -64 Output #0, mp4, to '/dev/null': Metadata: major_brand : avc1 minor_version : 0 compatible_brands: isomavc1 encoder : Lavf58.19.101 Stream #0:0(und), 0, 1/12800: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 960x540 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc (default) Metadata: creation_time : 2010-10-07T15:03:51.000000Z handler_name : GPAC ISO Video Handler encoder : Lavc58.33.102 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Clipping frame in rate conversion by 0.000008 1234001.000000 [h264 @ 0x7fb809013e00] nal_unit_type: 9(AUD), nal_ref_idc: 0 1234001.000000 [h264 @ 0x7fb809013e00] nal_unit_type: 6(SEI), nal_ref_idc: 0 2718001.000000 [h264 @ 0x7fb809013e00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 3142001.000000 [h264 @ 0x7fb809013e00] ct_type:0 pic_struct:3 1234002.000000 [h264 @ 0x7fb809014400] nal_unit_type: 9(AUD), nal_ref_idc: 0 1234002.000000 [h264 @ 0x7fb809014400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809014400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7fb809014400] ct_type:0 pic_struct:3 2718002.000000 3142002.000000 [h264 @ 0x7fb809063000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb809063000] nal_unit_type: 6(SEI), nal_ref_idc: 0 1234003.000000 [h264 @ 0x7fb809063000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fb809063000] ct_type:0 pic_struct:3 1234003.000000 2718003.000000 3142003.000000 1234004.000000 [h264 @ 0x7fb80906c800] nal_unit_type: 9(AUD), nal_ref_idc: 0 1234004.000000 [h264 @ 0x7fb80906c800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb80906c800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fb80906c800] ct_type:0 pic_struct:3 2718004.000000 3142004.000000 1234005.000000 1234005.000000 [h264 @ 0x7fb80906ce00] nal_unit_type: 9(AUD), nal_ref_idc: 0 2718005.000000 [h264 @ 0x7fb80906ce00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb80906ce00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 3142005.000000 [h264 @ 0x7fb80906ce00] ct_type:0 pic_struct:3 1234006.000000 1234006.000000 [h264 @ 0x7fb8090a5e00] nal_unit_type: 9(AUD), nal_ref_idc: 0 2718006.000000 [h264 @ 0x7fb8090a5e00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb8090a5e00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 3142006.000000 [h264 @ 0x7fb8090a5e00] ct_type:0 pic_struct:3 1234007.000000 [h264 @ 0x7fb8090bc200] nal_unit_type: 9(AUD), nal_ref_idc: 0 1234007.000000 [h264 @ 0x7fb8090bc200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb8090bc200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 2718007.000000 [h264 @ 0x7fb8090bc200] ct_type:0 pic_struct:3 3142007.000000 [out_0_0 @ 0x7fb808c3c500] EOF on sink link out_0_0:default. No more output streams to write to, finishing. [h264 @ 0x7fb809012200] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7fb809012200] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7fb809012200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7fb809012200] ct_type:0 pic_struct:3 frame= 8 fps=0.0 q=12.1 Lsize= 107kB time=00:00:00.28 bitrate=3127.8kbits/s speed=4.79x video:106kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.846357% Input file #0 (fate-suite/h264/interlaced_crop.mp4): Input stream #0:0 (video): 19 packets read (54171 bytes); 10 frames decoded; Total: 19 packets (54171 bytes) demuxed Output file #0 (/dev/null): Output stream #0:0 (video): 8 frames encoded; 8 packets muxed (108583 bytes); Total: 8 packets (108583 bytes) muxed 10 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x7fb808c02580] Statistics: 2 seeks, 4 writeouts [AVIOContext @ 0x7fb808c00680] Statistics: 100725 bytes read, 2 seeks
comment:9 by , 6 years ago
Tested with ffmpeg 4.1 as released by the FFmpeg project. The bug is fixed in version 4.1.
ffmpeg -report -v +repeat -to 0.3 -i fate-suite/h264/interlaced_crop.mp4 -an -vf "crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1" -f mp4 -y /dev/null ...[omitted here for brevity] ... 1234000.000000 1234000.000000 2718000.000000 3142000.000000 ...[omitted here for brevity] ...
Note that the values for n, in, and on, shown in the last three digits before the decimal point, are equal now, and start from 0. They differed before
The full ffmpeg report output (with the fate-suite path prefix deleted because it had my filesystem info in it) is:
ffmpeg started on 2019-01-09 at 20:04:54 Report written to "ffmpeg-20190109-200454.log" Command line: ffmpeg -report -v +repeat -to 0.3 -i fate-suite/h264/interlaced_crop.mp4 -an -vf "crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1" -f mp4 -y /dev/null ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid libavutil 56. 22.100 / 56. 22.100 libavcodec 58. 35.100 / 58. 35.100 libavformat 58. 20.100 / 58. 20.100 libavdevice 58. 5.100 / 58. 5.100 libavfilter 7. 40.101 / 7. 40.101 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 3.100 / 5. 3.100 libswresample 3. 3.100 / 3. 3.100 libpostproc 55. 3.100 / 55. 3.100 Splitting the commandline. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-v' ... matched as option 'v' (set logging level) with argument '+repeat'. Reading option '-to' ... matched as option 'to' (record or transcode stop time) with argument '0.3'. Reading option '-i' ... matched as input url with argument 'fate-suite/h264/interlaced_crop.mp4'. Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'. Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'. Reading option '/dev/null' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option report (generate a report) with argument 1. Applying option v (set logging level) with argument +repeat. Applying option y (overwrite output files) with argument 1. Successfully parsed a group of options. Parsing a group of options: input url fate-suite/h264/interlaced_crop.mp4. Applying option to (record or transcode stop time) with argument 0.3. Successfully parsed a group of options. Opening an input file: fate-suite/h264/interlaced_crop.mp4. [NULL @ 0x7f955d001800] Opening 'fate-suite/h264/interlaced_crop.mp4' for reading [file @ 0x7f955ae1cd80] Setting default whitelist 'file,crypto' [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] ISO: File Type Major Brand: avc1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] Processing st: 0, edit list 0 - media time: 2, duration: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 0 ctts: 2, ctts_index: 0, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 1 ctts: 5, ctts_index: 1, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 2 ctts: 2, ctts_index: 2, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 3 ctts: 0, ctts_index: 3, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 4 ctts: 1, ctts_index: 4, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 5 ctts: 5, ctts_index: 5, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 6 ctts: 2, ctts_index: 6, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 7 ctts: 0, ctts_index: 7, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 8 ctts: 1, ctts_index: 8, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 9 ctts: 5, ctts_index: 9, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 10 ctts: 2, ctts_index: 10, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 11 ctts: 0, ctts_index: 11, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 12 ctts: 1, ctts_index: 12, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 13 ctts: 5, ctts_index: 13, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 14 ctts: 2, ctts_index: 14, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 15 ctts: 0, ctts_index: 15, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 16 ctts: 1, ctts_index: 16, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 17 ctts: 5, ctts_index: 17, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 18 ctts: 2, ctts_index: 18, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 19 ctts: 0, ctts_index: 19, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 20 ctts: 1, ctts_index: 20, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 21 ctts: 5, ctts_index: 21, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 22 ctts: 2, ctts_index: 22, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 23 ctts: 0, ctts_index: 23, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 24 ctts: 1, ctts_index: 24, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 25 ctts: 5, ctts_index: 25, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 26 ctts: 2, ctts_index: 26, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 27 ctts: 0, ctts_index: 27, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 28 ctts: 1, ctts_index: 28, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 29 ctts: 5, ctts_index: 29, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 30 ctts: 2, ctts_index: 30, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 31 ctts: 0, ctts_index: 31, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 32 ctts: 1, ctts_index: 32, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 33 ctts: 5, ctts_index: 33, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 34 ctts: 2, ctts_index: 34, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 35 ctts: 0, ctts_index: 35, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 36 ctts: 1, ctts_index: 36, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 37 ctts: 5, ctts_index: 37, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 38 ctts: 2, ctts_index: 38, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 39 ctts: 0, ctts_index: 39, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 40 ctts: 1, ctts_index: 40, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 41 ctts: 5, ctts_index: 41, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 42 ctts: 2, ctts_index: 42, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 43 ctts: 0, ctts_index: 43, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 44 ctts: 1, ctts_index: 44, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 45 ctts: 5, ctts_index: 45, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 46 ctts: 2, ctts_index: 46, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 47 ctts: 0, ctts_index: 47, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 48 ctts: 1, ctts_index: 48, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 49 ctts: 5, ctts_index: 49, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 50 ctts: 2, ctts_index: 50, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 51 ctts: 0, ctts_index: 51, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 52 ctts: 1, ctts_index: 52, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 53 ctts: 5, ctts_index: 53, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 54 ctts: 2, ctts_index: 54, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 55 ctts: 0, ctts_index: 55, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 56 ctts: 1, ctts_index: 56, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 57 ctts: 5, ctts_index: 57, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 58 ctts: 2, ctts_index: 58, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 59 ctts: 0, ctts_index: 59, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 60 ctts: 1, ctts_index: 60, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 61 ctts: 5, ctts_index: 61, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 62 ctts: 2, ctts_index: 62, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 63 ctts: 0, ctts_index: 63, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 64 ctts: 1, ctts_index: 64, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 65 ctts: 5, ctts_index: 65, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 66 ctts: 2, ctts_index: 66, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 67 ctts: 0, ctts_index: 67, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 68 ctts: 1, ctts_index: 68, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 69 ctts: 5, ctts_index: 69, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 70 ctts: 2, ctts_index: 70, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 71 ctts: 0, ctts_index: 71, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 72 ctts: 1, ctts_index: 72, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 73 ctts: 5, ctts_index: 73, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 74 ctts: 2, ctts_index: 74, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 75 ctts: 0, ctts_index: 75, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 76 ctts: 1, ctts_index: 76, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 77 ctts: 5, ctts_index: 77, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 78 ctts: 2, ctts_index: 78, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 79 ctts: 0, ctts_index: 79, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 80 ctts: 1, ctts_index: 80, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 81 ctts: 5, ctts_index: 81, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 82 ctts: 2, ctts_index: 82, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 83 ctts: 0, ctts_index: 83, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 84 ctts: 1, ctts_index: 84, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 85 ctts: 5, ctts_index: 85, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 86 ctts: 2, ctts_index: 86, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 87 ctts: 0, ctts_index: 87, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 88 ctts: 1, ctts_index: 88, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 89 ctts: 5, ctts_index: 89, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 90 ctts: 2, ctts_index: 90, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 91 ctts: 0, ctts_index: 91, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 92 ctts: 1, ctts_index: 92, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 93 ctts: 5, ctts_index: 93, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 94 ctts: 2, ctts_index: 94, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 95 ctts: 0, ctts_index: 95, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 96 ctts: 1, ctts_index: 96, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 97 ctts: 5, ctts_index: 97, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 98 ctts: 2, ctts_index: 98, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 99 ctts: 0, ctts_index: 99, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 100 ctts: 1, ctts_index: 100, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 101 ctts: 5, ctts_index: 101, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 102 ctts: 2, ctts_index: 102, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 103 ctts: 0, ctts_index: 103, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 104 ctts: 1, ctts_index: 104, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 105 ctts: 5, ctts_index: 105, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 106 ctts: 2, ctts_index: 106, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 107 ctts: 0, ctts_index: 107, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 108 ctts: 1, ctts_index: 108, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 109 ctts: 5, ctts_index: 109, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 110 ctts: 2, ctts_index: 110, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 111 ctts: 0, ctts_index: 111, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 112 ctts: 1, ctts_index: 112, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 113 ctts: 5, ctts_index: 113, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 114 ctts: 2, ctts_index: 114, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 115 ctts: 0, ctts_index: 115, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 116 ctts: 1, ctts_index: 116, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 117 ctts: 5, ctts_index: 117, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 118 ctts: 2, ctts_index: 118, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 119 ctts: 0, ctts_index: 119, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 120 ctts: 1, ctts_index: 120, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 121 ctts: 2, ctts_index: 121, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 122 ctts: 2, ctts_index: 122, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 123 ctts: 3, ctts_index: 123, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 124 ctts: 1, ctts_index: 124, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] stts: 125 ctts: 2, ctts_index: 125, ctts_count: 126 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] Offset DTS by 2 to make first pts zero. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] Setting codecpar->delay to 2 for stream st: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] Before avformat_find_stream_info() pos: 347569 bytes read:35189 seeks:1 nb_streams:1 [h264 @ 0x7f955b800000] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0x7f955b800000] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 0x7f955b800000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b800000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b800000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b800000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b800000] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 0x7f955b800000] ct_type:0 pic_struct:3 [h264 @ 0x7f955b800000] Format yuv420p chosen by get_format(). [h264 @ 0x7f955b800000] Reinit context to 640x384, pix_fmt: yuv420p [h264 @ 0x7f955b800000] no picture [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f955d001800] After avformat_find_stream_info() pos: 22623 bytes read:67957 seeks:2 frames:1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/h264/interlaced_crop.mp4': Metadata: major_brand : avc1 minor_version : 0 compatible_brands: isomavc1 creation_time : 2010-10-07T15:03:51.000000Z Duration: 00:00:05.04, start: 0.000000, bitrate: 551 kb/s Stream #0:0(und), 1, 1/25: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 547 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default) Metadata: creation_time : 2010-10-07T15:03:51.000000Z handler_name : GPAC ISO Video Handler Successfully opened the file. Parsing a group of options: output url /dev/null. Applying option an (disable audio) with argument 1. Applying option vf (set video filters) with argument crop=x=print(1234000+n)*0,zoompan=d=1:s=qhd:zoom=print(2718000+in)*0+print(3142000+on)*0+1. Applying option f (force format) with argument mp4. Successfully parsed a group of options. Opening an output file: /dev/null. [file @ 0x7f955ad025c0] Setting default whitelist 'file,crypto' Successfully opened the file. detected 8 logical cores [h264 @ 0x7f955b806400] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0x7f955b806400] nal_unit_type: 8(PPS), nal_ref_idc: 3 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Press [q] to stop, [?] for help cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955b806400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b806400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b806400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b806400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b806400] nal_unit_type: 5(IDR), nal_ref_idc: 3 [h264 @ 0x7f955b806400] ct_type:0 pic_struct:3 [h264 @ 0x7f955b806400] Format yuv420p chosen by get_format(). [h264 @ 0x7f955b806400] Reinit context to 640x384, pix_fmt: yuv420p [h264 @ 0x7f955b806400] no picture cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955b825800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b825800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b825800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7f955b825800] ct_type:0 pic_struct:3 [h264 @ 0x7f955b825800] no picture cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955b83bc00] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b83bc00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b83bc00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7f955b83bc00] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955d003000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955d003000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955d003000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7f955d003000] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955b008000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b008000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b008000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7f955b008000] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955b01e400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b01e400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b01e400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7f955b01e400] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955b034800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b034800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b034800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7f955b034800] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955b04ac00] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b04ac00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b04ac00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7f955b04ac00] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955b852000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b852000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b852000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7f955b852000] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955b806400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b806400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b806400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7f955b806400] ct_type:0 pic_struct:3 [h264 @ 0x7f955b825800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b825800] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b825800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7f955b825800] ct_type:0 pic_struct:3 [Parsed_crop_0 @ 0x7f955ac18c40] Setting 'x' to value 'print(1234000+n)*0' [Parsed_zoompan_1 @ 0x7f955ca01b00] Setting 'd' to value '1' [Parsed_zoompan_1 @ 0x7f955ca01b00] Setting 's' to value 'qhd' [Parsed_zoompan_1 @ 0x7f955ca01b00] Setting 'zoom' to value 'print(2718000+in)*0+print(3142000+on)*0+1' [graph 0 input from stream 0:0 @ 0x7f955c90a680] Setting 'video_size' to value '640x360' [graph 0 input from stream 0:0 @ 0x7f955c90a680] Setting 'pix_fmt' to value '0' [graph 0 input from stream 0:0 @ 0x7f955c90a680] Setting 'time_base' to value '1/25' [graph 0 input from stream 0:0 @ 0x7f955c90a680] Setting 'pixel_aspect' to value '1/1' [graph 0 input from stream 0:0 @ 0x7f955c90a680] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 0x7f955c90a680] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 0:0 @ 0x7f955c90a680] w:640 h:360 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2 [format @ 0x7f955c90afc0] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21' [AVFilterGraph @ 0x7f955c816440] query_formats: 6 queried, 5 merged, 0 already done, 0 delayed [Parsed_crop_0 @ 0x7f955ac18c40] w:640 h:360 sar:1/1 -> w:640 h:360 sar:1/1 1234000.000000 1234000.000000 2718000.000000 3142000.000000 [libx264 @ 0x7f955b804600] using mv_range_thread = 24 [libx264 @ 0x7f955b804600] using SAR=1/1 [libx264 @ 0x7f955b804600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x7f955b804600] profile High, level 3.1 [libx264 @ 0x7f955b804600] 264 - core 152 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 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=2 keyint=250 keyint_min=25 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 '/dev/null': Metadata: major_brand : avc1 minor_version : 0 compatible_brands: isomavc1 encoder : Lavf58.20.100 Stream #0:0(und), 0, 1/12800: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 960x540 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default) Metadata: creation_time : 2010-10-07T15:03:51.000000Z handler_name : GPAC ISO Video Handler encoder : Lavc58.35.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Clipping frame in rate conversion by 0.000008 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955b83bc00] nal_unit_type: 9(AUD), nal_ref_idc: 0 1234001.000000 [h264 @ 0x7f955b83bc00] nal_unit_type: 6(SEI), nal_ref_idc: 0 1234001.000000 [h264 @ 0x7f955b83bc00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 [h264 @ 0x7f955b83bc00] ct_type:0 pic_struct:3 2718001.000000 3142001.000000 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0x7f955d003000] nal_unit_type: 9(AUD), nal_ref_idc: 0 1234002.000000 [h264 @ 0x7f955d003000] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955d003000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 1234002.000000 [h264 @ 0x7f955d003000] ct_type:0 pic_struct:3 2718002.000000 3142002.000000 cur_dts is invalid (this is harmless if it occurs once at the start per stream) 1234003.000000 1234003.000000 [h264 @ 0x7f955b008000] nal_unit_type: 9(AUD), nal_ref_idc: 0 2718003.000000 [h264 @ 0x7f955b008000] nal_unit_type: 6(SEI), nal_ref_idc: 0 3142003.000000 [h264 @ 0x7f955b008000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7f955b008000] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) 1234004.000000 1234004.000000 [h264 @ 0x7f955b01e400] nal_unit_type: 9(AUD), nal_ref_idc: 0 2718004.000000 [h264 @ 0x7f955b01e400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f955b01e400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 3142004.000000 [h264 @ 0x7f955b01e400] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) 1234005.000000 1234005.000000 [h264 @ 0x7f955b034800] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b034800] nal_unit_type: 6(SEI), nal_ref_idc: 0 2718005.000000 [h264 @ 0x7f955b034800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 3142005.000000 [h264 @ 0x7f955b034800] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) 1234006.000000 1234006.000000 [h264 @ 0x7f955b04ac00] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b04ac00] nal_unit_type: 6(SEI), nal_ref_idc: 0 2718006.000000 [h264 @ 0x7f955b04ac00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0 3142006.000000 [h264 @ 0x7f955b04ac00] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) 1234007.000000 1234007.000000 [h264 @ 0x7f955b852000] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b852000] nal_unit_type: 6(SEI), nal_ref_idc: 0 2718007.000000 [h264 @ 0x7f955b852000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 3142007.000000 [h264 @ 0x7f955b852000] ct_type:0 pic_struct:3 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [out_0_0 @ 0x7f955c90ae00] EOF on sink link out_0_0:default. [h264 @ 0x7f955b806400] nal_unit_type: 9(AUD), nal_ref_idc: 0 [h264 @ 0x7f955b806400] nal_unit_type: 6(SEI), nal_ref_idc: 0 No more output streams to write to, finishing. [h264 @ 0x7f955b806400] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2 [h264 @ 0x7f955b806400] ct_type:0 pic_struct:3 [libx264 @ 0x7f955b804600] frame= 0 QP=23.13 NAL=3 Slice:I Poc:0 I:2040 P:0 SKIP:0 size=27396 bytes [libx264 @ 0x7f955b804600] frame= 1 QP=24.34 NAL=2 Slice:P Poc:8 I:89 P:1325 SKIP:626 size=5798 bytes [libx264 @ 0x7f955b804600] frame= 2 QP=25.01 NAL=2 Slice:B Poc:4 I:7 P:978 SKIP:1020 size=2607 bytes [libx264 @ 0x7f955b804600] frame= 3 QP=26.49 NAL=0 Slice:B Poc:2 I:2 P:976 SKIP:1051 size=1713 bytes [libx264 @ 0x7f955b804600] frame= 4 QP=26.45 NAL=0 Slice:B Poc:6 I:1 P:626 SKIP:1409 size=1197 bytes [libx264 @ 0x7f955b804600] frame= 5 QP=26.45 NAL=2 Slice:P Poc:14 I:48 P:1252 SKIP:740 size=3405 bytes [libx264 @ 0x7f955b804600] frame= 6 QP=26.16 NAL=2 Slice:B Poc:10 I:0 P:1001 SKIP:1013 size=2551 bytes [libx264 @ 0x7f955b804600] frame= 7 QP=26.65 NAL=0 Slice:B Poc:12 I:3 P:1039 SKIP:994 size=2060 bytes frame= 8 fps=0.0 q=-1.0 Lsize= 47kB time=00:00:00.20 bitrate=1933.4kbits/s speed=1.21x video:46kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.006202% Input file #0 (fate-suite/h264/interlaced_crop.mp4): Input stream #0:0 (video): 19 packets read (54171 bytes); 10 frames decoded; Total: 19 packets (54171 bytes) demuxed Output file #0 (/dev/null): Output stream #0:0 (video): 8 frames encoded; 8 packets muxed (47403 bytes); Total: 8 packets (47403 bytes) muxed 10 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x7f955ad02640] Statistics: 2 seeks, 4 writeouts [libx264 @ 0x7f955b804600] frame I:1 Avg QP:23.13 size: 27396 [libx264 @ 0x7f955b804600] frame P:2 Avg QP:25.39 size: 4602 [libx264 @ 0x7f955b804600] frame B:5 Avg QP:26.15 size: 2026 [libx264 @ 0x7f955b804600] consecutive B-frames: 12.5% 0.0% 37.5% 50.0% [libx264 @ 0x7f955b804600] mb I I16..4: 12.5% 64.2% 23.3% [libx264 @ 0x7f955b804600] mb P I16..4: 1.9% 1.4% 0.0% P16..4: 46.4% 11.4% 5.3% 0.0% 0.0% skip:33.5% [libx264 @ 0x7f955b804600] mb B I16..4: 0.1% 0.0% 0.0% B16..8: 41.6% 2.7% 0.3% direct: 1.5% skip:53.8% L0:49.7% L1:46.0% BI: 4.3% [libx264 @ 0x7f955b804600] 8x8 transform intra:62.6% inter:85.7% [libx264 @ 0x7f955b804600] coded y,uvDC,uvAC intra: 61.4% 59.7% 19.1% inter: 7.4% 8.3% 0.2% [libx264 @ 0x7f955b804600] i16 v,h,dc,p: 24% 46% 16% 15% [libx264 @ 0x7f955b804600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 29% 14% 3% 5% 6% 5% 4% 8% [libx264 @ 0x7f955b804600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 39% 8% 3% 6% 6% 6% 3% 7% [libx264 @ 0x7f955b804600] i8c dc,h,v,p: 45% 35% 16% 4% [libx264 @ 0x7f955b804600] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x7f955b804600] ref P L0: 75.4% 2.1% 20.9% 1.6% [libx264 @ 0x7f955b804600] ref B L0: 88.3% 11.1% 0.6% [libx264 @ 0x7f955b804600] ref B L1: 96.9% 3.1% [libx264 @ 0x7f955b804600] kb/s:1168.18 [AVIOContext @ 0x7f955ae1cf40] Statistics: 100725 bytes read, 2 seeks
This behaviour was discussed on ffmpeg-user list thread Zoompan filter, frame counts seem to start from 2 and 1, not 0 -- expected behaviour?
Gyan Doshi's comment: "This change occurred when zoompan switched to activate in
2ce43274e39295e3965c51dcfaf802628a5929f9". I think that means this diff of libavformat/vf_zoompan.c.