# Pastebin istJG6ae PS D:\Videos\AMV\Touhou> ffmpeg -threads 2 -f image2 -framerate 30 -i .\new_frames\%06d.png -i audio.aac -r 30 -vcodec libx264 -crf 18 -tune animation -preset veryslow -x264opts keyint=300:min-keyint=30:b-pyramid=1:chroma-qp-offset=12:me=esa:merange=24:mixed-refs=1:no-chroma-me=1:8x8dct=1:no-fast-pskip=1 -copytb 0 '.\【東方】Bad Apple!! PV【影絵】-sm8628149 - 3k Upscale.mp4' ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, image2, from '.\new_frames\%06d.png': Duration: 00:03:39.07, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgb24(pc), 2566x1924, 30 fps, 30 tbr, 30 tbn, 30 tbc [aac @ 00000000006fe9e0] Estimating duration from bitrate, this may be inaccurate Input #1, aac, from 'audio.aac': Duration: 00:40:16.25, bitrate: 9 kb/s Stream #1:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 9 kb/s File '.\πÇɵ¥▒µû╣πÇæBad Apple!!πÇÇ∩╝░∩╝╢πÇÉσ╜▒τ╡╡πÇæ-sm8628149 - 3k Upscale.mp4' already exists. Overwrite ? [y/N] y No pixel format specified, yuv444p for H.264 encoding chosen. Use -pix_fmt yuv420p for compatibility with outdated media players. [libx264 @ 0000000001da24e0] DPB size (16 frames, 311696 mbs) > level limit (9 frames, 184320 mbs) [libx264 @ 0000000001da24e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 0000000001da24e0] profile High 4:4:4 Predictive, level 5.2, 4:4:4 8-bit [libx264 @ 0000000001da24e0] 264 - core 148 r2744 b97ae06 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=16 deblock=1:1:1 analyse=0x3:0x133 me=esa subme=10 psy=1 psy_rd=0.40:0.00 mixed_ref=1 me_range=24 chroma_me=0 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=12 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=10 b_pyramid=1 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=300 keyint_min=30 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:0.60 Output #0, mp4, to '.\πÇɵ¥▒µû╣πÇæBad Apple!!πÇÇ∩╝░∩╝╢πÇÉσ╜▒τ╡╡πÇæ-sm8628149 - 3k Upscale.mp4': Metadata: encoder : Lavf57.61.100 Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 2566x1924, q=-1--1, 30 fps, 15360 tbn, 30 tbc Metadata: encoder : Lavc57.68.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s Metadata: encoder : Lavc57.68.100 aac Stream mapping: Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) Stream #1:0 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [aac @ 0000000001da43c0] Queue input is backward in time.23 bitrate= 54.3kbits/s speed=0.106x [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55294, current: 0; changing to 55295. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55295, current: 1024; changing to 55296. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55296, current: 2048; changing to 55297. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55297, current: 3072; changing to 55298. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55298, current: 4096; changing to 55299. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55299, current: 5120; changing to 55300. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55300, current: 6144; changing to 55301. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55301, current: 7168; changing to 55302. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55302, current: 8192; changing to 55303. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55303, current: 9216; changing to 55304. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55304, current: 10240; changing to 55305. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55305, current: 11264; changing to 55306. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55306, current: 12288; changing to 55307. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55307, current: 13312; changing to 55308. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55308, current: 14336; changing to 55309. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55309, current: 15360; changing to 55310. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55310, current: 16384; changing to 55311. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55311, current: 17408; changing to 55312. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55312, current: 18432; changing to 55313. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55313, current: 19456; changing to 55314. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55314, current: 20480; changing to 55315. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55315, current: 21504; changing to 55316. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55316, current: 22528; changing to 55317. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55317, current: 23552; changing to 55318. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55318, current: 24576; changing to 55319. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55319, current: 25600; changing to 55320. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55320, current: 26624; changing to 55321. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55321, current: 27648; changing to 55322. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55322, current: 28672; changing to 55323. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55323, current: 29696; changing to 55324. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55324, current: 30720; changing to 55325. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55325, current: 31744; changing to 55326. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55326, current: 32768; changing to 55327. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55327, current: 33792; changing to 55328. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55328, current: 34816; changing to 55329. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55329, current: 35840; changing to 55330. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55330, current: 36864; changing to 55331. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55331, current: 37888; changing to 55332. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55332, current: 38912; changing to 55333. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55333, current: 39936; changing to 55334. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55334, current: 40960; changing to 55335. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55335, current: 41984; changing to 55336. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55336, current: 43008; changing to 55337. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55337, current: 44032; changing to 55338. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55338, current: 45056; changing to 55339. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55339, current: 46080; changing to 55340. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55340, current: 47104; changing to 55341. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55341, current: 48128; changing to 55342. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55342, current: 49152; changing to 55343. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55343, current: 50176; changing to 55344. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55344, current: 51200; changing to 55345. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55345, current: 52224; changing to 55346. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55346, current: 53248; changing to 55347. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55347, current: 54272; changing to 55348. This may result in incorrect timestamps in the output file. [mp4 @ 000000000066f640] Non-monotonous DTS in output stream 0:1; previous: 55348, current: 55296; changing to 55349. This may result in incorrect timestamps in the output file. frame= 180 fps=6.3 q=-1.0 Lsize= 1140kB time=00:00:05.90 bitrate=1582.7kbits/s speed=0.205x video:1079kB audio:56kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.502846% [libx264 @ 0000000001da24e0] frame I:1 Avg QP: 9.00 size: 1127 [libx264 @ 0000000001da24e0] frame P:52 Avg QP:23.57 size: 8097 [libx264 @ 0000000001da24e0] frame B:127 Avg QP:23.65 size: 5368 [libx264 @ 0000000001da24e0] consecutive B-frames: 8.3% 7.8% 13.3% 26.7% 16.7% 3.3% 0.0% 0.0% 0.0% 5.6% 18.3% [libx264 @ 0000000001da24e0] mb I I16..4: 0.0% 100.0% 0.0% [libx264 @ 0000000001da24e0] mb P I16..4: 0.4% 3.5% 0.6% P16..4: 0.8% 0.5% 0.3% 0.1% 0.0% skip:93.7% [libx264 @ 0000000001da24e0] mb B I16..4: 0.0% 0.1% 0.1% B16..8: 2.5% 0.9% 0.2% direct: 0.1% skip:96.2% L0:54.1% L1:41.1% BI: 4.8% [libx264 @ 0000000001da24e0] 8x8 transform intra:79.5% inter:24.9% [libx264 @ 0000000001da24e0] direct mvs spatial:84.3% temporal:15.7% [libx264 @ 0000000001da24e0] coded y,u,v intra: 16.6% 0.0% 0.0% inter: 0.7% 0.0% 0.0% [libx264 @ 0000000001da24e0] i16 v,h,dc,p: 66% 6% 2% 26% [libx264 @ 0000000001da24e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 3% 69% 1% 1% 2% 0% 2% 0% [libx264 @ 0000000001da24e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 7% 30% 3% 4% 8% 2% 5% 1% [libx264 @ 0000000001da24e0] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0000000001da24e0] ref P L0: 61.1% 3.4% 11.7% 5.1% 3.3% 1.9% 1.6% 1.0% 1.1% 1.3% 1.4% 1.4% 1.5% 2.3% 1.7% 0.2% [libx264 @ 0000000001da24e0] ref B L0: 80.2% 9.6% 3.2% 1.6% 1.0% 0.7% 0.5% 0.4% 0.5% 0.4% 0.5% 0.4% 0.5% 0.6% [libx264 @ 0000000001da24e0] ref B L1: 96.6% 3.4% [libx264 @ 0000000001da24e0] kb/s:1471.80 [aac @ 0000000001da43c0] Qavg: 18808.334