dfaust / soundkonverter

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

24bit flac/wav cant convert to ogg #27

Open SanKro opened 8 years ago

SanKro commented 8 years ago

/usr/bin/oggenc cant handly 24bit *.wav files

/usr/bin/oggenc -b 192 "/dev/shm/soundkonverter_temp_convert_2111440822_0.wav" -o "/home/fabi/Downloads/RANDOM/Musik/Bring Me The Horizon/That's The Spirit/04 - True Friends.ogg" Opening with wav module: WAV file reader Encoding "/dev/shm/soundkonverter_temp_convert_2111440822_0.wav" to "/home/fabi/Downloads/RANDOM/Musik/Bring Me The Horizon/That's The Spirit/04 - True Friends.ogg" at approximate bitrate 192 kbps (VBR encoding enabled) Mode initialisation failed: invalid parameters for bitrate

it would be good to check if the flac/wav file is in 24bit, convert it to 16bit and then to and *.ogg

but please dont convert always to 16bit, since i would lose many 24bit flac files when i do a flac -> flac encoding

dfaust commented 8 years ago

You can install sox and enable it in soundkonverter using the configuration dialog -> "Backends" -> "Filter" -> "Enable plugins". After that you can choose to change the sample rate when converting files. This should of cause be done automatically when converting hi-res files to a format that doesn't support hi-res, so I'll mark this issue as a feature request.