-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Hi Paul,
Big fan of the app, this is the only reliable audio converter I've been able to find(besides using ffmpeg directly on the command line). Not everyone I know can use the command line, so this app is perfect for audio conversion for those I know who are less technical.
I only have two issues.
- Doing lossless audio conversion (source format either FLAC or WAV) to AIFF causes all metadata to be lost. I know WAV metadata is not reliable, so I don't expect that to work all the time, but I know FLAC has metadata encoded and it is possible to preserve it when converting to AIFF. I know this since I use the command line directly and I have the commands to do so using ffmpeg. There are just a few flags that need to be enabled.
- Audio conversion is lossy. You can check via Spek and you can see audio above 20khz is being cut off in the outputted file.
I noticed you're using Java 20, nice! I'll poke around in the code and see if I can make and test a pull request if it's a quick fix to just add the correct flag. I'll do my best but if it gets me a bit too frustrated I won't spend all day on it:)
Here is a sample WAV and a sample FLAC, and here are the ffmpeg commands I use locally to do lossless audio conversion(note that these are zsh aliases that live in .zshrc):
convert () { ffmpeg -i "$1".flac -write_id3v2 1 -c:v copy "$1".aiff rm -rf "$1".flac rm -rf "$1".mp3 } convertwav () { ffmpeg -i "$1".wav -write_id3v2 1 -c:v copy "$1".aiff rm -rf "$1".wav rm -rf "$1".mp3 }
The other commands might not be necessary for Shutter Encoder, the main flag that needs to be added is -write_id3v2 1
and maybe -c:v copy
.
Thanks a bunch for the app, love this open source alternative! Cheers!
Sincerely,
Devin