Skip to content

Linux AppImage doesn't work with realesgran-plus --scaling-factor 2 #1368

@hyvenglaven

Description

@hyvenglaven

Describe the bug
I am very new to the software and experimenting with different settings, with the goal to enhance older home videos. The examples provided in the --help menu work, but I run into errors when deviating from these. For instance, a scaling factor of 4 works for realesrgan-plus, but 2 does not.

To Reproduce

./Video2X-x86_64.AppImage -i standard-test.mp4 -o stardard-test-output.mp4 -s 2 -p realesrgan --realesrgan-model realesrgan-plus

Expected behavior
Not crashing.

Actual behavior
Crashes, with following message:

[2025-04-10 13:03:37] [info] Video2X version 6.4.0
[2025-04-10 13:03:37] [info] Processing file: standard-test.mp4
[2025-04-10 13:03:37] [info] Using Vulkan device: NVIDIA GeForce RTX 5070 Ti (0x2c05)
[2025-04-10 13:03:37] [info] Press [space] to pause/resume, [q] to abort.
[2025-04-10 13:03:37] [info] [FFmpeg] [libx264 @ 0x78004c3a7000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
[2025-04-10 13:03:37] [info] [FFmpeg] [libx264 @ 0x78004c3a7000] profile High, level 3.0, 4:2:0, 8-bit
[2025-04-10 13:03:37] [info] [FFmpeg] [libx264 @ 0x78004c3a7000] 264 - core 164 r3108 31e19f9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[2025-04-10 13:03:37] [error] Real-ESRGAN model param file not found: models/realesrgan/realesrgan-plus-x2.param
[2025-04-10 13:03:37] [critical] Failed to initialize filter: Operation not permitted
[2025-04-10 13:03:37] [critical] Video processing failed with error code -1

Environment:

  • OS: Ubuntu 25.04 Beta
  • GPU: e.g., NVIDIA GeForce RTX 5070 Ti
  • Video2X Version: 6.4.0

Additional context
My attempt to run with -s 2 above was to improve the processing speed and reduce the output file size, which I'm also interested in as I was only getting ~ 1 fps on my GPU with -s 4.

If you have any general tips for initial settings that work well for enhancing/upscaling non-anime videos, and settings to tweak, that would be really helpful. I'm flying a bit blind, and I'm not sure which settings are most important, and which combinations are valid.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:DoneThis issue has been resolved/dismissedtype:BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions