cdgriffith / FastFlix

FastFlix is a free GUI for H.264, HEVC and AV1 hardware and software encoding!
https://fastflix.org/
MIT License
1.18k stars 59 forks source link

Error Converting Video Clips To Avifs #604

Open DJboutit opened 3 months ago

DJboutit commented 3 months ago

1 out of 8 videos I try to convert to Avifs I get a error and it will not covert the the video restarting my computer fix this issue some of the time. I am using version 5.8.0

Here is a copy of my log file

ffmpeg version N-116627-g374824cbc7-20240814 Copyright (c) 2000-2024 the FFmpeg developers built with gcc 14.2.0 (crosstool-NG 1.26.0.106_ed12fa6) configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-libxml2 --enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-libzmq --enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libvvenc --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra-ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc --cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar --ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm --extra-version=20240814 libavutil 59. 34.100 / 59. 34.100 libavcodec 61. 11.100 / 61. 11.100 libavformat 61. 5.101 / 61. 5.101 libavdevice 61. 2.100 / 61. 2.100 libavfilter 10. 2.102 / 10. 2.102 libswscale 8. 2.100 / 8. 2.100 libswresample 5. 2.100 / 5. 2.100 libpostproc 58. 2.100 / 58. 2.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Onlyfans\Amanda Cerny\62f31e50851f75037090b815965da45c.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2022-10-09T19:58:02.000000Z Duration: 00:00:57.03, start: 0.000000, bitrate: 1814 kb/s Stream #0:00x1: Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, progressive), 720x1280 [SAR 1:1 DAR 9:16], 1686 kb/s, 30 fps, 30 tbr, 30k tbn (default) Metadata: creation_time : 2022-10-09T19:58:03.000000Z handler_name : Mainconcept MP4 Video Media Handler vendor_id : [0][0][0][0] encoder : AVC Coding Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default) Metadata: creation_time : 2022-10-09T19:58:03.000000Z handler_name : Mainconcept MP4 Sound Media Handler vendor_id : [0][0][0][0] Stream mapping: Stream #0:0 (h264) -> scale:default setsar:default -> Stream #0:0 (libsvtav1) Press [q] to stop, [?] for help Svt[info]: ------------------------------------------- Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v2.1.2-61-g21a1154a Svt[info]: SVT [build] : GCC 14.2.0 64 bit Svt[info]: LIB Build date: Aug 10 2024 03:42:54 Svt[info]: ------------------------------------------- Svt[error]: Error Instance 1: Source Height must be even for YUV_420 colorspace [libsvtav1 @ 0000019364bf3b40] Error setting encoder parameters: bad parameter (0x80001005) [vost#0:0/libsvtav1 @ 0000019362d47f00] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height. [fc#0 @ 0000019362cf74c0] Error sending frames to consumers: Invalid argument [fc#0 @ 0000019362cf74c0] Task finished with error code: -22 (Invalid argument) [fc#0 @ 0000019362cf74c0] Terminating thread with return code -22 (Invalid argument) [vost#0:0/libsvtav1 @ 0000019362d47f00] Could not open encoder before EOF [vost#0:0/libsvtav1 @ 0000019362d47f00] Task finished with error code: -22 (Invalid argument) [vost#0:0/libsvtav1 @ 0000019362d47f00] Terminating thread with return code -22 (Invalid argument) [out#0/avif @ 0000019362d1e580] 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= 0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!

cdgriffith commented 3 months ago

Hi @DJboutit, can you provide the raw command used? You can go to "Help > Open Log Directory" and can find an encoding that failed and grab the command at the top where the line says"- Running command: "