mikigal / Anime4K-GUI

GUI application for Anime4K shaders which allows to save upscaled video to disk
88 stars 7 forks source link

FFMPEG Error: exit status 0xc0000005 #7

Closed Dlibu closed 8 months ago

Dlibu commented 11 months ago

I don't really have much of a clue what's wrong. I don't. When I upload another version of ffmpeg, I get another error

`[20:14:21] Detected GPUs (2): [20:14:21] 1. Virtual Desktop Monitor [20:14:21] 2. AMD Radeon (TM) R9 380 Series [20:14:21] Available GPU acceleration: AMF [20:14:26] Added file C:\Users\Vladimir\Downloads\「Avid」86 - Eighty Six _ AMV.mp4 [20:14:27] Started upscaling! Upscaled videos will be saved in original directory, with upscaled suffix in files name [20:14:27] Processing 「Avid」86 - Eighty Six AMV.mp4 (1 / 1)...

[20:14:28] Critical error occurred, upscaling has been stopped [20:14:28] Please make issue on GitHub with logs, upscaling settings and your computer specification

[20:14:28] FFMPEG Error: [20:14:28] exit status 0xc0000005

[20:14:28] Critical error occurred, upscaling has been stopped [20:14:28] Please make issue on GitHub with logs, upscaling settings and your computer specification

[20:14:28] FFMPEG logs: [20:14:28] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Vladimir\Downloads\「Avid」86 - Eighty Six _ AMV.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2021-08-18T08:52:25.000000Z Duration: 00:04:08.64, start: 0.000000, bitrate: 1124 kb/s Stream #0:00x1: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 993 kb/s, 24 fps, 24 tbr, 12288 tbn (default) Metadata: creation_time : 2021-08-18T08:52:25.000000Z handler_name : ISO Media file produced by Google Inc. Created on: 08/18/2021. vendor_id : [0][0][0][0] Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default) Metadata: creation_time : 2021-08-18T08:52:25.000000Z handler_name : ISO Media file produced by Google Inc. Created on: 08/18/2021. vendor_id : [0][0][0][0] [out#0/mp4 @ 0000027361568c00] Codec AVOption preset (Encoding preset) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_amf))`

mikigal commented 11 months ago

Please send me your input file. Issue may be related to non-standard input file encoding

Dlibu commented 11 months ago

I've downloaded edits from youtube, several of them, none of them worked. Also tried with other different videos. All of them were mp4(in h264) Edit. Maybe there is just a command for cmd? I looked in the questions on anime4k. I get a lot of errors and i don't understand why))) i'm very bad at this field, but i need good quality anime without traditional upscaling(topaz video and others)

mikigal commented 11 months ago

Hi, please check do you still have this issue with version v1.0.7 (https://github.com/mikigal/Anime4K-GUI/releases/tag/v1.0.7) If issue still exists with h264_amf please try with CPU-based codec

Dlibu commented 11 months ago

I gratefully thank you, but nothing new) 0xc0000005 again at any combination

Dlibu commented 11 months ago

i think its problem with my win11 build

Pixellevel commented 10 months ago

Hi, please check do you still have this issue with version v1.0.7 (https://github.com/mikigal/Anime4K-GUI/releases/tag/v1.0.7) If issue still exists with h264_amf please try with CPU-based codec

Version: Anime4K-GUI (1.0.9) Authors: mikigal (whole app + FFMPEG tweaks), Ethan (core FFMPEG stuff) Special thanks to bloc97 for Anime4K shaders Drag n' drop your video files into this window (supported extensions: mp4, avi, mkv)

[00:54:00] Detected GPUs (2): [00:54:00] 1. OrayIddDriver Device [00:54:00] 2. NVIDIA GeForce GTX 970 [00:54:00] Available GPU acceleration: CUDA + NVENC

[00:54:21] Critical error occurred, upscaling has been stopped [00:54:21] Please make issue on GitHub with logs, upscaling settings and your computer specification

[00:54:21] FFPROBE error [00:54:21] error running .\ffmpeg\ffprobe.exe [] exit status 1

I also encountered a similar problem. I tried the following but failed. Convert system language to English, Use input files with 1920X1080 resolution Installed all runtime libraries used for playing games I am using win11 and I have the same problem as the win10 cloud host.

Every time I drag a file into the window, it displays an error message within 10 seconds Can you try to test this software after reinstalling the system, or use a virtual machine? I think this problem is definitely universal

mikigal commented 10 months ago

I won't reinstall OS to test app. Also it won't work on VM without GPU passthrough. Please enable debug mode and send logs again

Pixellevel commented 10 months ago

I won't reinstall OS to test app. Also it won't work on VM without GPU passthrough. Please enable debug mode and send logs again

I use a desktop computer. Is not the notebook should not have the problem of GPU through? Debug mode doesn't work either. Same mistake. I've given up.

DavidWilliam11 commented 10 months ago

Hi, I got the same problem here, could you fix this? Here is my log: [15:07:44] Detected GPUs (1): [15:07:44] 1. Intel(R) Iris(R) Plus Graphics [15:07:44] Available GPU acceleration: QSV [15:07:53] Added file D:\Shoujo Commando IZUMI 00-15 Full Series Batch MKV[Big Nova] Shoujo Commando IZUMI - 00 (9AD1DD55).mkv [15:07:57] Started upscaling! Upscaled videos will be saved in original directory, with _upscaled suffix in files name [15:07:57] [Debug] CV value: [15:07:57] Processing [Big Nova] Shoujo Commando IZUMI - 00 (9AD1DD55).mkv (1 / 1)... [15:07:57] [Debug] Working directory: C:\Users\ADMIN\Downloads\Anime4K-GUI\Anime4K-GUI [15:07:57] [Debug] Input path: D:\Shoujo Commando IZUMI 00-15 Full Series Batch MKV[Big Nova] Shoujo Commando IZUMI - 00 (9AD1DD55).mkv [15:07:57] [Debug] Output path: D:\Shoujo Commando IZUMI 00-15 Full Series Batch MKV[Big Nova] Shoujo Commando IZUMI - 00 (9AD1DD55)_upscaled.mp4 [15:07:57] [Debug] Target resolution: 1920x1080 [15:07:57] [Debug] Shaders: shaders/FSRCNNX_x2_16-0-4-1.glsl [15:07:57] [Debug] Output format: mp4 [15:07:57] [Debug] FFMPEG command: .\ffmpeg.exe\ffmpeg.exe -hide_banner -y -hwaccel vulkan -i D:\Shoujo Commando IZUMI 00-15 Full Series Batch MKV[Big Nova] Shoujo Commando IZUMI - 00 (9AD1DD55).mkv -init_hw_device vulkan -vf format=yuv420p,hwupload,libplacebo=w=1920:h=1080:upscaler=ewa_lanczos:custom_shader_path=shaders/FSRCNNX_x2_16-0-4-1.glsl,hwdownload,format=yuv420p -c:a copy -c:s mov_text -map 0 -c:v h264_qsv -preset slow D:\Shoujo Commando IZUMI 00-15 Full Series Batch MKV[Big Nova] Shoujo Commando IZUMI - 00 (9AD1DD55)_upscaled.mp4 [15:07:57] [Debug] Input #0, matroska,webm, from 'D:\Shoujo Commando IZUMI 00-15 Full Series Batch MKV[Big Nova] Shoujo Commando IZUMI - 00 (9AD1DD55).mkv': [15:07:57] [Debug] Metadata: [15:07:57] [Debug] encoder : libebml v1.3.6 + libmatroska v1.4.9 [15:07:57] [Debug] creation_time : 2020-04-26T18:36:57.000000Z [15:07:57] [Debug] Duration: 00:00:20.04, start: 0.000000, bitrate: 1389 kb/s [15:07:57] [Debug] Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 656x480 [SAR 1:1 DAR 41:30], 23.98 fps, 23.98 tbr, 1k tbn (default) [15:07:57] [Debug] Metadata: [15:07:57] [Debug] BPS-eng : 1278062 [15:07:57] [Debug] DURATION-eng : 00:00:20.020000000 [15:07:57] [Debug] NUMBER_OF_FRAMES-eng: 480 [15:07:57] [Debug] NUMBER_OF_BYTES-eng: 3198352 [15:07:57] [Debug] _STATISTICS_WRITING_APP-eng: mkvmerge v30.1.0 ('Forever And More') 64-bit [15:07:57] [Debug] _STATISTICS_WRITING_DATE_UTC-eng: 2020-04-26 18:36:57 [15:07:57] [Debug] _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES [15:07:57] [Debug] Stream #0:1: Audio: mp3, 48000 Hz, stereo, fltp, 128 kb/s (default) [15:07:57] [Debug] Metadata: [15:07:57] [Debug] BPS-eng : 106692 [15:07:57] [Debug] DURATION-eng : 00:00:20.040000000 [15:07:57] [Debug] NUMBER_OF_FRAMES-eng: 835 [15:07:57] [Debug] NUMBER_OF_BYTES-eng: 267264 [15:07:57] [Debug] _STATISTICS_WRITING_APP-eng: mkvmerge v30.1.0 ('Forever And More') 64-bit [15:07:57] [Debug] _STATISTICS_WRITING_DATE_UTC-eng: 2020-04-26 18:36:57 [15:07:57] [Debug] _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES [15:07:57] [Debug] Stream #0:2: Subtitle: ass (default) [15:07:57] [Debug] Metadata: [15:07:57] [Debug] BPS-eng : 100 [15:07:57] [Debug] DURATION-eng : 00:00:19.680000000 [15:07:57] [Debug] NUMBER_OF_FRAMES-eng: 5 [15:07:57] [Debug] NUMBER_OF_BYTES-eng: 246 [15:07:57] [Debug] _STATISTICS_WRITING_APP-eng: mkvmerge v30.1.0 ('Forever And More') 64-bit [15:07:57] [Debug] _STATISTICS_WRITING_DATE_UTC-eng: 2020-04-26 18:36:57 [15:07:57] [Debug] _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES [15:07:57] [Debug] Stream mapping: [15:07:57] [Debug] Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (h264_qsv)) [15:07:57] [Debug] Stream #0:1 -> #0:1 (copy) [15:07:57] [Debug] Stream #0:2 -> #0:2 (ass (ssa) -> mov_text (native)) [15:07:57] [Debug] Press [q] to stop, [?] for help [15:07:57] [Debug] Impossible to convert between the formats supported by the filter 'Parsed_format_0' and the filter 'auto_scale_0' [15:07:57] [Debug] [vf#0:0 @ 0000025f560e1340] Error reinitializing filters! [15:07:57] [Debug] [vf#0:0 @ 0000025f560e1340] Task finished with error code: -40 (Function not implemented) [15:07:57] [Debug] [vf#0:0 @ 0000025f560e1340] Terminating thread with return code -40 (Function not implemented) [15:07:57] [Debug] [vost#0:0/h264_qsv @ 0000025f58a761c0] Could not open encoder before EOF [15:07:57] [Debug] [vost#0:0/h264_qsv @ 0000025f58a761c0] Task finished with error code: -22 (Invalid argument) [15:07:57] [Debug] [vost#0:0/h264_qsv @ 0000025f58a761c0] Terminating thread with return code -22 (Invalid argument) [15:07:58] [Debug] [out#0/mp4 @ 0000025f55ff5240] Nothing was written into output file, because at least one of its streams received no packets. [15:07:58] [Debug] frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=N/A bitrate=N/A speed=N/A
[15:07:58] [Debug] Conversion failed!

[15:07:58] Critical error occurred, upscaling has been stopped [15:07:58] Please make issue on GitHub with logs, upscaling settings and your computer specification

[15:07:58] FFMPEG Error: [15:07:58] exit status 0xffffffd8

[15:07:58] Critical error occurred, upscaling has been stopped [15:07:58] Please make issue on GitHub with logs, upscaling settings and your computer specification

[15:07:58] FFMPEG logs: [15:07:58] Input #0, matroska,webm, from 'D:\Shoujo Commando IZUMI 00-15 Full Series Batch MKV[Big Nova] Shoujo Commando IZUMI - 00 (9AD1DD55).mkv': Metadata: encoder : libebml v1.3.6 + libmatroska v1.4.9 creation_time : 2020-04-26T18:36:57.000000Z Duration: 00:00:20.04, start: 0.000000, bitrate: 1389 kb/s Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 656x480 [SAR 1:1 DAR 41:30], 23.98 fps, 23.98 tbr, 1k tbn (default) Metadata: BPS-eng : 1278062 DURATION-eng : 00:00:20.020000000 NUMBER_OF_FRAMES-eng: 480 NUMBER_OF_BYTES-eng: 3198352 _STATISTICS_WRITING_APP-eng: mkvmerge v30.1.0 ('Forever And More') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-04-26 18:36:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1: Audio: mp3, 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: BPS-eng : 106692 DURATION-eng : 00:00:20.040000000 NUMBER_OF_FRAMES-eng: 835 NUMBER_OF_BYTES-eng: 267264 _STATISTICS_WRITING_APP-eng: mkvmerge v30.1.0 ('Forever And More') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-04-26 18:36:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2: Subtitle: ass (default) Metadata: BPS-eng : 100 DURATION-eng : 00:00:19.680000000 NUMBER_OF_FRAMES-eng: 5 NUMBER_OF_BYTES-eng: 246 _STATISTICS_WRITING_APP-eng: mkvmerge v30.1.0 ('Forever And More') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2020-04-26 18:36:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (h264_qsv)) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (ass (ssa) -> mov_text (native)) Press [q] to stop, [?] for help Impossible to convert between the formats supported by the filter 'Parsed_format_0' and the filter 'auto_scale_0' [vf#0:0 @ 0000025f560e1340] Error reinitializing filters! [vf#0:0 @ 0000025f560e1340] Task finished with error code: -40 (Function not implemented) [vf#0:0 @ 0000025f560e1340] Terminating thread with return code -40 (Function not implemented) [vost#0:0/h264_qsv @ 0000025f58a761c0] Could not open encoder before EOF [vost#0:0/h264_qsv @ 0000025f58a761c0] Task finished with error code: -22 (Invalid argument) [vost#0:0/h264_qsv @ 0000025f58a761c0] Terminating thread with return code -22 (Invalid argument) [out#0/mp4 @ 0000025f55ff5240] Nothing was written into output file, because at least one of its streams received no packets. frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=N/A bitrate=N/A speed=N/A
Conversion failed!

mikigal commented 8 months ago

@DavidWilliam11 Please verify with v1.1.0 - I fixed compatibility with ASS subtitles