[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I'm going to set up some networked storage with audio. My
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 86
Thread images: 12
File: flac.png (86 KB, 2000x992) Image search: [Google]
flac.png
86 KB, 2000x992
I'm going to set up some networked storage with audio. My source will be FLAC but I really need to bring down the size of these files. I simply don't have 15 TB of space ready just for music.

So what's the go-to lossy audio format these days? The resulting files need to be as small as possible without evident loss in quality.
>>
>>54783933
just put everything to vinyl
>>
ogg is okay but requires 48Khz sample rate
aac and mp3 == shit
vorbis is perfect
>>
>>54785059
>ogg is okay but requires 48Khz sample rate
You mean Opus, and no it doesn't. the 48kHz thing is entirely internal to the codec.
>>
>>54785059
AAC+ with nero encoder is bretty gud. You'll need wine though.
>>
>he fell for the flac meme
>>
>>54783933
>So what's the go-to lossy audio format these days? The resulting files need to be as small as possible without evident loss in quality.
Opus is the best lossy codec currently in existence by a decent margin.

Without any other constraints or requirements, pick Opus.
>>
File: opus.png (181 KB, 2192x1113) Image search: [Google]
opus.png
181 KB, 2192x1113
>>
>>54783933
320K mp3 if you're audiophile trash, 256K otherwise. Your human ears can't tell the difference.
>>
>>54785842
>recommending MP3 when Opus performs better at half the filesize
>>
>>54783933
Save these as .bat in a text editor and try them on different music files/folders and do ABX tests if you have time to compare the bitrates

for %%f IN (*.flac) do (
ffmpeg -i "%%~nf.flac" -acodec libopus -b:a 96k -vbr on -compression_level 10 "%%~nf.opus"
)
pause

for %%f IN (*.flac) do (
ffmpeg -i "%%~nf.flac" -acodec libopus -b:a 128k -vbr on -compression_level 10 "%%~nf.opus"
)
pause

for %%f IN (*.flac) do (
ffmpeg -i "%%~nf.flac" -acodec libopus -b:a 160k -vbr on -compression_level 10 "%%~nf.opus"
)
pause


Currently Opus is the best audio format because of how aggressively it hides audio artifacts. I found 96 vbr Opus to be audibly transparent while listening to the files with my pair of skull candy earbuds. Maybe you have a really good pair of head phones so you'll find 128 or maybe even 160 vbr to be just the right audio bitrate.
>>
>>54785913
>.bat
>>>/out/
>>
>>54785934
Patrician zsh version (with multithreading)

#!/bin/zsh

DEST="opus"
CONC_MAX=4

zmodload zsh/parameter
zmodload zsh/zselect

function concblock () {
CONC_MAX=${CONC_MAX:-2}

# Block until there is an open slot
if [[ ${#jobstates} -ge $CONC_MAX ]]; then
while; do
zselect -t 20
if [[ ${#jobstates} -lt $CONC_MAX ]]; then
break
fi
done
fi;

return 0
}

function transcode () {
ffmpeg -i "$1" \
-af aresample=resampler=soxr -ar 48k \
-application audio -c:a opus -b:a 128k \
-vbr on -frame_duration 60 \
-- "$2.part.opus" </dev/null
mv "$2.part.opus" "$2.opus"
}

for i in **/*.{flac,mp3,ogg,wav}
do
mkdir -p -- "$DEST/`dirname "$i"`"
[[ -f "${DEST}/${i:r}.opus" ]] || transcode "$i" "${DEST}/${i:r}" &
concblock
done
>>
File: 1446494949224.jpg (96 KB, 720x720) Image search: [Google]
1446494949224.jpg
96 KB, 720x720
>>54785934
>entering each audio file manually like some kind of savage
>>
File: 1342099627151.jpg (40 KB, 329x356) Image search: [Google]
1342099627151.jpg
40 KB, 329x356
>>54785955
Now I get why people never take loonix seriously.
>>
>>54785913
>.bat
>not .ps1(powershell)
>>
>>54785962
I know Windows users are a bit retarded so let me explain it for you:

I was calling out your usage of the shitty Windows command line / .bat file format.
>>
File: 10492333.jpg (24 KB, 599x338) Image search: [Google]
10492333.jpg
24 KB, 599x338
>>54785962
>not entering each audio file manually like some kind of savage
>>
>>54783933
Opus, no question about it. It's unlikely that you'll ever hear any difference between 128 kbps Opus and lossless. Use highest compression level for encoding(-compression_level 10).
>>
>>54785905
>random format with zero compatibility in the real world

MP3 plays on everything. Is your goal to have your music in a listenable, well-documented format that's going to be around in 100 years, or to brag to /g/ about how low your file sizes are?
>>
>>54785996
>it just werks(tm)
>this makes it shitty
>using a meme OS that literally shits itself every 5 minutes is a better alternative
k
>>
>>54786031
So does Opus, over 80% of phone have android devices. which can play Opus natively or in 3rd party players. It even plays on aplel devices retarded homosexuals use with 3rd party players.
>>
>>54785981
>>
>>54786031
Why the fuck would you care about what other people use?
Do you also watch Idol and eat TV dinners on a daily basis?
>>
>>54786113
Because the OP asked what the "go-to" format is, not the "technically superior via freetard standards" one. Learn to read, fag.
>>
>>54786133
Now you're being too obvious.
>>
>>54786031
>>random format with zero compatibility in the real world
Opus isn't some “random format”, it's the current-generation lossy format developed and established by Xiph.org, a dominant player in the free codec world (they developed Ogg, Vorbis, Opus, Theora and more).

All of my devices support Opus, all of my music players support Opus. (My phone, my Sansa Clip+) Even web browser support Opus. (Firefox, Chromium, and probably more)

>MP3 plays on everything.
So does Opus (for me). Besides, look at OP's requirements. He's setting up a networked file system for storing audio. I want to know if your shitty MP3-only music player from the last century can communicate with network-attached storage.

>MP3 plays on everything. Is your goal to have your music in a listenable, well-documented format that's going to be around in 100 years, or to brag to /g/ about how low your file sizes are?
His goal was to reduze the file size as much as possible. Fuck off with your stupid recommendations of proprietary, patent-protected formats that are worse in practice than superior free alternatives.
>>
>>54786156
>they developed Ogg, Vorbis, Opus, Theora and more
also FLAC, Speex, CELT, Tarkin and Daala
>>
>>54786323
>>54786156
>Autistic file formats no one use
So fucking what
>>
>>54786156
>Safari still doesn't support opus or any xiph codecs
Macfags will defend this
>>
>>54783933
Fuck you and use flac
>>
Isn't Opus just a modernized version of Ogg? If so, why not just do 96K 32 with Ogg instead?
>>
>>54786657
>Isn't Opus just a modernized version of Ogg?
Opus is an audio codec
Ogg is a container format
>>
>>54786657
>Isn't Opus just a modernized version of Ogg?
Nope, Ogg is a container. You're thinking of ogg-Vorbis which is still, totally different from Opus.
>>
>>54786676
No, like the original Ogg back in the day
>>
Don't use MP3. Use OPUS or AAC.
>>
Don't use opus. Use mp3.

Nobody will ever support opus. You can already play mp3s on any device and will be able to for hundreds of years. The size difference is negligible.
>>
>>54786792
I agree with this guy. mp3 is supported by everything. Use VBR and you'll be fine.

If you really hate mp3, go with aac.
>>
>>54786657
opus was designed with streaming in mind, which makes it a very good choice for OP's use case.
>>
>>54785996
Well, readin' and writin's hard work. You can't expect the marginally literate to just use the written word all the time without blowing half their day.
Besides, that book readin' hogwash scares off the womenfolk.
>>
>>54786792
>Nobody will ever support opus.
Royalty-free xiph.org codecs are used by more companies in practice than MP3.
>>
>>54786792
>>54786820
>unironically accepting money from the MPEG-LA to promote the use of their shitty proprietary music codec that is demonstrably inferior to AAC, Vorbis, Opus, MPQ, AC3, DTS and every single other lossy audio codec invented since 1993
When will the intense shilling on /g/ stop?
>>
>>54783933
opus
>>
File: beta.jpg (96 KB, 644x904) Image search: [Google]
beta.jpg
96 KB, 644x904
>I'm going to set up some cassette storage with video. My source will be TV but I really need to bring down the size of these cassettes. I simply don't have shelves of space ready just for video.

>So what's the go-to video cassette format these days? The resulting cassettes need to be as small as possible without evident loss in quality.

Bro, ignore VHS and use Betamax. Betamax is the future because it's technically superior to VHS, and besides, you don't want to be a corporate shill for JVC by using their proprietary VHS format.
>>
>>54786978
>Software formats
>Hardware formats
totally comparable

fuck off MPEG-LA shill
>>
>>54783933
e-ac3 at 64kbps. Sounds near perfect at an incredibly small filesize. If the quality's too low, you can try pushing the upper limit of standard ac3 for a better sound but around 1.6x the filesize.
>>
>>54787246
Opus at 64 kbps would perform better
>>
MP3 V0
>>
>>54786352
Ogg/Opus is used on Youtube.
Flac is the de facto standard for lossless compression besides Macfags as Apple won't allow it.
>>
>>54785996
In the end of the day it does what he want though.
>>
>>54787750
How do you know OP is using windows, stupid cuck?
>>
>>54787776
flac
>>
>>54789620
>Using FLAC means you're using Windows
what?
>>
opus 128kbps master race

O P U S
P
U
S
>>
>>54785761
>nero encoder requires wine
aand you're wrong.

>>54783933
opus, if you can
otherwise mp3 will still compatible with everything when we'll all be dead
>>
>>54787722
YouTube uses AAC faggot
>>
just go with opus
>>
File: opus.png (23 KB, 1139x711) Image search: [Google]
opus.png
23 KB, 1139x711
>>54790117
What's this? Opus and Vorbis in my youtube?
>>
>>54790200
>those colors
Oh look, kolourpaint manages to completely fuck something up _yet again_.

tfw it's 2016 and linux still doesn't have a simple alternative to mspaint
>>
File: tcv78.jpg (62 KB, 250x326) Image search: [Google]
tcv78.jpg
62 KB, 250x326
>>54783933
Fucking man up faggot
I have my entire music library in original PCM wav format
>>
>>54785770
you're a fucking retard
if you love music you want the original track the way it was presented on the original retail CD

the point that some people "can't hear a difference" between flac and 320k mp3 is irrelevant and too subjective (your speakers are shit or your hearing is shit)
the fact is there is a difference
compare the waveforms
>>
>>54785842
>320K mp3 if you're audiophile

kill yourself now faggot
its 2016 there is absolutely no reason to still be listening to compressed raped mp3 files when we have lossless stuff everywhere
>>
>>54790301
I bet that if I presented you with a 320kbps MP3 and a FLAC you wouldn't be able to tell the difference.
>>
>>54790279
>the original retail CD has the best waveform
Are you from the '80s? In case you don't know, waveforms are already raped and compressed in digital media nowadays. It's been a slow process in the 20+ years and there's no turning back. It makes little to zero difference to keep muh CD waveform, and the CD waveform isn't even remotely comparable to vinyl waveforms.
>>
>>54790200
Youtube is about to roll out Ambisonics in Opus too. They just submitted an RFC to the IETF.
>>
>>54791516
ambiwhat? Is this another one of those meme technology nobody needs?
>>
96 kbps MP3 is the only acceptable answer
>>
No reason not to go FLAC unless you're a dumb hoarder
>>
How can I convert FLAC to opus using CUETools?
>>
>>54792870
>How do I peel a banana with a clown fish?
>>
>>54792870
why the fuck would you want to do that

a .wav file and a .flac file have the exact same waveform yet flac is like 20-30% smaller in size and allows you to have tag data

its literally a perfect format for digital music

>but muh ipod from 40 years ago wont play flac
then you easily re convert flac back to wav
the music should remain unchanged just the filesize increases
>>
>>54790483
Fuck off vinyl fag
How many artists in the last 20 years have released readily accessible Vinyl versions of their albums? Maybe 5%?
An original retail CD is the best you can get. Ripping a flac file preserves the original song 100%.
>>
>>54793054
>he believes that the CD ships the "original songs"
ahahahahahahaha
>>
>>54793006
I won't be deleting my source FLAC files. It's the perfect format for my computer with unlimited storage.

I'm currently using MP3 on my phone, but this thread is making me consider opus. Now I'm just looking for something with a GUI and database integration for tagging to test this out.
>>
>>54790483
The majority of vinyls have identical mastering to the CD versions. You are probably being fooled by filtering. Clip a waveform then high pass filter it at 20Hz. It looks like the peaks are restored, but the sound is unchanged.
>>
6.1M 01. Taxman - The Beatles.mp3
17M 01. Taxman - The Beatles.flac
10M 01. Taxman - The Beatles.ogg
3.7M 01. Taxman - The Beatles.opus
>>
>>54793416
>implying spectrograms have any relevance to lossy formats
Listening tests are the only valid measurement.
>>
>>54793467
I listed the filesizes there, too.
Converted from the flac at high settings.
A vbr mp3 might look a little better.
>>
>>54793416
6.2M 01. Taxman - The Beatles.m4a
forgot muh nero encoder
>>
>>54793566
forgot muh jaypeg
>>
>>54793416
Why is most of the .mp3 cutting off at 16khz?
>>
>>54791682
>>How do I peel a banana with a clown fish?
It's a way of encoding 360 degree spherical surround (up and down as well) in four channels.
It's using math to do something smarter than Dolby's latest 22.2 encoding....
>>
If you're not using Opus you're just fucking doing it wrong, kids.
>>
>>54793416
What's the bitrate on the opus file?
>>
>>54795886
42
>>
>>54793416
Opus seems to werk. Especially compared to mp3.
Thread replies: 86
Thread images: 12

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.