Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output video corrupted/missing parts #97

Open
bugale opened this issue Aug 5, 2022 · 5 comments
Open

Output video corrupted/missing parts #97

bugale opened this issue Aug 5, 2022 · 5 comments

Comments

@bugale
Copy link

bugale commented Aug 5, 2022

Hi, I am using Anime4KCPP CLI to convert 1080P anime to 4K. Most of the times it works, but I encountered at least one specific case, in which all files consistently gets "corrupted", or at least miss some parts of the video. The resulting video gets stuck at some points during playback, but even ffmpeg that is called from Anime4KCPP shows a problem with the video stream:

Welcome to Anime4KCPP
----------------------------------------------
Checking ffmpeg...
ffmpeg version 5.0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (Rev5, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      57. 17.100 / 57. 17.100
libavcodec     59. 18.100 / 59. 18.100
libavformat    59. 16.100 / 59. 16.100
libavdevice    59.  4.100 / 59.  4.100
libavfilter     8. 24.100 /  8. 24.100
libswscale      6.  4.100 /  6.  4.100
libswresample   4.  3.100 /  4.  3.100
libpostproc    56.  3.100 / 56.  3.100
----------------------------------------------
Parameter information
----------------------------------------------
FPS: 23.976
Threads: 24
Total frames: 34553
1920x1080 to 3840x2160
----------------------------------------------
Processor type: OpenCL ACNet
----------------------------------------------
OpenCL Platform ID:0
OpenCL Device ID:0
Zoom Factor: 2
HDN Mode: false
HDN Level: 0
Number of OpenCL Command Queues:1
OpenCL Parallel IO Command Queues:false
----------------------------------------------

----------------------------------------------
Filter information
----------------------------------------------
----------------------------------------------
Filter not supported
----------------------------------------------

Processing...
 0.07%  elpsed:  1.00s  remaining: 1505.81s
 0.15%  elpsed:  2.01s  remaining: 1334.26s
 0.25%  elpsed:  3.02s  remaining: 1181.99s
 0.38%  elpsed:  4.03s  remaining: 1057.89s
 0.50%  elpsed:  5.03s  remaining: 1000.20s
 0.63%  elpsed:  6.04s  remaining: 955.87s
 0.75%  elpsed:  7.05s  remaining: 933.22s
 0.82%  elpsed:  8.06s  remaining: 968.64s
 0.88%  elpsed:  9.06s  remaining: 1024.45s
 0.94%  elpsed: 10.07s  remaining: 1060.65s
 1.01%  elpsed: 11.08s  remaining: 1085.71s
 1.08%  elpsed: 12.09s  remaining: 1110.51s
 1.15%  elpsed: 13.09s  remaining: 1123.68s
 1.21%  elpsed: 14.10s  remaining: 1154.32s
 1.29%  elpsed: 15.11s  remaining: 1157.99s
 1.36%  elpsed: 16.12s  remaining: 1166.17s
 1.43%  elpsed: 17.12s  remaining: 1178.13s
 1.52%  elpsed: 18.13s  remaining: 1172.90s
 1.60%  elpsed: 19.14s  remaining: 1178.82s
 1.67%  elpsed: 20.15s  remaining: 1186.27s
 1.74%  elpsed: 21.15s  remaining: 1193.02s
 1.81%  elpsed: 22.16s  remaining: 1203.01s
 1.88%  elpsed: 23.17s  remaining: 1206.52s
 1.97%  elpsed: 24.18s  remaining: 1206.09s
 2.03%  elpsed: 25.18s  remaining: 1217.89s
 2.11%  elpsed: 26.19s  remaining: 1213.50s
 2.20%  elpsed: 27.20s  remaining: 1207.72s
 2.30%  elpsed: 28.21s  remaining: 1200.80s
 2.39%  elpsed: 29.21s  remaining: 1194.30s
 2.47%  elpsed: 30.26s  remaining: 1192.59s
 2.54%  elpsed: 31.26s  remaining: 1200.32s
 2.60%  elpsed: 32.27s  remaining: 1210.68s
 2.67%  elpsed: 33.28s  remaining: 1215.17s
 2.75%  elpsed: 34.28s  remaining: 1212.61s
 2.80%  elpsed: 35.29s  remaining: 1224.36s
 2.85%  elpsed: 36.30s  remaining: 1235.68s
 2.89%  elpsed: 37.30s  remaining: 1251.66s
 2.94%  elpsed: 38.31s  remaining: 1263.35s
 2.99%  elpsed: 39.32s  remaining: 1277.14s
 3.04%  elpsed: 40.33s  remaining: 1286.80s
 3.10%  elpsed: 41.33s  remaining: 1293.45s
 3.17%  elpsed: 42.34s  remaining: 1291.33s
 3.24%  elpsed: 43.35s  remaining: 1296.40s
 3.29%  elpsed: 44.36s  remaining: 1303.64s
 3.34%  elpsed: 45.36s  remaining: 1311.75s
 3.39%  elpsed: 46.37s  remaining: 1319.61s
 3.45%  elpsed: 47.38s  remaining: 1326.02s
 3.51%  elpsed: 48.39s  remaining: 1331.08s
 3.57%  elpsed: 49.40s  remaining: 1335.95s
 3.62%  elpsed: 50.40s  remaining: 1340.60s
 3.68%  elpsed: 51.41s  remaining: 1345.08s
 3.73%  elpsed: 52.42s  remaining: 1351.61s
 3.80%  elpsed: 53.42s  remaining: 1352.49s
 3.89%  elpsed: 54.43s  remaining: 1346.01s
 3.98%  elpsed: 55.44s  remaining: 1337.71s
 4.07%  elpsed: 56.45s  remaining: 1328.79s
 4.17%  elpsed: 57.45s  remaining: 1321.16s
 4.25%  elpsed: 58.46s  remaining: 1316.65s
 4.33%  elpsed: 59.47s  remaining: 1315.00s
 4.38%  elpsed: 60.48s  remaining: 1320.66s
 4.44%  elpsed: 61.48s  remaining: 1323.43s
 4.49%  elpsed: 62.49s  remaining: 1330.60s
 4.53%  elpsed: 63.50s  remaining: 1339.37s
 4.58%  elpsed: 64.51s  remaining: 1345.30s
 4.65%  elpsed: 65.51s  remaining: 1342.26s
 4.73%  elpsed: 66.52s  remaining: 1341.03s
 4.80%  elpsed: 67.53s  remaining: 1339.79s
 4.85%  elpsed: 68.54s  remaining: 1345.29s
 4.89%  elpsed: 69.54s  remaining: 1351.48s
 4.93%  elpsed: 70.55s  remaining: 1359.23s
 4.97%  elpsed: 71.56s  remaining: 1367.66s
 5.01%  elpsed: 72.57s  remaining: 1376.80s
 5.04%  elpsed: 73.57s  remaining: 1385.78s
 5.08%  elpsed: 74.58s  remaining: 1393.81s
 5.11%  elpsed: 75.59s  remaining: 1402.52s
 5.15%  elpsed: 76.60s  remaining: 1410.29s
 5.18%  elpsed: 77.60s  remaining: 1419.58s
 5.22%  elpsed: 78.61s  remaining: 1427.92s
 5.26%  elpsed: 79.62s  remaining: 1435.29s
 5.29%  elpsed: 80.64s  remaining: 1443.70s
 5.32%  elpsed: 81.65s  remaining: 1452.47s
 5.36%  elpsed: 82.66s  remaining: 1459.49s
 5.39%  elpsed: 83.67s  remaining: 1468.90s
 5.42%  elpsed: 84.67s  remaining: 1477.35s
 5.45%  elpsed: 85.68s  remaining: 1485.71s
 5.49%  elpsed: 86.69s  remaining: 1493.11s
 5.52%  elpsed: 87.69s  remaining: 1499.59s
 5.56%  elpsed: 88.70s  remaining: 1506.78s
 5.60%  elpsed: 89.71s  remaining: 1513.06s
 5.63%  elpsed: 90.72s  remaining: 1519.22s
 5.67%  elpsed: 91.72s  remaining: 1526.13s
 5.70%  elpsed: 92.73s  remaining: 1534.58s
 5.73%  elpsed: 93.74s  remaining: 1541.29s
 5.77%  elpsed: 94.75s  remaining: 1548.72s
 5.80%  elpsed: 95.75s  remaining: 1554.43s
 5.84%  elpsed: 96.76s  remaining: 1560.86s
 5.88%  elpsed: 97.77s  remaining: 1565.57s
 5.91%  elpsed: 98.78s  remaining: 1571.83s
 5.94%  elpsed: 99.78s  remaining: 1579.65s
 5.97%  elpsed: 100.79s  remaining: 1586.55s
 6.03%  elpsed: 101.80s  remaining: 1586.87s
 6.09%  elpsed: 102.81s  remaining: 1584.79s
 6.16%  elpsed: 103.81s  remaining: 1581.86s
 6.24%  elpsed: 104.82s  remaining: 1575.12s
 6.29%  elpsed: 105.83s  remaining: 1576.20s
 6.35%  elpsed: 106.84s  remaining: 1574.96s
 6.41%  elpsed: 107.84s  remaining: 1573.73s
 6.47%  elpsed: 108.85s  remaining: 1573.24s
 6.54%  elpsed: 109.86s  remaining: 1569.78s
 6.61%  elpsed: 110.87s  remaining: 1567.10s
 6.68%  elpsed: 111.88s  remaining: 1563.00s
 6.75%  elpsed: 112.88s  remaining: 1559.68s
 6.78%  elpsed: 113.89s  remaining: 1564.97s
 6.82%  elpsed: 114.90s  remaining: 1568.75s
 6.86%  elpsed: 115.91s  remaining: 1573.20s
 6.93%  elpsed: 116.91s  remaining: 1569.79s
 7.01%  elpsed: 117.92s  remaining: 1564.36s
 7.04%  elpsed: 118.93s  remaining: 1569.36s
 7.08%  elpsed: 119.94s  remaining: 1574.31s
 7.11%  elpsed: 120.94s  remaining: 1579.18s
 7.17%  elpsed: 121.95s  remaining: 1579.20s
 7.21%  elpsed: 122.96s  remaining: 1581.91s
 7.30%  elpsed: 123.97s  remaining: 1574.43s
 7.40%  elpsed: 124.97s  remaining: 1564.45s
 7.51%  elpsed: 125.98s  remaining: 1551.48s
 7.62%  elpsed: 126.99s  remaining: 1540.10s
 7.67%  elpsed: 128.00s  remaining: 1540.91s
 7.72%  elpsed: 129.00s  remaining: 1541.69s
 7.77%  elpsed: 130.01s  remaining: 1543.08s
 7.83%  elpsed: 131.02s  remaining: 1541.33s
 7.89%  elpsed: 132.03s  remaining: 1540.82s
 7.94%  elpsed: 133.03s  remaining: 1542.13s
 7.99%  elpsed: 134.04s  remaining: 1544.03s
 8.04%  elpsed: 135.05s  remaining: 1544.68s
 8.09%  elpsed: 136.07s  remaining: 1544.89s
 8.15%  elpsed: 137.08s  remaining: 1544.90s
 8.20%  elpsed: 138.09s  remaining: 1546.08s
 8.25%  elpsed: 139.09s  remaining: 1546.66s
 8.31%  elpsed: 140.10s  remaining: 1544.85s
 8.40%  elpsed: 141.11s  remaining: 1538.43s
 8.47%  elpsed: 142.12s  remaining: 1534.97s
 8.53%  elpsed: 143.12s  remaining: 1533.83s
 8.60%  elpsed: 144.13s  remaining: 1532.11s
 8.66%  elpsed: 145.14s  remaining: 1530.98s
 8.72%  elpsed: 146.15s  remaining: 1529.92s
 8.80%  elpsed: 147.15s  remaining: 1524.86s
 8.89%  elpsed: 148.16s  remaining: 1518.85s
 8.99%  elpsed: 149.17s  remaining: 1509.20s
 9.09%  elpsed: 150.18s  remaining: 1501.32s
 9.20%  elpsed: 151.18s  remaining: 1491.53s
 9.31%  elpsed: 152.19s  remaining: 1482.45s
 9.42%  elpsed: 153.20s  remaining: 1472.55s
 9.52%  elpsed: 154.21s  remaining: 1464.83s
 9.63%  elpsed: 155.21s  remaining: 1456.77s
 9.74%  elpsed: 156.22s  remaining: 1448.38s
 9.85%  elpsed: 157.23s  remaining: 1439.69s
 9.96%  elpsed: 158.24s  remaining: 1430.69s
10.06%  elpsed: 159.26s  remaining: 1423.84s
10.15%  elpsed: 160.27s  remaining: 1418.32s
10.24%  elpsed: 161.27s  remaining: 1413.76s
10.28%  elpsed: 162.28s  remaining: 1415.91s
10.32%  elpsed: 163.29s  remaining: 1418.46s
10.37%  elpsed: 164.30s  remaining: 1419.67s
10.42%  elpsed: 165.30s  remaining: 1420.84s
10.46%  elpsed: 166.31s  remaining: 1423.33s
10.51%  elpsed: 167.32s  remaining: 1425.34s
10.55%  elpsed: 168.33s  remaining: 1426.89s
10.60%  elpsed: 169.33s  remaining: 1427.98s
10.66%  elpsed: 170.34s  remaining: 1428.19s
10.71%  elpsed: 171.35s  remaining: 1429.24s
10.76%  elpsed: 172.36s  remaining: 1429.85s
10.81%  elpsed: 173.36s  remaining: 1430.01s
10.86%  elpsed: 174.37s  remaining: 1431.02s
10.92%  elpsed: 175.38s  remaining: 1431.15s
11.02%  elpsed: 176.39s  remaining: 1423.73s
11.11%  elpsed: 177.39s  remaining: 1419.65s
11.15%  elpsed: 178.40s  remaining: 1422.30s
11.18%  elpsed: 179.41s  remaining: 1425.33s
11.22%  elpsed: 180.42s  remaining: 1427.51s
11.26%  elpsed: 181.42s  remaining: 1429.66s
11.30%  elpsed: 182.43s  remaining: 1432.20s
11.34%  elpsed: 183.44s  remaining: 1433.90s
11.38%  elpsed: 184.45s  remaining: 1436.81s
11.42%  elpsed: 185.45s  remaining: 1438.46s
11.46%  elpsed: 186.46s  remaining: 1440.92s
11.50%  elpsed: 187.47s  remaining: 1442.93s
11.54%  elpsed: 188.48s  remaining: 1444.53s
11.59%  elpsed: 189.48s  remaining: 1446.09s
11.62%  elpsed: 190.49s  remaining: 1448.87s
11.72%  elpsed: 191.50s  remaining: 1443.09s
11.81%  elpsed: 192.51s  remaining: 1438.21s
11.91%  elpsed: 193.51s  remaining: 1431.38s
12.02%  elpsed: 194.52s  remaining: 1424.29s
12.07%  elpsed: 195.53s  remaining: 1423.86s
12.12%  elpsed: 196.54s  remaining: 1424.98s
12.17%  elpsed: 197.54s  remaining: 1426.08s
12.22%  elpsed: 198.55s  remaining: 1426.01s
12.28%  elpsed: 199.58s  remaining: 1425.72s
12.33%  elpsed: 200.60s  remaining: 1425.69s
12.40%  elpsed: 201.61s  remaining: 1423.71s
12.47%  elpsed: 202.61s  remaining: 1422.47s
12.53%  elpsed: 203.62s  remaining: 1421.24s
12.60%  elpsed: 204.63s  remaining: 1419.28s
12.67%  elpsed: 205.64s  remaining: 1417.70s
12.73%  elpsed: 206.66s  remaining: 1416.23s
12.79%  elpsed: 207.66s  remaining: 1416.11s
12.83%  elpsed: 208.67s  remaining: 1417.82s
12.87%  elpsed: 209.68s  remaining: 1419.16s
12.92%  elpsed: 210.69s  remaining: 1420.47s
12.97%  elpsed: 211.69s  remaining: 1421.05s
13.02%  elpsed: 212.71s  remaining: 1421.30s
13.08%  elpsed: 213.72s  remaining: 1420.81s
13.12%  elpsed: 214.73s  remaining: 1421.36s
13.17%  elpsed: 215.74s  remaining: 1421.90s
13.22%  elpsed: 216.75s  remaining: 1422.41s
13.27%  elpsed: 217.75s  remaining: 1422.91s
13.32%  elpsed: 218.76s  remaining: 1423.77s
13.36%  elpsed: 219.77s  remaining: 1424.60s
13.43%  elpsed: 220.78s  remaining: 1423.30s
13.54%  elpsed: 221.78s  remaining: 1416.38s
13.61%  elpsed: 222.79s  remaining: 1414.07s
13.68%  elpsed: 223.80s  remaining: 1412.11s
13.75%  elpsed: 224.81s  remaining: 1410.52s
13.81%  elpsed: 225.81s  remaining: 1408.92s
13.87%  elpsed: 226.82s  remaining: 1408.02s
13.94%  elpsed: 227.83s  remaining: 1406.77s
14.00%  elpsed: 228.84s  remaining: 1405.52s
14.06%  elpsed: 229.84s  remaining: 1405.29s
14.16%  elpsed: 230.85s  remaining: 1399.03s
14.27%  elpsed: 231.86s  remaining: 1392.85s
14.38%  elpsed: 232.87s  remaining: 1386.10s
14.49%  elpsed: 233.88s  remaining: 1380.08s
14.61%  elpsed: 234.88s  remaining: 1373.18s
14.70%  elpsed: 235.89s  remaining: 1368.58s
14.82%  elpsed: 236.90s  remaining: 1361.85s
14.92%  elpsed: 237.91s  remaining: 1356.11s
15.03%  elpsed: 238.91s  remaining: 1351.06s
15.14%  elpsed: 239.92s  remaining: 1345.16s
15.25%  elpsed: 240.93s  remaining: 1339.33s
15.36%  elpsed: 241.94s  remaining: 1333.56s
15.45%  elpsed: 242.94s  remaining: 1329.34s
15.55%  elpsed: 243.95s  remaining: 1324.57s
15.66%  elpsed: 244.96s  remaining: 1319.27s
15.77%  elpsed: 245.97s  remaining: 1313.75s
15.82%  elpsed: 246.97s  remaining: 1314.54s
15.87%  elpsed: 247.98s  remaining: 1314.47s
15.92%  elpsed: 248.99s  remaining: 1314.96s
15.97%  elpsed: 250.00s  remaining: 1315.44s
16.02%  elpsed: 251.00s  remaining: 1316.20s
16.07%  elpsed: 252.01s  remaining: 1316.10s
16.12%  elpsed: 253.02s  remaining: 1316.27s
16.18%  elpsed: 254.03s  remaining: 1315.60s
16.24%  elpsed: 255.03s  remaining: 1314.92s
16.33%  elpsed: 256.04s  remaining: 1312.28s
16.44%  elpsed: 257.05s  remaining: 1306.37s
16.55%  elpsed: 258.05s  remaining: 1301.33s
16.66%  elpsed: 259.06s  remaining: 1296.08s
16.74%  elpsed: 260.07s  remaining: 1293.30s
16.84%  elpsed: 261.08s  remaining: 1289.19s
16.94%  elpsed: 262.08s  remaining: 1285.13s
17.03%  elpsed: 263.11s  remaining: 1281.96s
17.14%  elpsed: 264.12s  remaining: 1276.91s
17.25%  elpsed: 265.12s  remaining: 1272.18s
17.36%  elpsed: 266.14s  remaining: 1266.78s
17.47%  elpsed: 267.15s  remaining: 1262.16s
17.57%  elpsed: 268.16s  remaining: 1258.07s
17.68%  elpsed: 269.17s  remaining: 1253.52s
17.78%  elpsed: 270.18s  remaining: 1249.25s
17.82%  elpsed: 271.18s  remaining: 1250.45s
17.86%  elpsed: 272.19s  remaining: 1252.12s
17.89%  elpsed: 273.20s  remaining: 1253.79s
17.93%  elpsed: 274.20s  remaining: 1255.44s
17.96%  elpsed: 275.21s  remaining: 1256.84s
18.00%  elpsed: 276.22s  remaining: 1258.22s
18.04%  elpsed: 277.23s  remaining: 1259.85s
18.07%  elpsed: 278.24s  remaining: 1261.46s
18.10%  elpsed: 279.24s  remaining: 1263.31s
18.14%  elpsed: 280.25s  remaining: 1264.66s
18.17%  elpsed: 281.26s  remaining: 1266.24s
18.21%  elpsed: 282.26s  remaining: 1267.81s
18.24%  elpsed: 283.27s  remaining: 1269.38s
18.28%  elpsed: 284.28s  remaining: 1270.69s
18.32%  elpsed: 285.29s  remaining: 1272.23s
18.35%  elpsed: 286.30s  remaining: 1274.26s
18.38%  elpsed: 287.30s  remaining: 1276.03s
18.42%  elpsed: 288.31s  remaining: 1277.30s
18.45%  elpsed: 289.32s  remaining: 1278.81s
18.49%  elpsed: 290.32s  remaining: 1280.06s
18.52%  elpsed: 291.33s  remaining: 1281.79s
18.56%  elpsed: 292.34s  remaining: 1282.78s
18.60%  elpsed: 293.35s  remaining: 1284.00s
18.63%  elpsed: 294.36s  remaining: 1285.71s
18.71%  elpsed: 295.36s  remaining: 1283.49s
18.81%  elpsed: 296.37s  remaining: 1278.84s
18.91%  elpsed: 297.38s  remaining: 1275.21s
19.00%  elpsed: 298.38s  remaining: 1271.84s
19.10%  elpsed: 299.39s  remaining: 1268.26s
19.19%  elpsed: 300.41s  remaining: 1264.97s
19.30%  elpsed: 301.42s  remaining: 1260.29s
19.38%  elpsed: 302.43s  remaining: 1257.95s
19.47%  elpsed: 303.44s  remaining: 1255.40s
19.56%  elpsed: 304.45s  remaining: 1252.39s
19.65%  elpsed: 305.45s  remaining: 1249.40s
19.73%  elpsed: 306.46s  remaining: 1246.89s
19.82%  elpsed: 307.47s  remaining: 1243.93s
19.92%  elpsed: 308.48s  remaining: 1240.31s
20.01%  elpsed: 309.48s  remaining: 1236.95s
99.14%  elpsed: 310.49s  remaining:  2.68s
99.59%  elpsed: 311.50s  remaining:  1.30s
99.76%  elpsed: 312.51s  remaining:  0.76s
100.00%  elpsed: 313.47s  remaining:  0.00s
Total process time: 5.22 min
Merging audio...
ffmpeg -loglevel 40 -i "tmp_out.mp4" -i "C:\Temp\Torrents\[neoHEVC+ DB] Kaguya-sama - Love is War [Season 1 + 2 + OVA] [BD 1080p x265 HEVC AAC] [Dual Audio]\Season 1\Kaguya-sama - Love is War - S01E05.mkv" -c copy -map 0:v -map 1 -map -1:v  -y "C:\Users\bugale\Videos\TV Shows\Kaguya-sama - Love is War\Kaguya-sama - Love is War S01E05.mkv"
Platform: NVIDIA CUDA
 Device: NVIDIA GeForce RTX 3080 Ti
ffmpeg version 5.0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 11.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
[h264 @ 0000022b233de480] Reinit context to 3840x2160, pix_fmt: yuv420p
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tmp_out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.45.100
  Duration: 00:04:52.00, start: 0.000000, bitrate: 28563 kb/s
  Stream #0:0[0x1](und): Video: h264 (Constrained Baseline), 1 reference frame (avc1 / 0x31637661), yuv420p(progressive, left), 3840x2160, 28562 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
Input #1, matroska,webm, from 'C:\Temp\Torrents\[neoHEVC+ DB] Kaguya-sama - Love is War [Season 1 + 2 + OVA] [BD 1080p x265 HEVC AAC] [Dual Audio]\Season 1\Kaguya-sama - Love is War - S01E05.mkv':
  Metadata:
    title           : Kaguya-sama - Love is War - S01E05
    encoder         : libebml v1.4.0 + libmatroska v1.6.1
    creation_time   : 2021-03-11T20:23:17.000000Z
  Duration: 00:24:01.14, start: 0.000000, bitrate: 2362 kb/s
  Chapters:
    Chapter #1:0: start 0.000000, end 16.016000
      Metadata:
        title           : Avant
    Chapter #1:1: start 16.016000, end 106.023000
      Metadata:
        title           : OP
    Chapter #1:2: start 106.023000, end 531.990000
      Metadata:
        title           : Part A
    Chapter #1:3: start 531.990000, end 913.996000
      Metadata:
        title           : Part B
    Chapter #1:4: start 913.996000, end 1340.506000
      Metadata:
        title           : Part C
    Chapter #1:5: start 1340.506000, end 1430.554000
      Metadata:
        title           : ED
    Chapter #1:6: start 1430.554000, end 1441.139000
      Metadata:
        title           : Part D
  Stream #1:0: Video: hevc (Main 10), 1 reference frame, yuv420p10le(tv, left), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS-eng         : 1846138
      DURATION-eng    : 00:24:01.107000000
      NUMBER_OF_FRAMES-eng: 34552
      NUMBER_OF_BYTES-eng: 332560457
      _STATISTICS_WRITING_APP-eng: mkvmerge v49.0.0 ('Sick Of Losing Soulmates') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-03-11 20:23:17
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

The command line I used is: -q -w -C avc1 -v

Notice DURATION-eng : 00:24:01.107000000 in input file and Duration: 00:04:52.00 in temp output file. (The elapsed time in the logs also seem to "jump" after ~20%)

Please let me know if there is any other data you need to diagnose the issue.

Thanks.

@TianZerL
Copy link
Owner

TianZerL commented Aug 6, 2022

how about cuda? -qwv -M cuda -C avc1

@bugale
Copy link
Author

bugale commented Aug 6, 2022

how about cuda? -qwv -M cuda -C avc1

Same result:

.\Anime4KCPP_CLI.exe -qwv -M cuda -C avc1 -i "C:\Temp\Torrents\[neoHEVC+ DB] Kaguya-sama - Love is War [Season 1 + 2 + OVA] [BD 1080p x265 HEVC AAC] [Dual Audio]\Season 1\Kaguya-sama - Love is War - S01E05.mkv" -o "C:\temp\test.mkv"
----------------------------------------------
Welcome to Anime4KCPP
----------------------------------------------
Device id: 0
 Type: NVIDIA GeForce RTX 3080 Ti
 Video Memory: 12287 mb
 Compute Capability: 8.6
Checking ffmpeg...
ffmpeg version 5.0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (Rev5, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      57. 17.100 / 57. 17.100
libavcodec     59. 18.100 / 59. 18.100
libavformat    59. 16.100 / 59. 16.100
libavdevice    59.  4.100 / 59.  4.100
libavfilter     8. 24.100 /  8. 24.100
libswscale      6.  4.100 /  6.  4.100
libswresample   4.  3.100 /  4.  3.100
libpostproc    56.  3.100 / 56.  3.100

        OpenH264 Video Codec provided by Cisco Systems, Inc.

----------------------------------------------
Parameter information
----------------------------------------------
FPS: 23.976
Threads: 24
Total frames: 34553
1920x1080 to 3840x2160
----------------------------------------------
Processor type: Cuda ACNet
----------------------------------------------
CUDA Device ID:0
Zoom Factor: 2
HDN Mode: false
HDN Level: 0
----------------------------------------------

----------------------------------------------
Filter information
----------------------------------------------
----------------------------------------------
Filter not supported
----------------------------------------------

Processing...
100.00%  elpsed: 257.26s  remaining:  0.00ss
Total process time: 4.29 min
Merging audio...
ffmpeg -loglevel 40 -i "tmp_out.mp4" -i "C:\Temp\Torrents\[neoHEVC+ DB] Kaguya-sama - Love is War [Season 1 + 2 + OVA] [BD 1080p x265 HEVC AAC] [Dual Audio]\Season 1\Kaguya-sama - Love is War - S01E05.mkv" -c copy -map 0:v -map 1 -map -1:v  -y "C:\temp\test.mkv"
ffmpeg version 5.0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 11.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
[h264 @ 0000024f8944e000] Reinit context to 3840x2160, pix_fmt: yuv420p
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tmp_out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.45.100
  Duration: 00:04:52.00, start: 0.000000, bitrate: 28564 kb/s
  Stream #0:0[0x1](und): Video: h264 (Constrained Baseline), 1 reference frame (avc1 / 0x31637661), yuv420p(progressive, left), 3840x2160, 28563 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
Input #1, matroska,webm, from 'C:\Temp\Torrents\[neoHEVC+ DB] Kaguya-sama - Love is War [Season 1 + 2 + OVA] [BD 1080p x265 HEVC AAC] [Dual Audio]\Season 1\Kaguya-sama - Love is War - S01E05.mkv':
  Metadata:
    title           : Kaguya-sama - Love is War - S01E05
    encoder         : libebml v1.4.0 + libmatroska v1.6.1
    creation_time   : 2021-03-11T20:23:17.000000Z
  Duration: 00:24:01.14, start: 0.000000, bitrate: 2362 kb/s

@GribanovIvan
Copy link

@bugale, after you finish please, upload videos to nyaa.si. Also upscale from linux to get better quality and smaller file. also try VP9 xd

have issue similar to headline of this issue: corrupted* output file, that's random file from large amount of upscale, idk why it broken, but other are fine

*00:58.976 frame for example

-x -X -q -z 1.5 -r 11 -c 0.2 -v -C avc1

@bugale
Copy link
Author

bugale commented Aug 15, 2022

@bugale, after you finish please, upload videos to nyaa.si. Also upscale from linux to get better quality and smaller file. also try VP9 xd

have issue similar to headline of this issue: corrupted* output file, that's random file from large amount of upscale, idk why it broken, but other are fine

*00:58.976 frame for example

-x -X -q -z 1.5 -r 11 -c 0.2 -v -C avc1

I am not sure I understood you correctly: are you asking me to upload the output video I got (the corrupted one)?
Do you want it to debug the issue yourself? Or are you complaining about a similar issue you are experiencing?

@GribanovIvan
Copy link

@bugale, after you finish please, upload videos to nyaa.si. Also upscale from linux to get better quality and smaller file. also try VP9 xd
have issue similar to headline of this issue: corrupted* output file, that's random file from large amount of upscale, idk why it broken, but other are fine
*00:58.976 frame for example
-x -X -q -z 1.5 -r 11 -c 0.2 -v -C avc1

I am not sure I understood you correctly: are you asking me to upload the output video I got (the corrupted one)? Do you want it to debug the issue yourself? Or are you complaining about a similar issue you are experiencing?

if i must chose - complaining
sorry for my English, i mean, please, don`t delete your successful upscales, we want good anime in good resolution too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants