<html><head></head><body><div>PS: I used 64kbps as bitrate, so: br=64000</div><div>This creates comparable filesizes for both codecs, 25s samples come out ~200K.</div><div><br></div><div>On Sun, 2023-04-16 at 17:05 +0000, D.T. wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>I created some test samples and transcoded to FDK AAC and libopus at fairly low bitrates - I cannot recreate what bothered me about Opus & noisy music previously.</div><div>It also seems I cannot tease ffmpeg into encoding FDK's AAC with VBR.</div><div>As it stands, Opus clearly wins in this scenario.*</div><div><br></div><div>Q:</div><div>Is it possible to stream in variable bitrate?</div><div><br></div><div><br></div><div>*</div><pre>ffmpeg -i "$track" -vn -ac 2 -c:a libfdk_aac -profile:a aac_he_v2 -b:a $br -vbr 5 "${track}.HEv2_$br.aac"</pre><pre>ffmpeg -i "$track" -vn -ac 2 -c:a libopus -b:a $br -vbr on "${track}.vbr$br.ogg"</pre><pre><br></pre><div><br></div><div>On Sat, 2023-04-15 at 16:17 -0500, Brad Isbell wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr">Opus or AAC will give you comparable results at reasonable bitrates (~128k).<div><br></div><div>Though, I would suggest finding a way to get more storage.  You could upload to Backblaze B2 or AWS S3 for pennies, if your current host won't let you upgrade.</div></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 15, 2023 at 3:36 PM D.T. <<a href="mailto:ohnonot-github@posteo.de" target="_blank">ohnonot-github@posteo.de</a>> wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div><div>Situation: </div><ul><li>remote virtual server with very little storage (estimate: I can spare about 40G for music)</li><li>local music collection of ~80G in all sorts of formats - lossy in varying quality, some lossless too</li></ul><div><br></div><div>Vision:</div><ul><li>stream my whole music collection randomized so I can listen to it anywhere</li></ul><div><br></div><div>Plan/Idea:</div><ul><li>Locally transcode everything to <b>one</b> format that results in files that are </li><ul><li>small enough to fit on my server, altogether</li><li>have a reduced bitrate for streaming</li><li>can be streamed as-is without further transcoding</li></ul><li>Upload</li><li>Set icecast up to do just that (this I know how to do)</li></ul><div><br></div><div>So I'm asking advice for the transcoding. What's likely to give the best results with already lossy sources, and at small bitrates?</div><div><br></div><div>According to these documents:</div><div><a href="https://trac.ffmpeg.org/wiki/Encode/HighQualityAudio" target="_blank">https://trac.ffmpeg.org/wiki/Encode/HighQualityAudio</a></div><div><a href="https://wiki.hydrogenaud.io/index.php?title=Transcoding#Lossy-to-lossy_transcoding" target="_blank">https://wiki.hydrogenaud.io/index.php?title=Transcoding#Lossy-to-lossy_transcoding</a></div><div>it basically comes down to Fraunhofer Institute's FDK AAC, but the articles are dated.</div><div>Opus is supposed to be good but I always have the impression it doesn't deal well with loud/grungy/fuzzy/guitarry music, esp. at low bitrates.</div><div><br></div><div>What do you say?</div><div><br></div><div><span></span></div></div><div>_______________________________________________<br>Icecast mailing list<br></div><div><a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br></div><div><a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br></div></blockquote></div><div>_______________________________________________<br></div><div>Icecast mailing list<br></div><div><a href="mailto:Icecast@xiph.org">Icecast@xiph.org</a><br></div><div><a href="http://lists.xiph.org/mailman/listinfo/icecast">http://lists.xiph.org/mailman/listinfo/icecast</a><br></div></blockquote><div><br></div><div><span></span></div><div>_______________________________________________<br></div><div>Icecast mailing list<br></div><div><a href="mailto:Icecast@xiph.org">Icecast@xiph.org</a><br></div><div><a href="http://lists.xiph.org/mailman/listinfo/icecast">http://lists.xiph.org/mailman/listinfo/icecast</a><br></div></blockquote><div><br></div><div><span></span></div></body></html>