Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error] RealESRGAN model param file not found: models/realesrgan/realesr-animevideov3-x4.param #1243

Closed
kernel-my opened this issue Nov 27, 2024 · 2 comments
Labels
state:Done This issue has been resolved/dismissed

Comments

@kernel-my
Copy link

hi:
i use ubuntu20.04 build video2x
but,operation

./video2x -i vtest.avi -o test.avi -f realesrgan -r 2 -m realesrgan-plus

_MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

          [2024-11-27 13:57:54.215] [info] Video2X version 6.1.1
          [2024-11-27 13:57:54.215] [info] Processing file: vtest.avi
          [2024-11-27 13:57:54.215] [info] Press [space] to pause/resume, [q] to abort.
          [libx264 @ 0x7fb97c02ef80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
          [libx264 @ 0x7fb97c02ef80] profile High, level 4.0
          [2024-11-27 13:57:54.227] [error] RealESRGAN model param file not found: models/realesrgan/realesrgan-plus-x2.param
          [2024-11-27 13:57:54.227] [critical] Failed to initialize filter
          [2024-11-27 13:57:54.316] [critical] Video processing failed with error code -1

_

and ./video2x -i vtest.avi -o output.avi -f libplacebo -s libplacebo/anime4k-v4-a+a.glsl -w 3840 -h 2160
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

    [2024-11-27 11:44:47.515] [info] Video2X version 6.1.1
    [2024-11-27 11:44:47.515] [info] Processing file: vtest.avi
    [2024-11-27 11:44:47.515] [info] Press [space] to pause/resume, [q] to abort.
    [libx264 @ 0x7f2d2802ef80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x7f2d2802ef80] profile High, level 5.1
    [2024-11-27 11:44:47.542] [warning] Option 'colorspace' is not supported by the buffer filter.
    [2024-11-27 11:44:47.542] [warning] Option 'range' is not supported by the buffer filter.
    [2024-11-27 11:44:47.542] [error] Filter 'libplacebo' not found.
    [2024-11-27 11:44:47.543] [critical] Failed to initialize filter
    [2024-11-27 11:44:47.615] [critical] Video processing failed with error code -1279870712

Always report errors

@github-actions github-actions bot added the state:Backlog This issue will be worked on in the future label Nov 27, 2024
@k4yt3x
Copy link
Owner

k4yt3x commented Nov 27, 2024

For your first error, the realesrgan-plus model only supports 4x, so set -r 4.

For the second error, FFmpeg on Ubuntu 20.04 is simply too old and built without libplacebo. Use the FFmepg on 24.04.

@k4yt3x k4yt3x added type:Question state:InProgress This issue is being worked on and removed state:Backlog This issue will be worked on in the future labels Nov 27, 2024
@kernel-my
Copy link
Author

Thanks. I'll try

@github-actions github-actions bot added state:Done This issue has been resolved/dismissed and removed state:InProgress This issue is being worked on labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:Done This issue has been resolved/dismissed
Projects
None yet
Development

No branches or pull requests

2 participants