HydrogenAudio

Lossy Audio Compression => Opus => Topic started by: siva_kaza on 2021-06-01 19:25:10

Title: Best settings for encoding FLAC to OPUS using opusenc
Post by: siva_kaza on 2021-06-01 19:25:10
I am planning to encode my FLAC music collection to Opus to save some disk space using opusenc on linux.

Can someone suggest what would be best configuration settings to use for encoding?
Title: Re: Best settings for encoding FLAC to OPUS using opusenc
Post by: erick128 on 2021-06-01 22:15:52
I recommend ffmpeg since it can encode to multiple formats. With that in mind I recommend that since you are in Linux you do if you are in Debian based distros to install some packages:

sudo apt install ffmpeg parallel

then in the terminal type

touch opus.sh
chmod +x opus.sh
nano opus.sh

and copy these settings

parallel ffmpeg -i {} -vn -c:a libopus -b:a 80k -vbr on {.}.opus ::: ./*.flac

you can change the bitrate to say 128k or whatever you like.
SimplePortal 1.0.0 RC1 © 2008-2021