Skip to content

Error opening input files: Invalid data found when processing input #53

@DavidHolandaOne

Description

@DavidHolandaOne

For some reason, I can't upscale the video regardless of what I do, tried to set "No" for "chain_1_rife_model" in animejanai.conf and it always comes back to none.
The video plays fine normally, so it might not be the issue, as this same issue happen with any video I set in

Upscaling with command: python\VSPipe.exe -c y4m --arg "slot=1" --arg "video_path=E:\DHArquivos\Sources\Detective Conan\test\[SOFCJ-Raws] Detective Conan OVA 2 - 16 Suspects! (DVDRip 768x576 HEVC VFR 10bit AC3).mkv" "C:\Users\DAVID HOLANDA\AppData\Local\VideoJaNai\current\backend\animejanai\core\animejanai_encode.vpy" - | "C:\Users\DAVID HOLANDA\AppData\Roaming\VideoJaNai\ffmpeg\ffmpeg.exe"  -i pipe: -i "E:\DHArquivos\Sources\Detective Conan\test\[SOFCJ-Raws] Detective Conan OVA 2 - 16 Suspects! (DVDRip 768x576 HEVC VFR 10bit AC3).mkv" -map 0:v -c:v libx264 -crf 13 -preset slow -max_interleave_delta 0 -max_interleave_delta 0 -map 1:t? -map 1:a?  -map 1:s? -c:t copy -c:a copy -c:s copy "E:\DHArquivos\Sources\Detective Conan\Remastered OVAs\[SOFCJ-Raws] Detective Conan OVA 2 - 16 Suspects! (DVDRip 768x576 HEVC VFR 10bit AC3)-animejanai.mkv"
ffmpeg version 2025-11-10-git-133a0bcb13-essentials_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers
  built with gcc 15.2.0 (Rev8, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-cairo --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-openal --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      60. 17.100 / 60. 17.100
  libavcodec     62. 19.100 / 62. 19.100
  libavformat    62.  6.101 / 62.  6.101
  libavdevice    62.  2.100 / 62.  2.100
  libavfilter    11.  9.100 / 11.  9.100
  libswscale      9.  3.100 /  9.  3.100
  libswresample   6.  2.100 /  6.  2.100
run_animejanai slot 1 chain_1
chain_conf {'min_px': 0.0, 'max_px': inf, 'min_resolution': '0x0', 'max_resolution': '0x0', 'min_fps': 0.0, 'max_fps': inf, 'models': [{'resize_factor_before_upscale': 100.0, 'resize_height_before_upscale': 1080.0, 'name': 'digital_pokemon_omnisr_1_1_0'}], 'rife': False, 'rife_factor_numerator': 1, 'rife_factor_denominator': 1, 'rife_model': 422, 'rife_ensemble': False, 'rife_scene_detect_threshold': 0.15, 'final_resize_height': 1080.0, 'final_resize_factor': 100.0, 'tensorrt_engine_settings': ''}
upscale2x: scaling 2x from 1440x1080 with engine=digital_pokemon_omnisr_1_1_0; num_streams=4
upscale2x: scaling 2x from 1440x1080 with engine=digital_pokemon_omnisr_1_1_0; num_streams=4
Script evaluation failed:
Python exception: No attribute with the name ort exists. Did you mistype a plugin namespace or forget to install a plugin?
Traceback (most recent call last):
  File "C:\Users\DAVID HOLANDA\AppData\Local\VideoJaNai\current\backend\animejanai\core\animejanai_core.py", line 203, in run_animejanai
    clip = run_animejanai_upscale(clip, backend, model_conf, trt_settings, num_streams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\DAVID HOLANDA\AppData\Local\VideoJaNai\current\backend\animejanai\core\animejanai_core.py", line 256, in run_animejanai_upscale
    return upscale2x(clip, backend, model_conf['name'], num_streams, trt_settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\DAVID HOLANDA\AppData\Local\VideoJaNai\current\backend\animejanai\core\animejanai_core.py", line 121, in upscale2x
    return core.ort.Model(
           ^^^^^^^^
  File "src\\cython\\vapoursynth.pyx", line 2895, in vapoursynth._CoreProxy.__getattr__
  File "src\\cython\\vapoursynth.pyx", line 2701, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name ort exists. Did you mistype a plugin namespace or forget to install a plugin?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "src\\cython\\vapoursynth.pyx", line 3387, in vapoursynth._vpy_evaluate
  File "src\\cython\\vapoursynth.pyx", line 3388, in vapoursynth._vpy_evaluate
  File "C:\Users\DAVID HOLANDA\AppData\Local\VideoJaNai\current\backend\animejanai\core\animejanai_encode.vpy", line 20, in <module>
    animejanai_core.run_animejanai_with_keybinding(clip, clip.fps, slot)
  File "C:\Users\DAVID HOLANDA\AppData\Local\VideoJaNai\current\backend\animejanai\core\animejanai_core.py", line 289, in run_animejanai_with_keybinding
    run_animejanai(clip, container_fps, chain_conf, config['global']['backend'])
  File "C:\Users\DAVID HOLANDA\AppData\Local\VideoJaNai\current\backend\animejanai\core\animejanai_core.py", line 213, in run_animejanai
    clip = run_animejanai_upscale(clip, backend, model_conf, trt_settings, num_streams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\DAVID HOLANDA\AppData\Local\VideoJaNai\current\backend\animejanai\core\animejanai_core.py", line 256, in run_animejanai_upscale
    return upscale2x(clip, backend, model_conf['name'], num_streams, trt_settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\DAVID HOLANDA\AppData\Local\VideoJaNai\current\backend\animejanai\core\animejanai_core.py", line 121, in upscale2x
    return core.ort.Model(
           ^^^^^^^^
  File "src\\cython\\vapoursynth.pyx", line 2895, in vapoursynth._CoreProxy.__getattr__
  File "src\\cython\\vapoursynth.pyx", line 2701, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name ort exists. Did you mistype a plugin namespace or forget to install a plugin?
[in#0 @ 0000023459c6bd00] Error opening input: Invalid data found when processing input
Error opening input file pipe:.
Error opening input files: Invalid data found when processing input

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions