#7242: zoompan filter variables 'in' and 'on' start at 2, 1 instead of at 0 ------------------------------------+------------------------------------ Reporter: jdlh | Owner: Type: defect | Status: closed Priority: normal | Component: avfilter Version: git-master | Resolution: fixed Keywords: zoompan | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------
Comment (by jdlh): 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 }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/7242#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://ffmpeg.org/mailman/listinfo/ffmpeg-trac