C4illin / ConvertX

💾 Self-hosted online file converter. Supports 700+ formats
GNU Affero General Public License v3.0
20 stars 1 forks source link

Large files do not upload #64

Open ImWez opened 3 days ago

ImWez commented 3 days ago

The upload doesn't happen or the code tries to convert the file before the upload finishes

I tested a few files of different sizes, files up to 30mb convert, sometimes it gives an error, i checked the logs and it says the file doesnt exists, files larger than 100mb always say the file doesnt exists

timswhatever commented 2 days ago

Having same issue, in logs im seeing:

./data/uploads/1/70/A001_01271339_C070.mov: No such file or directory Failed to convert ./data/uploads/1/70/A001_01271339_C070.mov from mov to mp4 using ffmpeg. error: Error: Command failed: ffmpeg -i "./data/uploads/1/70/A001_01271339_C070.mov" "./data/output/1/70/A001_01271339_C070.mp4" ffmpeg version 6.0.1 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12.2.1 (Alpine 12.2.1_git20220924-r10) 20220924 configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gnutls --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 / 60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 5. 0.100 / 5. 0.100 libpostproc 57. 1.100 / 57. 1.100 ./data/uploads/1/70/A001_01271339_C070.mov: No such file or directory 7 | throw err.code = "ERR_INVALID_ARG_TYPE", err; 8 | } 9 | } 10 | var setup = () => { 11 | const { FixedQueue } = @getInternalField(@internalModuleRegistry, 3) || @createInternalModuleById(3);

  • | function processTicksAndRejections() { ENOENT: No such file or directory  errno: -2 syscall: "open" path: "./data/output/1/70/A001_01271339_C070.mp4" jobId set to: 71 jobId set to: 72