Good advice, and I did just that.
First I created various 25s audio samples, then:
br=64000 # 64kbps
for track in *.*; do
# trac.ffmpeg.org/wiki/Encode/AAC#fdk_aac
ffmpeg -i "$track" -vn -ac 2 -c:a libfdk_aac -profile:a aac_he_v2 -b:a $br -vbr 5 "${track}.HEv2_$br.aac"
ffmpeg -i "$track" -vn -ac 2 -c:a libopus -b:a $br -vbr on "${track}.vbr$br.ogg"
done
The results are equal in size, but in quality Opus clearly wins in this scenario.
Big Question No. 2:
Is it possible to stream in VBR?
On Sun, 2023-04-16 at 01:02 +0000, Sam Kuper wrote:
On Sat, Apr 15, 2023 at 03:58:12PM -0700, Len Ovens wrote:On Sat, 15 Apr 2023, D.T. wrote:* personally, I always had the feeling that opus (used a lot by youtube)isn't so good with noisy, grungy, fuzzy, guitarry musicWell, don't use something you don't like :)I would almost suggest to try them all. I would think changing thecodec is just a change the parameter, restart kind of thing. Itdoesn't have to be on the target machine for testing, just use whichever machine has the files on (or at least a good chunk of them).To see what a given input file sounds like after being transcoded toeach of several different output formats, at a couple of differentbitrates in your range of interest, just run a for loop in Bash, no?Something like (untested):for i in {m4a,ogg,opus}; dofor j in {64k,96k}; doffmpeg -i infile.flac -b:a "$j" outfile_"$j"."$i"donedoneTweak this for more detail if desired.Then listen to the results, and go with whichever combination of bitrate& codec you find most satisfying?Sam_______________________________________________Linux-audio-user mailing list -- linux-audio-user@xxxxxxxxxxxxxxxxxxxxTo unsubscribe send an email to linux-audio-user-leave@xxxxxxxxxxxxxxxxxxxx
_______________________________________________ Linux-audio-user mailing list -- linux-audio-user@xxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to linux-audio-user-leave@xxxxxxxxxxxxxxxxxxxx