FFMPEG

How would I go about converting all these flac files to AAC with FFMPEG in one go?

It takes too long to do "ffmpeg -i input.flac output.aac" for every individual audio file

Attached: 1552642183461.png (484x384, 31K)

Other urls found in this thread:

github.com/nu774/qaac/releases
github.com/nu774/qaac/releases/download/v2.68/qaac_2.68.zip
rarewares.org/lossless.php
rarewares.org/files/lossless/flac_dll-1.3.2-git-20181116-x64.zip
github.com/nu774/qaac/wiki
trac.ffmpeg.org/wiki/Encode/AAC
github.com/mstorsjo/fdk-aac
twitter.com/AnonBabble

use a loop

since you're a scriptlet, foobar2000 has nice conversion options.
>put everything you want into a big playlist
>select all
>right click, Covert, ...
>setup however you like
>done

P Y T H O N
Y
H
O
N

or bash if you're a 30 year old boomer

literally just

for file in *.flac
do
ffmpeg -i "$file" "${file%%.flac}".aac
done

ignore this scriptcucks just use vlc

Attached: file.png (1116x441, 41K)

bash would be more simple for a simple task like this

for file in *.flac; do ffmpeg -i $file ${file%.flac}.mp3; done

I don't even know how to use this script

meant to quote

find -type f -iname "*.flac" | parallel -j4 --eta ffmpeg -i '{}' '{.}.aac';


Gotta go fast

Maybe try flv batch

no need to pipe
parallel -j4 --eta ffmpeg - i '{}' '{.}.aac' ::: *.flac

Use Selene or Curlu. They're GUI frontends for ffmpeg. Enjoy.

Or on Windows use Trader's Little Helper, or WinAmp with the filewriter plugin, or Foobar's convert utility.

Or use QWinFF on windows.

>Futatsuiwa from Sado
>Desire Drive
>Walking the Streets of a Former Hell.
My Brother from another Mother.

But yeah, I'd use python along with the "system" command, which allows you to run terminal commands (essentially using python as a wrapper around bash, since its syntax is fucking horrendous).

>not in parallel
>in parallel
There's always something better.
If you're a windows shitter like me you can use this batch script in a file, or remove a % for just plain cmd
Just use a bash-style shell instead, don't be dumb
FOR %%f IN (*.flac) DO (
start ffmpeg -i "%%f" "%%~nf.aac"
)

Foobar on Windows, make a Bash script with a loop on Linux.

Why "start" before the ffmpeg command?

ffmpeg's aac encoder is trash. use qaac instead.

>not using Fraunhofer FDK AAC via ffmpeg

to make them parallel

Makes sense. Thanks.

use qaac. it has the best aac encoder (itunes).

Audio Encoder: QAAC + libFLAC.dll

We will be using x64 for both. libFlac.dll is needed to encode flac files into aac files. Put libFLAC_dynamic.dll into the same folder as qaac64.exe

QAAC
Link (qaac_2.68.zip)
github.com/nu774/qaac/releases
Direct Link
github.com/nu774/qaac/releases/download/v2.68/qaac_2.68.zip

libFLAC.dll
Link (scroll down to "libFLAC v.1.3.2 incorporating GIT updates to 2018-11-16 for win64")
rarewares.org/lossless.php
Direct Link
rarewares.org/files/lossless/flac_dll-1.3.2-git-20181116-x64.zip

Further Infos
github.com/nu774/qaac/wiki

Quick Settings (maximum possible quality)
qaac64.exe audio.flac --cvbr 0 --no-smart-padding --threading

Convert all files in directory:
qaac64.exe *.flac --cvbr 0 --no-smart-padding --threading


you will also have to install a non UWP version of itunes for the CoreAudioToolbox.dll

that is closed source and you can't even get your hands on an .exe for windows.
listen to

>cvbr
why not tvbr

apt install soundconverter

$ ls .local/bin/nero*
.local/bin/neroAacDec
.local/bin/neroAacEnc
.local/bin/neroAacTag

Don't use this, the other scripts with the parallel command aren't using it just for shit and giggles.
Notice how your PC will freeze with the start command as soon as you have more flac files than your ram can carry or your cpu will just simply melt/crash/shutdown.
The most important part in paralleling jobs is limiting the total amount of running tasks. There are insurmountable ways to achieve this so you will have to look with google how to do that for your particular script language. Most script languages worth their shit don't need external tools like parallel to do this and can instead use relatively simple loops for that.

ffmpeg -i bashcrap -c:a libfdk_aac -q 5 -threads bashcrap
trac.ffmpeg.org/wiki/Encode/AAC
Otherwise
man ffmpeg-all
/^\s{3}libfdk_aac

>too much of a brainlet to learn bash syntax

>that is closed source
Wrong. github.com/mstorsjo/fdk-aac
What you are thinking of is FhG AAC that ships with Winamp.