AaronFeng753 / Waifu2x-Extension-GUI

Video, Image and GIF upscale/enlarge(Super-Resolution) and Video frame interpolation. Achieved with Waifu2x, Real-ESRGAN, Real-CUGAN, RTX Video Super Resolution VSR, SRMD, RealSR, Anime4K, RIFE, IFRNet, CAIN, DAIN, and ACNet.
https://patreon.com/aaronfeng
Other
13.2k stars 884 forks source link

[BUG] Files with paths longer than MAX_PATH (260 char) fail. #517

Open fourwhey opened 1 year ago

fourwhey commented 1 year ago

Version 3.101.27-beta

Describe the bug Files with paths longer than MAX_PATH (260 char) fail.

How to Reproduce Create a file with a long name like below... Some Video - With A long filename - S03E18-E21 - Random Words and Letters - The Long and Song + King's Sing Songs Melons - Master Of Oldies Sings Songs + Raging Vomit Comet - Into the Sky + Grim Reaper Does a Dance - On Your Grave Bluray-1080p - x265 - 10bit - AAC - 2.0.mp4 Then attempt to process it. It will fail.

Shorten the filename then try it again and it works.

Settings image

Desktop

OS: Windows 11 22H2 22621.1776 GPU Model: AMD Radeon 6800XT (Driver: 24.4.3) CPU Model: AMD Ryzen 5900X Amount of RAM: 32GB Amount of VRAM: 16GB Amount of Storage: 4TB

L0garithmic commented 1 year ago

Just had this same issue. No warning. Just kept failing.

AaronFeng753 commented 1 year ago

Thanks for reporting this bug, definitely will be fixed in the future updates, I will reply to this issue when there are new developments about this