kwsou / video2x Goto Github PK
View Code? Open in Web Editor NEWVideo upscaler using popular upscaling algorithm waifu2x to magnify and denoise artifacts from low resolution videos
Video upscaler using popular upscaling algorithm waifu2x to magnify and denoise artifacts from low resolution videos
So I've finished extracting the frames out of my 720p .mkv file
However, when splitting up frames to smaller groups to be upscaled, I was met with this error posted as the title. Cmd Promt below:
D:\video2x.v1.0.2>video2x.exe -i "C:\Users\nctha\Documents\MEGAsync Downloads\Bakugan\Bakugan - S01 (720p WEB x265 HEVC 10bit AAC 2.0 Th3ViSTa)\Bakugan Battle Brawlers - S01E01 - Bakugan The Battle Begins (720p WEB x265 Th3ViSTa).mkv" -o "C:\Users\nctha\Documents\MEGAsync Downloads\Bakugan\Upscaled\Bakugan - S01 (720p WEB x265 HEVC 10bit AAC 2.0 Th3ViSTa)\Bakugan Battle Brawlers - S01E01 - Bakugan The Battle Begins (720p WEB x265 Th3ViSTa).mkv" -c "config\rtx-2080-ti.json"
# # # ##### ###### #### ##### # #
# # # # # # # # # # # #
# # # # # ##### # # # ##
# # # # # # # # ##### ##
# # # # # # # # # # #
## # ##### ###### #### ####### # #
Reading config file in "config\rtx-2080-ti.json"
Retrieving video metadata
Command: ffprobe -of json -show_streams -show_format "C:\Users\nctha\Documents\MEGAsync Downloads\Bakugan\Bakugan - S01 (720p WEB x265 HEVC 10bit AAC 2.0 Th3ViSTa)\Bakugan Battle Brawlers - S01E01 - Bakugan The Battle Begins (720p WEB x265 Th3ViSTa).mkv"
Creating new workspace directory: temp\a4274740-4300-11ea-bffe-4f42d25c7044
Creating directory under workspace to store extracted frames: temp\a4274740-4300-11ea-bffe-4f42d25c7044\extracted
Creating directory under workspace to store upscaled frames: temp\a4274740-4300-11ea-bffe-4f42d25c7044\upscaled
Extracting frames from source video
Command: ffmpeg -i C:\Users\nctha\Documents\MEGAsync Downloads\Bakugan\Bakugan - S01 (720p WEB x265 HEVC 10bit AAC 2.0 Th3ViSTa)\Bakugan Battle Brawlers - S01E01 - Bakugan The Battle Begins (720p WEB x265 Th3ViSTa).mkv -y -threads 0 temp\a4274740-4300-11ea-bffe-4f42d25c7044\extracted\frame%d.png
Extracted 39887 frames from "C:\Users\nctha\Documents\MEGAsync Downloads\Bakugan\Bakugan - S01 (720p WEB x265 HEVC 10bit AAC 2.0 Th3ViSTa)\Bakugan Battle Brawlers - S01E01 - Bakugan The Battle Begins (720p WEB x265 Th3ViSTa).mkv" (Size: 106.22 GB, Time: 0.87 hours, approx. 52 minutes)
Upscaling the extracted frames from 960x720 to 1920x1080
Splitting up the frames into smaller groups, each to be processed by its own waifu2x thread
[Thread1] 39887 (100.0%) frames - cuDNN mode
{ Error: EPERM: operation not permitted, open 'D:\video2x.v1.0.2\temp\a4274740-4300-11ea-bffe-4f42d25c7044\extracted\thread1\frame10.png'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.openSync (pkg/prelude/bootstrap.js:490:32)
at moveFileSyncAcrossDevice (C:\snapshot\video2x\node_modules\fs-extra\lib\move-sync\index.js:70:18)
at moveSyncAcrossDevice (C:\snapshot\video2x\node_modules\fs-extra\lib\move-sync\index.js:58:12)
at tryRenameSync (C:\snapshot\video2x\node_modules\fs-extra\lib\move-sync\index.js:44:18)
at Object.moveSync (C:\snapshot\video2x\node_modules\fs-extra\lib\move-sync\index.js:22:3)
at C:\snapshot\video2x\app.js:107:28
at Object.performStep (C:\snapshot\video2x\lib\utils.js:15:14)
at C:\snapshot\video2x\app.js:88:19
at Object.performStep (C:\snapshot\video2x\lib\utils.js:15:14)
errno: -4048,
code: 'EPERM',
syscall: 'open',
path: 'D:\video2x.v1.0.2\temp\a4274740-4300-11ea-bffe-4f42d25c7044\extracted\thread1\frame10.png' }
I have CUDNN installed ('checked with waifu-caffee') and I'm not sure what's going on here. for some reasons, after extracting frames from the original video (there are~40k .png files), the created 'thread1' folder within 'extracted' only contains frame1 and frame10 (so 2 frames out of 40k)
Getting the above failure when using video2x.exe to upscale a movie.
Any help would be appreciated.
error_log_20200103-130854.17500.txt
c:\Users\Chris\Downloads\video2x.v1.0.2>video2x.exe -i d:\MakeMKV\DVD\Speed.mkv -o d:\MakeMKV\DVD\Speed1080.mkv -c C:\Users\Chris\Downloads\video2x.v1.0.2\config\rtx-2080-ti.json
# # # ##### ###### #### ##### # #
# # # # # # # # # # # #
# # # # # ##### # # # ##
# # # # # # # # ##### ##
# # # # # # # # # # #
## # ##### ###### #### ####### # #
Reading config file in "C:\Users\Chris\Downloads\video2x.v1.0.2\config\rtx-2080-ti.json"
Retrieving video metadata
Command: ffprobe -of json -show_streams -show_format "d:\MakeMKV\DVD\Speed.mkv"
Creating new workspace directory: temp\3b11b8e0-2e50-11ea-945a-2fc02fa70f7f
Creating directory under workspace to store extracted frames: temp\3b11b8e0-2e50-11ea-945a-2fc02fa70f7f\extracted
Creating directory under workspace to store upscaled frames: temp\3b11b8e0-2e50-11ea-945a-2fc02fa70f7f\upscaled
Extracting frames from source video
Command: ffmpeg -i d:\MakeMKV\DVD\Speed.mkv -y -threads 6 temp\3b11b8e0-2e50-11ea-945a-2fc02fa70f7f\extracted\frame%d.png
Extracted 208377 frames from "d:\MakeMKV\DVD\Speed.mkv" (Size: 67.39 GB, Time: 0.41 hours, approx. 25 minutes)
Upscaling the extracted frames from 720x480 to 1920x1440
Splitting up the frames into smaller groups, each to be processed by its own waifu2x thread
[Thread1] 208377 (100.0%) frames - cuDNN mode
Command: C:\Users\Chris\Downloads\waifu2x-caffe\waifu2x-caffe-cui.exe -i temp\3b11b8e0-2e50-11ea-945a-2fc02fa70f7f\extracted\thread1 -o temp\3b11b8e0-2e50-11ea-945a-2fc02fa70f7f\upscaled -w 1920 -h 1440 --model_dir C:\Users\Chris\Downloads\waifu2x-caffe\models\cunet -p cudnn --gpu 0 -b 32 -c 128 -e png -m scale -n 2 -t 0
\C:\snapshot\video2x\node_modules\q\q.js:155
throw e;
^
Error: Command failed: C:\Users\Chris\Downloads\waifu2x-caffe\waifu2x-caffe-cui.exe -i temp\3b11b8e0-2e50-11ea-945a-2fc02fa70f7f\extracted\thread1 -o temp\3b11b8e0-2e50-11ea-945a-2fc02fa70f7f\upscaled -w 1920 -h 1440 --model_dir C:\Users\Chris\Downloads\waifu2x-caffe\models\cunet -p cudnn --gpu 0 -b 32 -c 128 -e png -m scale -n 2 -t 0
Could not create log file: File exists
COULD NOT CREATE LOGFILE '20200103-130854.17500'!
F0103 13:08:54.012122 13152 cudnn_conv_layer.cu:28] Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM
*** Check failure stack trace: ***
at ChildProcess.exithandler (child_process.js:281:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
c:\Users\Chris\Downloads\video2x.v1.0.2>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.