SebiAi / custom-nothing-glyph-tools

A repo containing scripts and tools for creating custom Nothing Glyph compositions.
GNU General Public License v3.0
248 stars 18 forks source link

[BUG] ffmpeg error #20

Closed taiixu closed 9 months ago

taiixu commented 9 months ago

When I use GlyphModder, the audio file size becomes 0 bytes. I used ffmpeg directly and this is the error I got:

image image2

SebiAi commented 9 months ago

First thing I noticed: You have the wrong codec. You have vorbis but you need opus - see here.

Try fixing that and then check if the error still happens.

If it does, provide me with the following info:

Can you also attach the glypha file and glyphc1 file?

taiixu commented 9 months ago

Re-encoding didn't solve my problem https://cdn.discordapp.com/attachments/544797896042741769/1205918478104797294/2024-02-10_19-42-55.mp4?ex=65da1e1a&is=65c7a91a&hm=ec4bc7fe4d9d48d511edaba39516f1289451b8383e68b23dbb88def34b54e148&

ffmpeg version N-55702-g920046a
built on Aug 21 2013 18:10:00 with gcc 4.7.3 (GCC)
configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil      52. 42.100 / 52. 42.100
libavcodec     55. 29.100 / 55. 29.100
libavformat    55. 14.101 / 55. 14.101
libavdevice    55.  3.100 / 55.  3.100
libavfilter     3. 82.100 /  3. 82.100
libswscale      2.  5.100 /  2.  5.100
libswresample   0. 17.103 /  0. 17.103
libpostproc    52.  3.100 / 52.  3.100

python version: 3.12.1

glypha: https://cdn.discordapp.com/attachments/544797896042741769/1205920114365562952/label.glypha?ex=65da1fa0&is=65c7aaa0&hm=491c7e8eb139907a6f8d64ef85d6e20030df45479e426d7c68b0bd9e5391a2ad&

glyphc1: https://cdn.discordapp.com/attachments/544797896042741769/1205920129775308820/label.glyphc1?ex=65da1fa3&is=65c7aaa3&hm=932778355a8621f1e0979091a1e6f8e0554ed97e0c7085ae5e6b24d711cdc096&

SebiAi commented 9 months ago

Seems like your ffmpeg version is quite old (2013). Please follow these steps and see if that fixes it:

  1. Download the latest ffmpeg build from here
  2. Extract the zip
  3. Use the --ffmpeg parameter in the GlyphModder to pass in the full path to the ffmpeg binary you just extracted (drag in the executable into the terminal window to auto complete the path)
taiixu commented 9 months ago

Oh, thanks, that solved the problem.