dfaust / soundkonverter

soundKonverter is in maintenance mode, PRs are welcome.
https://github.com/dfaust/soundkonverter/wiki
98 stars 28 forks source link

Soundkonverter consistently crashes converting files #19

Open illumilore opened 9 years ago

illumilore commented 9 years ago

When converting the flac files to ogg using vorbis tools with replay gain from the flac torrent here: https://www.reddit.com/r/smashbros/comments/2o2rka/super_smash_bros_for_wii_u_soundtrack_rip/

soundkonverter will always crash at a certain point about half way through. No crash handler comes up, and when I launch it from a terminal no feedback is given to the terminal, and there seems to be no verbose option. opensuse 13.2 w/ skonverter 2.1.2

dfaust commented 9 years ago

Thanks for the report, but I can't reproduce the crash. Could you enable the "write log files to disc" option in the "advanced" tab of the config dialog. The tool tip will tell you where the log files ares saved (usually ~/.kde4/share/apps/soundkonverter/log). Then try to convert the failes again and send me the log files.

argymeg commented 8 years ago

I can't be sure if it's the same underlying cause but I have the same issue when transcoding a batch of mp3 files to vorbis. I have pinpointed the culprit to be a 20 second silent track. When transcoding the files without replay gain or the silent track alone with replay gain, it fails with a message saying the output file is less than one percent the size of the input, which I guess is normal. It only crashes when batch transcoding with replay gain enabled. I have attached the log file concerning this particular track. It looks like it gets stuck in a loop as it ends after several thousand repetitions of the message:

Conversion failed, trying again. Exit code: -2 (An error occurred, the output file size is less than one percent of the input file size) Removing partially converted output file Skipping Replay Gain, Album Gain will be calculated later Executing next step

Other log files look normal, those of other files being converted at the same time simply end abruptly.

156294462.log.txt

dfaust commented 8 years ago

Commit 58fea32 should fix the infinite loop, but I'm not sure what to do about the silent track failing. It's a false positive in soundKonverter's error detection.