How to specifiy EQ params in command line?
Posted: 12 Mar 2011 15:20
My objective is to transcode audio to http streaming while at the same time applying equalization.
What is the correct syntax for specifying the parameters of either the 10-band EQ or the parametric EQ filter? I feel like I'm close, but these don't work (the audio passes through but is not modified by the equalizer):
I've tried several different variations to no avail. Documentation doesn't seem to cover the case where one wants to apply EQ during a transcode.
The closest I've gotten is just
but this then uses whatever 10-band EQ settings I've saved in preferences, and I'd much rather specify it on the command line as this particular application calls for a severe low-end rolloff that I won't want to use for playing anything else. Also, I'd rather use the parametric EQ to notch out a specific rumble frequency.
Note: In my examples above I'm streaming from a mp3 file, but ultimately I will be streaming from dshow input, so pre-processing the mp3 is not a viable workaround. Also, the specific EQ parameters I'm using for demonstration are deliberately severe so that I can easily discern between equalized and un-equalized audio output.
What is the correct syntax for specifying the parameters of either the 10-band EQ or the parametric EQ filter? I feel like I'm close, but these don't work (the audio passes through but is not modified by the equalizer):
Code: Select all
"c:\Program Files\VideoLAN\VLC\vlc.exe" input.mp3 :sout=#transcode{afilter=equalizer{bands="20 15 0 -20 -20 -20 -20 -20 -20 -20",twopass=true},vcodec=none,acodec=mp3,ab=320,channels=2,samplerate=44100}:http{mux=raw,dst=:8080/}
Code: Select all
"c:\Program Files\VideoLAN\VLC\vlc.exe" input.mp3 :sout=#transcode{afilter=param_eq{lowf=40,lowgain=-20,highf=8000,highgain=20,f1=60,q1=10,gain1=-20,twopass=1},vcodec=none,acodec=mp3,ab=320,channels=2,samplerate=44100}:http{mux=raw,dst=:8080/}
The closest I've gotten is just
Code: Select all
"c:\Program Files\VideoLAN\VLC\vlc.exe" input.mp3 :sout=#transcode{afilter=equalizer},vcodec=none,acodec=mp3,ab=320,channels=2,samplerate=44100}:http{mux=raw,dst=:8080/}
Note: In my examples above I'm streaming from a mp3 file, but ultimately I will be streaming from dshow input, so pre-processing the mp3 is not a viable workaround. Also, the specific EQ parameters I'm using for demonstration are deliberately severe so that I can easily discern between equalized and un-equalized audio output.