-
Notifications
You must be signed in to change notification settings - Fork 11
Description
This happens with AV1, 264 and 265. The last working version was 1.1.7, since then it hasn't worked.
Version: Anime4K-GUI (1.2.2)
Authors: mikigal, Ethan (core libplacebo stuff)
Special thanks to bloc97 for Anime4K shaders
Drag n' drop your video files into this window (supported extensions: mp4, avi, mkv)
[15:25:51] Detected GPUs (1):
[15:25:51] [Debug] GPU ID: 0, Vendor: advanced micro devices, inc.
[15:25:51] 1. AMD Radeon RX 7900 XT
[15:25:51] Available GPU acceleration: AMF
[15:25:53] Added file C:\Users\prime\Desktop\Sakamoto Days - S01E07 - Jurassic Bastard.mkv
[15:25:58] Started upscaling! Upscaled videos will be saved in original directory, with _upscaled suffix in files name
[15:25:58] [Debug] CV value:
[15:25:58] Processing Sakamoto Days - S01E07 - Jurassic Bastard.mkv (1 / 1)...
[15:25:58] [Debug] Working directory: C:\Users\prime\Downloads\Anime4K-GUI
[15:25:58] [Debug] Input path: C:\Users\prime\Desktop\Sakamoto Days - S01E07 - Jurassic Bastard.mkv
[15:25:58] [Debug] Output path: C:\Users\prime\Desktop\Sakamoto Days - S01E07 - Jurassic Bastard_upscaled.mkv
[15:25:58] [Debug] Target resolution: 1920x1080
[15:25:58] [Debug] Shaders: shaders/Anime4K_ModeA.glsl
[15:25:58] [Debug] Output format: mkv
[15:25:58] [Debug] FFMPEG command: .\ffmpeg.exe\ffmpeg.exe -hide_banner -y -hwaccel_device opencl -i C:\Users\prime\Desktop\Sakamoto Days - S01E07 - Jurassic Bastard.mkv -init_hw_device vulkan -vf format=yuv420p,hwupload,libplacebo=w=1920:h=1080:upscaler=ewa_lanczos:custom_shader_path=shaders/Anime4K_ModeA.glsl,format=yuv420p -c:a copy -c:s copy -c:d copy -map 0:0 -map 0:1 -map 0:2 -map 0:3 -rc cq -cq 18 -b:v 0 -c:v h264_amf -preset slow C:\Users\prime\Desktop\Sakamoto Days - S01E07 - Jurassic Bastard_upscaled.mkv
[15:25:59] [Debug] Input #0, matroska,webm, from 'C:\Users\prime\Desktop\Sakamoto Days - S01E07 - Jurassic Bastard.mkv':
[15:25:59] [Debug] Metadata:
[15:25:59] [Debug] encoder : libebml v1.4.5 + libmatroska v1.7.1
[15:25:59] [Debug] creation_time : 2025-09-28T14:25:18.000000Z
[15:25:59] [Debug] Duration: 00:25:15.58, start: 0.000000, bitrate: 5433 kb/s
[15:25:59] [Debug] Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
[15:25:59] [Debug] Metadata:
[15:25:59] [Debug] title : by ToonsHub
[15:25:59] [Debug] BPS : 4791746
[15:25:59] [Debug] DURATION : 00:25:15.473000000
[15:25:59] [Debug] NUMBER_OF_FRAMES: 36335
[15:25:59] [Debug] NUMBER_OF_BYTES : 907720396
[15:25:59] [Debug] _STATISTICS_WRITING_APP: mkvmerge v95.0 ('Goodbye Stranger') 64-bit
[15:25:59] [Debug] _STATISTICS_WRITING_DATE_UTC: 2025-09-28 14:25:18
[15:25:59] [Debug] _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[15:25:59] [Debug] Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
[15:25:59] [Debug] Metadata:
[15:25:59] [Debug] title : English
[15:25:59] [Debug] BPS : 640000
[15:25:59] [Debug] DURATION : 00:25:15.584000000
[15:25:59] [Debug] NUMBER_OF_FRAMES: 47362
[15:25:59] [Debug] NUMBER_OF_BYTES : 121246720
[15:25:59] [Debug] _STATISTICS_WRITING_APP: mkvmerge v95.0 ('Goodbye Stranger') 64-bit
[15:25:59] [Debug] _STATISTICS_WRITING_DATE_UTC: 2025-09-28 14:25:18
[15:25:59] [Debug] _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[15:25:59] [Debug] Stream #0:2(eng): Subtitle: subrip (srt) (forced)
[15:25:59] [Debug] Metadata:
[15:25:59] [Debug] title : English (Forced)
[15:25:59] [Debug] BPS : 1
[15:25:59] [Debug] DURATION : 00:21:06.557000000
[15:25:59] [Debug] NUMBER_OF_FRAMES: 18
[15:25:59] [Debug] NUMBER_OF_BYTES : 291
[15:25:59] [Debug] _STATISTICS_WRITING_APP: mkvmerge v95.0 ('Goodbye Stranger') 64-bit
[15:25:59] [Debug] _STATISTICS_WRITING_DATE_UTC: 2025-09-28 14:25:18
[15:25:59] [Debug] _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[15:25:59] [Debug] Stream #0:3(eng): Subtitle: subrip (srt)
[15:25:59] [Debug] Metadata:
[15:25:59] [Debug] title : English
[15:25:59] [Debug] BPS : 74
[15:25:59] [Debug] DURATION : 00:21:47.931000000
[15:25:59] [Debug] NUMBER_OF_FRAMES: 377
[15:25:59] [Debug] NUMBER_OF_BYTES : 12249
[15:25:59] [Debug] _STATISTICS_WRITING_APP: mkvmerge v95.0 ('Goodbye Stranger') 64-bit
[15:25:59] [Debug] _STATISTICS_WRITING_DATE_UTC: 2025-09-28 14:25:18
[15:25:59] [Debug] _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[15:25:59] [Debug] [h264_amf @ 000003030f750200] [Eval @ 000000f62f7fcfe0] Undefined constant or missing '(' in 'cq'
[15:25:59] [Debug] [h264_amf @ 000003030f750200] Unable to parse option value "cq"
[15:25:59] [Debug] [h264_amf @ 000003030f750200] Error setting option rc to value cq.
[15:25:59] [Debug] [vost#0:0/h264_amf @ 000003030945fc40] Error applying encoder options: Invalid argument
[15:25:59] [Debug] Error opening output file C:\Users\prime\Desktop\Sakamoto Days - S01E07 - Jurassic Bastard_upscaled.mkv.
[15:25:59] [Debug] Error opening output files: Invalid argument
[15:25:59] Critical error occurred, upscaling has been stopped
[15:25:59] Please make issue on GitHub with logs, upscaling settings and your computer specification
[15:25:59] FFMPEG Error:
[15:25:59] exit status 0xffffffea
[15:25:59] Critical error occurred, upscaling has been stopped
[15:25:59] Please make issue on GitHub with logs, upscaling settings and your computer specification
[15:25:59] FFMPEG logs:
[15:25:59] Input #0, matroska,webm, from 'C:\Users\prime\Desktop\Sakamoto Days - S01E07 - Jurassic Bastard.mkv':
Metadata:
encoder : libebml v1.4.5 + libmatroska v1.7.1
creation_time : 2025-09-28T14:25:18.000000Z
Duration: 00:25:15.58, start: 0.000000, bitrate: 5433 kb/s
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
title : by ToonsHub
BPS : 4791746
DURATION : 00:25:15.473000000
NUMBER_OF_FRAMES: 36335
NUMBER_OF_BYTES : 907720396
_STATISTICS_WRITING_APP: mkvmerge v95.0 ('Goodbye Stranger') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2025-09-28 14:25:18
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
Metadata:
title : English
BPS : 640000
DURATION : 00:25:15.584000000
NUMBER_OF_FRAMES: 47362
NUMBER_OF_BYTES : 121246720
_STATISTICS_WRITING_APP: mkvmerge v95.0 ('Goodbye Stranger') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2025-09-28 14:25:18
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: subrip (srt) (forced)
Metadata:
title : English (Forced)
BPS : 1
DURATION : 00:21:06.557000000
NUMBER_OF_FRAMES: 18
NUMBER_OF_BYTES : 291
_STATISTICS_WRITING_APP: mkvmerge v95.0 ('Goodbye Stranger') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2025-09-28 14:25:18
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(eng): Subtitle: subrip (srt)
Metadata:
title : English
BPS : 74
DURATION : 00:21:47.931000000
NUMBER_OF_FRAMES: 377
NUMBER_OF_BYTES : 12249
_STATISTICS_WRITING_APP: mkvmerge v95.0 ('Goodbye Stranger') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2025-09-28 14:25:18
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[h264_amf @ 000003030f750200] [Eval @ 000000f62f7fcfe0] Undefined constant or missing '(' in 'cq'
[h264_amf @ 000003030f750200] Unable to parse option value "cq"
[h264_amf @ 000003030f750200] Error setting option rc to value cq.
[vost#0:0/h264_amf @ 000003030945fc40] Error applying encoder options: Invalid argument
Error opening output file C:\Users\prime\Desktop\Sakamoto Days - S01E07 - Jurassic Bastard_upscaled.mkv.
Error opening output files: Invalid argument