k4yt3x / video2x

A machine learning-based lossless video super resolution framework. Est. Hack the Valley II, 2018.
https://video2x.org
GNU Affero General Public License v3.0
10.95k stars 1.02k forks source link

An instance of failure - No such file or directory? #86

Closed nostalgicc closed 5 years ago

nostalgicc commented 5 years ago
C:\Users\Administrator>cd C:\Program Files\video2x-master\bin

C:\Program Files\video2x-master\bin>python video2x.py -m gpu -r 2 -i E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg -o F:\temp\[PANTSUSENSEI][Macross_Do_you_remember_love][BDRIP][4K][DENOISE][AVC_DTS].mp4
__      __  _       _                  ___   __   __
\ \    / / (_)     | |                |__ \  \ \ / /
 \ \  / /   _    __| |   ___    ___      ) |  \ V /
  \ \/ /   | |  / _` |  / _ \  / _ \    / /    > <
   \  /    | | | (_| | |  __/ | (_) |  / /_   / . \
    \/     |_|  \__,_|  \___|  \___/  |____| /_/ \_\

               Video2X Video Enlarger

                   Version 2.7.1

[!] WARNING: Each waifu2x-caffe thread will require up to 2.5 GB of system memory
[!] WARNING: You demanded 5 threads to be created, but you only have 12.0365 GB system memory available
[!] WARNING: 12.5 GB of system memory is recommended for 5 threads
[!] WARNING: With your current amount of system memory available, 4 threads is recommended
[?] USER: Change to the recommended value? [Y/n]: Y
[!] WARNING: Each waifu2x-caffe thread will require up to 2.5 GB of system memory
[!] WARNING: You demanded 4 threads to be created, but you only have 7.377 GB GPU memory available
[!] WARNING: 14.0 GB of GPU memory is recommended for 4 threads
[!] WARNING: With your current amount of GPU memory available, 2 threads is recommended
[?] USER: Change to the recommended value? [Y/n]: Y
[+] INFO: Upscaling single video file: E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg
2019-04-29 09:41:06.872894 [+] INFO: Extracted frames are being saved to: F:\video2xcache\tmpc61ljt0g
2019-04-29 09:41:06.877885 [+] INFO: Upscaled frames are being saved to: F:\video2xcache\tmp78goorh6
2019-04-29 09:41:06.877885 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\ffmpeg-latest-win64-static\\bin\\ffmpeg.exe', '-i', 'E:\\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg', 'F:\\video2xcache\\tmpc61ljt0g\\extracted_%0d.png', '-hwaccel', 'auto', '-y']
ffmpeg version N-93686-g8019395889 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.3.1 (GCC) 20190414
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Trailing options were found on the commandline.
Input #0, mpeg, from 'E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg':
  Duration: 00:06:38.89, start: 0.460233, bitrate: 25334 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (High), yuv420p(tv, unknown/bt709/unknown, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24858 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'F:\video2xcache\tmpc61ljt0g\extracted_%0d.png':
  Metadata:
    encoder         : Lavf58.27.103
    Stream #0:0: Video: png, rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc58.52.100 png
frame= 9562 fps= 24 q=-0.0 Lsize=N/A time=00:06:38.81 bitrate=N/A speed=1.01x
video:21710872kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[+] INFO: Reading video information
2019-04-29 09:47:44.491044 [+] INFO: Executing: C:\Users\Administrator\AppData\Local\video2x\ffmpeg-latest-win64-static\bin\ffprobe.exe -v quiet -print_format json -show_format -show_streams -i E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg
[+] INFO: Framerate: 23.976023976023978
[+] INFO: Starting to upscale extracted images
2019-04-29 09:47:59.751363 [+] INFO: Starting upscaled image cleaner
2019-04-29 09:47:59.752250 [+] INFO: [upscaler] Thread 0 started
2019-04-29 09:47:59.753248 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\waifu2x-caffe\\waifu2x-caffe-cui.exe', '--output_extention', 'png', '--mode', 'noise_scale', '--scale_ratio', '2.0', '--noise_level', '3', '--process', 'gpu', '--crop_size', '128', '--output_quality', '-1', '--output_depth', '8', '--batch_size', '1', '--gpu', '0', '--tta', '0', '--input_path', 'F:\\video2xcache\\tmpc61ljt0g\\1', '--output_path', 'F:\\video2xcache\\tmp78goorh6']2019-04-29 09:47:59.753248 [+] INFO: [upscaler] Thread 1 started

2019-04-29 09:47:59.754245 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\waifu2x-caffe\\waifu2x-caffe-cui.exe', '--output_extention', 'png', '--mode', 'noise_scale', '--scale_ratio', '2.0', '--noise_level', '3', '--process', 'gpu', '--crop_size', '128', '--output_quality', '-1', '--output_depth', '8', '--batch_size', '1', '--gpu', '0', '--tta', '0', '--input_path', 'F:\\video2xcache\\tmpc61ljt0g\\1', '--output_path', 'F:\\video2xcache\\tmp78goorh6']
Upscaling Progress:  50%|##########################9                           | 4780/9562 [9:06:09<8:47:41,  6.62s/it] 変変換に換成功しにました成
功しました
2019-04-29 18:54:16.414324 [+] INFO: [upscaler] Thread 0 exiting
2019-04-29 18:54:16.436266 [+] INFO: [upscaler] Thread 1 exiting
2019-04-29 18:54:16.436266 [+] INFO: Killing upscaled image cleaner
Upscaling Progress:  50%|###########################                           | 4781/9562 [9:06:16<8:57:11,  6.74s/it][+] INFO: Upscaling completed
[+] INFO: Converting extracted frames into video
2019-04-29 18:54:17.234244 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\ffmpeg-latest-win64-static\\bin\\ffmpeg.exe', '-r', '23.976023976023978', '-s', '3840x2160', '-i', 'F:\\video2xcache\\tmp78goorh6\\extracted_%d.png', 'F:\\video2xcache\\tmp78goorh6\\no_audio.mp4', '-f', 'image2', '-vcodec', 'libx264', '-crf', '17', '-pix_fmt', 'yuv420p', '-hwaccel', 'auto', '-y']

ffmpeg version N-93686-g8019395889 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.3.1 (GCC) 20190414
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Trailing options were found on the commandline.
Input #0, image2, from 'F:\video2xcache\tmp78goorh6\extracted_%d.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgb24(pc), 3840x2160, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000002a3fb59f380] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000002a3fb59f380] profile High 4:4:4 Predictive, level 5.1, 4:4:4, 8-bit
[libx264 @ 000002a3fb59f380] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=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=23 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 'F:\video2xcache\tmp78goorh6\no_audio.mp4':
  Metadata:
    encoder         : Lavf58.27.103
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 3840x2160, q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc58.52.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame=    1 fps=0.0 q=28.0 Lsize=      93kB time=00:00:00.00 bitrate=18052952.4kbits/s speed=0.000109x
video:92kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.850190%
[libx264 @ 000002a3fb59f380] frame I:1     Avg QP:22.77  size: 93290
[libx264 @ 000002a3fb59f380] mb I  I16..4: 47.8% 50.8%  1.4%
[libx264 @ 000002a3fb59f380] 8x8 transform intra:50.8%
[libx264 @ 000002a3fb59f380] coded y,u,v intra: 15.7% 7.3% 5.8%
[libx264 @ 000002a3fb59f380] i16 v,h,dc,p: 22% 27%  6% 45%
[libx264 @ 000002a3fb59f380] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 22% 25%  5%  4%  4%  4%  3%  4%
[libx264 @ 000002a3fb59f380] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 19% 14%  4% 14% 11%  9%  4%  3%
[libx264 @ 000002a3fb59f380] kb/s:17893.79
[+] INFO: Conversion completed
[+] INFO: Migrating audio tracks and subtitles to upscaled video
2019-04-29 18:54:21.721139 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\ffmpeg-latest-win64-static\\bin\\ffmpeg.exe', '-i', 'F:\\video2xcache\\tmp78goorh6\\no_audio.mp4', '-i', 'E:\\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg', 'F:\\temp\\[PANTSUSENSEI][Macross_Do_you_remember_love][BDRIP][4K][DENOISE][AVC_DTS].mp4', '-map', '-1:v?', '-c', 'copy', '-hwaccel', 'auto', '-y']
ffmpeg version N-93686-g8019395889 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.3.1 (GCC) 20190414
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Trailing options were found on the commandline.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'F:\video2xcache\tmp78goorh6\no_audio.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
  Duration: 00:00:00.04, start: 0.000000, bitrate: 18052 kb/s
    Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 3840x2160, 18026 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Input #1, mpeg, from 'E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg':
  Duration: 00:06:38.89, start: 0.460233, bitrate: 25334 kb/s
    Stream #1:0[0x1e0]: Video: mpeg2video (High), yuv420p(tv, unknown/bt709/unknown, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24858 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #1:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, fltp, 384 kb/s
F:\temp\[PANTSUSENSEI][Macross_Do_you_remember_love][BDRIP][4K][DENOISE][AVC_DTS].mp4: No such file or directory
[!] ERROR: An exception has occurred
Traceback (most recent call last):
  File "video2x.py", line 318, in <module>
    upscaler.run()
  File "C:\Program Files\video2x-master\bin\upscaler.py", line 307, in run
    fm.migrate_audio_tracks_subtitles(self.input_video, self.output_video, self.upscaled_frames)
  File "C:\Program Files\video2x-master\bin\ffmpeg.py", line 126, in migrate_audio_tracks_subtitles
    self._execute(execute=execute, phase='migrating_tracks')
  File "C:\Program Files\video2x-master\bin\ffmpeg.py", line 147, in _execute
    return subprocess.run(execute, shell=True, check=True).returncode
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 487, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['C:\\Users\\Administrator\\AppData\\Local\\video2x\\ffmpeg-latest-win64-static\\bin\\ffmpeg.exe', '-i', 'F:\\video2xcache\\tmp78goorh6\\no_audio.mp4', '-i', 'E:\\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg', 'F:\\temp\\[PANTSUSENSEI][Macross_Do_you_remember_love][BDRIP][4K][DENOISE][AVC_DTS].mp4', '-map', '-1:v?', '-c', 'copy', '-hwaccel', 'auto', '-y']' returned non-zero exit status 1.

C:\Program Files\video2x-master\bin>
metzo007 commented 5 years ago

This is just me, but I remame the videos to 1.mp4 and put them into D:/ to avoid any error regarding this issue

nostalgicc commented 5 years ago

I renamed the output to test.mp4 and got a 265kb "blank" mp4 file instead...

Upscaling Progress:  50%|##########################9                           | 4780/9562 [8:43:55<8:33:48,  6.45s/it] 変変換換にに成成功しま功した
ました
2019-04-30 05:59:46.646791 [+] INFO: [upscaler] Thread 0 exiting
2019-04-30 05:59:46.666737 [+] INFO: [upscaler] Thread 1 exiting
2019-04-30 05:59:46.666737 [+] INFO: Killing upscaled image cleaner
[+] INFO: Upscaling completed
[+] INFO: Converting extracted frames into video
2019-04-30 05:59:47.001842 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\ffmpeg-latest-win64-static\\bin\\ffmpeg.exe', '-r', '23.976023976023978', '-s', '3840x2160', '-i', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\video2x\\tmpwtl5o7q9\\extracted_%d.png', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\video2x\\tmpwtl5o7q9\\no_audio.mp4', '-f', 'image2', '-vcodec', 'libx264', '-crf', '17', '-pix_fmt', 'yuv420p', '-hwaccel', 'auto', '-y']
ffmpeg version N-93686-g8019395889 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.3.1 (GCC) 20190414
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Trailing options were found on the commandline.

Input #0, image2, from 'C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmpwtl5o7q9\extracted_%d.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgb24(pc), 3840x2160, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 00000205ac67f280] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 00000205ac67f280] profile High 4:4:4 Predictive, level 5.1, 4:4:4, 8-bit
[libx264 @ 00000205ac67f280] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=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=23 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 'C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmpwtl5o7q9\no_audio.mp4':
  Metadata:
    encoder         : Lavf58.27.103
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 3840x2160, q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc58.52.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame=    1 fps=0.0 q=28.0 Lsize=      93kB time=00:00:00.00 bitrate=18052952.4kbits/s speed=0.000111x
video:92kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.850190%
[libx264 @ 00000205ac67f280] frame I:1     Avg QP:22.77  size: 93290
[libx264 @ 00000205ac67f280] mb I  I16..4: 47.8% 50.8%  1.4%
[libx264 @ 00000205ac67f280] 8x8 transform intra:50.8%
[libx264 @ 00000205ac67f280] coded y,u,v intra: 15.7% 7.3% 5.8%
[libx264 @ 00000205ac67f280] i16 v,h,dc,p: 22% 27%  6% 45%
[libx264 @ 00000205ac67f280] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 22% 25%  5%  4%  4%  4%  3%  4%
[libx264 @ 00000205ac67f280] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 19% 14%  4% 14% 11%  9%  4%  3%
[libx264 @ 00000205ac67f280] kb/s:17893.79
[+] INFO: Conversion completed
[+] INFO: Migrating audio tracks and subtitles to upscaled video
2019-04-30 05:59:47.686039 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\ffmpeg-latest-win64-static\\bin\\ffmpeg.exe', '-i', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\video2x\\tmpwtl5o7q9\\no_audio.mp4', '-i', 'E:\\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg', 'D:\\test.mp4', '-map', '-1:v?', '-c', 'copy', '-hwaccel', 'auto', '-y']
ffmpeg version N-93686-g8019395889 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.3.1 (GCC) 20190414
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Trailing options were found on the commandline.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmpwtl5o7q9\no_audio.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
  Duration: 00:00:00.04, start: 0.000000, bitrate: 18052 kb/s
    Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 3840x2160, 18026 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Input #1, mpeg, from 'E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg':
  Duration: 00:06:38.89, start: 0.460233, bitrate: 25334 kb/s
    Stream #1:0[0x1e0]: Video: mpeg2video (High), yuv420p(tv, unknown/bt709/unknown, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24858 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #1:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #1:1 -> #0:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0000019d2a0daf00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000019d2a0daf00] profile High 4:4:4 Predictive, level 5.1, 4:4:4, 8-bit
[libx264 @ 0000019d2a0daf00] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=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=23 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 'D:\test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
    Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv444p(progressive), 3840x2160, q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.52.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.52.100 aac
frame=    1 fps=0.6 q=28.0 Lsize=     264kB time=00:06:38.89 bitrate=   5.4kbits/s speed= 256x
video:94kB audio:102kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 34.924129%
[libx264 @ 0000019d2a0daf00] frame I:1     Avg QP:21.99  size: 95750
[libx264 @ 0000019d2a0daf00] mb I  I16..4: 50.2% 48.6%  1.2%
[libx264 @ 0000019d2a0daf00] 8x8 transform intra:48.6%
[libx264 @ 0000019d2a0daf00] coded y,u,v intra: 14.9% 7.6% 5.5%
[libx264 @ 0000019d2a0daf00] i16 v,h,dc,p: 26% 28%  6% 39%
[libx264 @ 0000019d2a0daf00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 23% 26%  5%  4%  4%  4%  3%  4%
[libx264 @ 0000019d2a0daf00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 14%  4% 13% 12% 10%  4%  3%
[libx264 @ 0000019d2a0daf00] kb/s:18365.63
[aac @ 0000019d2800c8c0] Qavg: 65536.000
Cleaning up cache directory: C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmp90kfmh9z
Cleaning up cache directory: C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmpwtl5o7q9
[+] INFO: Program completed, taking 31801.83733 seconds

C:\Program Files\video2x-master\bin>
k4yt3x commented 5 years ago

I wonder what's causing the issue

k4yt3x commented 5 years ago

Maybe FFmpeg doesn't recognize a certain character in that file name?

nostalgicc commented 5 years ago

Considering it successfully read the input and extracted all the frames I reckon the file name should be fine. So I then changed the cache directory back to default (null) and output to D:\test.mp4 which got the second error with the tiny blank file.

k4yt3x commented 5 years ago

Hang on, you're using multiple threads. Try using only 1 thread and see if that solves the bug, cuz it looks like that one of the threads failed.

nostalgicc commented 5 years ago

sorry I couldn't find how to set the number of threads, is it something I put into the command?

nostalgicc commented 5 years ago

changed thread to 1, produced a decent sized mp4 file, however still cannot be played. Windows player black screen, third party video players show glitchy grey screen. Corrupt file.

C:\Program Files\video2x-master\bin>python video2x.py -m gpu -r 2 -t 1 -i E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg -o D:\test.mp4
__      __  _       _                  ___   __   __
\ \    / / (_)     | |                |__ \  \ \ / /
 \ \  / /   _    __| |   ___    ___      ) |  \ V /
  \ \/ /   | |  / _` |  / _ \  / _ \    / /    > <
   \  /    | | | (_| | |  __/ | (_) |  / /_   / . \
    \/     |_|  \__,_|  \___|  \___/  |____| /_/ \_\

               Video2X Video Enlarger

                   Version 2.7.1

[!] WARNING: Specified cache folder/directory C:\Users\ADMINI~1\AppData\Local\Temp\video2x does not exist
[?] USER: Create folder/directory? [Y/n]: Y
[+] INFO: C:\Users\ADMINI~1\AppData\Local\Temp\video2x created
[+] INFO: Upscaling single video file: E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg
2019-05-01 00:22:35.547620 [+] INFO: Extracted frames are being saved to: C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmpty32marj
2019-05-01 00:22:35.548617 [+] INFO: Upscaled frames are being saved to: C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmp_ky9qj72
2019-05-01 00:22:35.548617 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\ffmpeg-latest-win64-static\\bin\\ffmpeg.exe', '-i', 'E:\\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\video2x\\tmpty32marj\\extracted_%0d.png', '-hwaccel', 'auto', '-y']
ffmpeg version N-93686-g8019395889 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.3.1 (GCC) 20190414
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Trailing options were found on the commandline.
Input #0, mpeg, from 'E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg':
  Duration: 00:06:38.89, start: 0.460233, bitrate: 25334 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (High), yuv420p(tv, unknown/bt709/unknown, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24858 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmpty32marj\extracted_%0d.png':
  Metadata:
    encoder         : Lavf58.27.103
    Stream #0:0: Video: png, rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc58.52.100 png
frame= 9562 fps= 28 q=-0.0 Lsize=N/A time=00:06:38.81 bitrate=N/A speed=1.16x
video:21710872kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[+] INFO: Reading video information
2019-05-01 00:28:19.771531 [+] INFO: Executing: C:\Users\Administrator\AppData\Local\video2x\ffmpeg-latest-win64-static\bin\ffprobe.exe -v quiet -print_format json -show_format -show_streams -i E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg
[+] INFO: Framerate: 23.976023976023978
[+] INFO: Starting to upscale extracted images
2019-05-01 00:28:27.692342 [+] INFO: Starting upscaled image cleaner
2019-05-01 00:28:27.693339 [+] INFO: [upscaler] Thread 0 started
2019-05-01 00:28:27.693339 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\waifu2x-caffe\\waifu2x-caffe-cui.exe', '--output_extention', 'png', '--mode', 'noise_scale', '--scale_ratio', '2.0', '--noise_level', '3', '--process', 'gpu', '--crop_size', '128', '--output_quality', '-1', '--output_depth', '8', '--batch_size', '1', '--gpu', '0', '--tta', '0', '--input_path', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\video2x\\tmpty32marj\\0', '--output_path', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\video2x\\tmp_ky9qj72']
Upscaling Progress: 100%|#######################################################9| 9561/9562 [9:20:33<00:03,  3.62s/it] 変換に成功しました
2019-05-01 09:49:04.414325 [+] INFO: [upscaler] Thread 0 exiting
2019-05-01 09:49:04.417344 [+] INFO: Killing upscaled image cleaner

[+] INFO: Upscaling completed
[+] INFO: Converting extracted frames into video
2019-05-01 09:49:04.640720 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\ffmpeg-latest-win64-static\\bin\\ffmpeg.exe', '-r', '23.976023976023978', '-s', '3840x2160', '-i', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\video2x\\tmp_ky9qj72\\extracted_%d.png', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\video2x\\tmp_ky9qj72\\no_audio.mp4', '-f', 'image2', '-vcodec', 'libx264', '-crf', '17', '-pix_fmt', 'yuv420p', '-hwaccel', 'auto', '-y']
ffmpeg version N-93686-g8019395889 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.3.1 (GCC) 20190414
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Trailing options were found on the commandline.
Input #0, image2, from 'C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmp_ky9qj72\extracted_%d.png':
  Duration: 00:06:22.48, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgb24(pc), 3840x2160, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000002572d0bee40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000002572d0bee40] profile High 4:4:4 Predictive, level 5.1, 4:4:4, 8-bit
[libx264 @ 000002572d0bee40] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=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=23 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 'C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmp_ky9qj72\no_audio.mp4':
  Metadata:
    encoder         : Lavf58.27.103
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 3840x2160, q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc58.52.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 9562 fps= 12 q=-1.0 Lsize=  577096kB time=00:06:38.69 bitrate=11857.8kbits/s speed=0.517x
video:576986kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.019039%
[libx264 @ 000002572d0bee40] frame I:317   Avg QP:19.06  size:164288
[libx264 @ 000002572d0bee40] frame P:3547  Avg QP:22.22  size: 93850
[libx264 @ 000002572d0bee40] frame B:5698  Avg QP:23.33  size: 36130
[libx264 @ 000002572d0bee40] consecutive B-frames: 15.4% 12.4%  9.7% 62.6%
[libx264 @ 000002572d0bee40] mb I  I16..4: 22.7% 73.1%  4.2%
[libx264 @ 000002572d0bee40] mb P  I16..4: 17.1% 28.4%  1.0%  P16..4: 21.6%  5.4%  1.4%  0.0%  0.0%    skip:25.1%
[libx264 @ 000002572d0bee40] mb B  I16..4:  1.9%  2.3%  0.1%  B16..8: 30.7%  2.3%  0.2%  direct: 1.0%  skip:61.3%  L0:45.5% L1:52.1% BI: 2.4%
[libx264 @ 000002572d0bee40] 8x8 transform intra:61.9% inter:92.6%
[libx264 @ 000002572d0bee40] coded y,u,v intra: 22.9% 11.3% 9.7% inter: 7.0% 4.2% 3.5%
[libx264 @ 000002572d0bee40] i16 v,h,dc,p: 38% 27%  7% 28%
[libx264 @ 000002572d0bee40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 18% 29%  4%  5%  5%  6%  4%  4%
[libx264 @ 000002572d0bee40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 20% 14%  4% 11%  9%  9%  5%  3%
[libx264 @ 000002572d0bee40] Weighted P-Frames: Y:5.7% UV:3.9%
[libx264 @ 000002572d0bee40] ref P L0: 56.0%  9.4% 22.4% 11.7%  0.5%
[libx264 @ 000002572d0bee40] ref B L0: 86.6% 10.2%  3.2%
[libx264 @ 000002572d0bee40] ref B L1: 96.6%  3.4%
[libx264 @ 000002572d0bee40] kb/s:11851.77
[+] INFO: Conversion completed
[+] INFO: Migrating audio tracks and subtitles to upscaled video
2019-05-01 10:01:56.294080 [+] INFO: Executing: ['C:\\Users\\Administrator\\AppData\\Local\\video2x\\ffmpeg-latest-win64-static\\bin\\ffmpeg.exe', '-i', 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\video2x\\tmp_ky9qj72\\no_audio.mp4', '-i', 'E:\\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg', 'D:\\test.mp4', '-map', '-1:v?', '-c', 'copy', '-hwaccel', 'auto', '-y']
ffmpeg version N-93686-g8019395889 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.3.1 (GCC) 20190414
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Trailing options were found on the commandline.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmp_ky9qj72\no_audio.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
  Duration: 00:06:38.82, start: 0.000000, bitrate: 11854 kb/s
    Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 3840x2160, 11851 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Input #1, mpeg, from 'E:\[POPGO][FREEWIND][Macross_Do_you_remember_love][Full_HD-BDRIP][AVC_DTS].mpeg':
  Duration: 00:06:38.89, start: 0.460233, bitrate: 25334 kb/s
    Stream #1:0[0x1e0]: Video: mpeg2video (High), yuv420p(tv, unknown/bt709/unknown, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24858 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #1:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #1:1 -> #0:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 00000142ff6712c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 00000142ff6712c0] profile High 4:4:4 Predictive, level 5.1, 4:4:4, 8-bit
[libx264 @ 00000142ff6712c0] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=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=23 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 'D:\test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
    Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv444p(progressive), 3840x2160, q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.52.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.52.100 aac
frame= 9562 fps= 17 q=-1.0 Lsize=  573486kB time=00:06:38.89 bitrate=11777.5kbits/s speed=0.697x
video:573094kB audio:102kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.050671%
[libx264 @ 00000142ff6712c0] frame I:311   Avg QP:18.10  size:169883
[libx264 @ 00000142ff6712c0] frame P:3915  Avg QP:21.23  size: 92845
[libx264 @ 00000142ff6712c0] frame B:5336  Avg QP:23.01  size: 31957
[libx264 @ 00000142ff6712c0] consecutive B-frames: 15.6% 27.3%  8.3% 48.8%
[libx264 @ 00000142ff6712c0] mb I  I16..4: 21.9% 74.8%  3.3%
[libx264 @ 00000142ff6712c0] mb P  I16..4: 15.7% 27.0%  0.7%  P16..4: 23.8%  5.2%  1.3%  0.0%  0.0%    skip:26.4%
[libx264 @ 00000142ff6712c0] mb B  I16..4:  1.6%  2.4%  0.1%  B16..8: 29.6%  2.0%  0.2%  direct: 0.9%  skip:63.3%  L0:45.4% L1:52.7% BI: 1.9%
[libx264 @ 00000142ff6712c0] 8x8 transform intra:63.6% inter:92.7%
[libx264 @ 00000142ff6712c0] coded y,u,v intra: 22.6% 12.0% 10.4% inter: 5.7% 3.9% 3.3%
[libx264 @ 00000142ff6712c0] i16 v,h,dc,p: 40% 27%  8% 24%
[libx264 @ 00000142ff6712c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 19% 28%  4%  5%  5%  5%  4%  3%
[libx264 @ 00000142ff6712c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 20% 13%  4% 12%  9%  9%  5%  3%
[libx264 @ 00000142ff6712c0] Weighted P-Frames: Y:5.5% UV:3.9%
[libx264 @ 00000142ff6712c0] ref P L0: 59.7%  9.0% 20.4% 10.5%  0.4%
[libx264 @ 00000142ff6712c0] ref B L0: 86.2% 11.1%  2.7%
[libx264 @ 00000142ff6712c0] ref B L1: 97.5%  2.5%
[libx264 @ 00000142ff6712c0] kb/s:11771.83
[aac @ 00000142ff36a840] Qavg: 65536.000
Cleaning up cache directory: C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmpty32marj
Cleaning up cache directory: C:\Users\ADMINI~1\AppData\Local\Temp\video2x\tmp_ky9qj72
[+] INFO: Program completed, taking 35335.77442 seconds

C:\Program Files\video2x-master\bin>
k4yt3x commented 5 years ago

If you follow this solution, does it solve the problem? https://github.com/k4yt3x/video2x/issues/77#issuecomment-485223710

nostalgicc commented 5 years ago

ok I followed this solution, tested a 2 second video, everything works perfectly. Will now try the previous again.

I didn't even need to turn on the heater for the last few days so that's a plus(ง •̀_•́)ง

nostalgicc commented 5 years ago

success! https://www.youtube.com/watch?v=bSOqG_EhYPQ&t=45s

k4yt3x commented 5 years ago

Damn so it does work. I'll look into why.

k4yt3x commented 5 years ago

This should be fixed with the newest update.