libertyernie / LoopingAudioConverter

A converter frontend for loopable audio formats
180 stars 17 forks source link

Looping Audio Converter 3.1 extremely buggy #93

Closed Bonboon229 closed 5 months ago

Bonboon229 commented 1 year ago

Changing pitch causes an encoding error Changing Tempo causes an encoding error ANYTHING off the default settings causes an encoding error

Fix Your Program Dude

Edit: Contents of written log

LoopingAudioConverter.PCM.AudioImporterException: Could not read ffmpeg output: No data in stream ---> LoopingAudioConverter.WAV.WaveConverterException: No data in stream at LoopingAudioConverter.WAV.WaveConverter.FromStream(Stream stream) at LoopingAudioConverter.WAV.WaveConverter.FromFile(String filename, Boolean delete) at LoopingAudioConverter.FFmpeg.FFmpegEngine.<>cDisplayClass6_0.<gconvert|1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LoopingAudioConverter.FFmpeg.FFmpegEngine.d6.MoveNext() --- End of inner exception stack trace --- at LoopingAudioConverter.FFmpeg.FFmpegEngine.d6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at LoopingAudioConverter.Conversion.Converter.d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LoopingAudioConverter.Conversion.Converter.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LoopingAudioConverter.OptionsForm.d48.MoveNext()

Bonboon229 commented 1 year ago

Tried the new version. Nothing was fixed. Same Error. Also of note, VGAudio has not been updated in a very long time. Consider ditching it in favor of VGMStream.

libertyernie commented 1 year ago

Is VGMStream capable of creating files like .brstm, or can it only read them?

Bonboon229 commented 1 year ago

I'll make it a bit clearer. Every single file type errors if pitch/tempo is changed.

Bonboon229 commented 1 year ago

Edit: Contents of Log File for BRSTM

LoopingAudioConverter.PCM.AudioImporterException: Could not read ffmpeg output: Output file was empty when trying to apply effects, ffmpeg exit code: 1 - see files ffmpeg_stdout.txt, ffmpeg_stderr.txt for details ---> LoopingAudioConverter.PCM.AudioImporterException: Output file was empty when trying to apply effects, ffmpeg exit code: 1 - see files ffmpeg_stdout.txt, ffmpeg_stderr.txt for details at LoopingAudioConverter.FFmpeg.FFmpegEngine.<>cDisplayClass6_0.<gconvert|1>d.MoveNext() in C:\Users\GojiGoodra\Downloads\LoopingAudioConverter-version-3.0\LoopingAudioConverter.FFmpeg\FFmpegEngine.cs:line 205 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LoopingAudioConverter.FFmpeg.FFmpegEngine.d6.MoveNext() in C:\Users\GojiGoodra\Downloads\LoopingAudioConverter-version-3.0\LoopingAudioConverter.FFmpeg\FFmpegEngine.cs:line 216 --- End of inner exception stack trace --- at LoopingAudioConverter.FFmpeg.FFmpegEngine.d6.MoveNext() in C:\Users\GojiGoodra\Downloads\LoopingAudioConverter-version-3.0\LoopingAudioConverter.FFmpeg\FFmpegEngine.cs:line 240 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at LoopingAudioConverter.Conversion.Converter.d2.MoveNext() in C:\Users\GojiGoodra\Downloads\LoopingAudioConverter-version-3.0\LoopingAudioConverter.Conversion\Converter.cs:line 231 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LoopingAudioConverter.Conversion.Converter.d__0.MoveNext() in C:\Users\GojiGoodra\Downloads\LoopingAudioConverter-version-3.0\LoopingAudioConverter.Conversion\Converter.cs:line 116 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LoopingAudioConverter.OptionsForm.d48.MoveNext() in C:\Users\GojiGoodra\Downloads\LoopingAudioConverter-version-3.0\LoopingAudioConverter\OptionsForm.cs:line 444

Bonboon229 commented 1 year ago

Seems something got screwed up bigtime with ffmpeg

Of note, these problems only started I noticed when you replaced Sox with FFMPEG in 2.5

libertyernie commented 1 year ago

Do the files ffmpeg_stdout.txt, ffmpeg_stderr.txt exist? Is there anything in them?

Bonboon229 commented 1 year ago

I already deleted my copy of the project folder, but as far as I know, those files were not generated. Just the log.txt

Bonboon229 commented 1 year ago

Edit: I'm staying FIRMLY with version 2.4 until these problems are PROPERLY fixed

Frisk4973 commented 11 months ago

im trying to convert the entire stream folder of ctgp7 to bfstm to use with musicrandomizer for splatoon on the FIRST FILE after i press start it crashes

UmbraVivens commented 6 months ago

i tried converting a looping wav and doing my usual "import 44100 hz and reencode as 32000 for Brawl BRSTM" doesn't work. tells me to create a log.txt through cmd and when i do it it says "ffmpeg, qaac, text, etc." can't be found even though they're there

libertyernie commented 5 months ago

@UmbraVivens Can you please open a new issue, copy the log.txt into it, and note what version of Looping Audio Converter you're using? I assume 3.1?

libertyernie commented 5 months ago

I'm closing this issue because I think the original problem might have been fixed in 3.2 and this issue is attracting comments about unrelated issues that should really be filed separately. If you're still having problems, please open a new issue and include the contents of the log (I've also made a change to the program so it should appear in a window too, whenever an error happens, but the log.txt thing will still work too).