[FFmpeg-user] VOICE POST PRODUCTION IN ONE LINE

Marco Mircoli nuvolablux at gmail.com
Fri Jan 29 12:25:09 EET 2021


Hello,
    anybody knows the reason why this command works.

$ffmpegCmd = "ffmpeg -i $fileOriginale -af
adeclick,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14
$fileProcessato"; //Livella audio a R128

and this doesn't work.

$ffmpegCmd = "ffmpeg -i $fileOriginale -af
adeclick,deesser=i=1,afftdn=nr=80:nf=-20:nt=w:om=o,highpass=f=70,loudnorm=I=-16:TP=-1.5:LRA=14
$fileProcessato"; //Livella audio a R128
This creates an audio file of zero bytes, just the name.

The difference is that the last I've added deesser=i=1
Any ideas?
Thanks.
S.



Il giorno gio 28 gen 2021 alle ore 10:15 Michael Koch <
astroelectronic at t-online.de> ha scritto:

> Am 28.01.2021 um 09:44 schrieb Marco Mircoli:
> > Goodmorning everyone.
> > I'm new to ffmpeg and was wondering if anyone from the group could help
> me
> > set up a command line.
> > My goal is to improve voice audio recordings.
> > I would like to be able to do this starting from a command line I have in
> > my script, modifying it to add:
> >
> > - 70HZ high pass filter
> > - expander / noise gate
> > - equalizer
> > - compressor
> > - exciter
> > - de-esser
> > - limiter
> > - loudnorm to r128 (there is already)
> >
> > It would be nice to have all this just in one line, is it possible?
> > This is the string where I'm starting from.
> >
> > $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: a: 0
> > -af loudnorm -b: a 96k $ audio_output_mp3 2> & 1");
>
> yes, I think it's possible to do all this in one command line. All these
> features must be added at the beginning of the audio filter chain,
> that's between "-af" and "loudnorm". For example:
>
> $ shell = shell_exec ("$ ffmpeg_b -i $ audio_file_full_path -map 0: a: 0
> -af highpass=f=70,loudnorm -b: a 96k $ audio_output_mp3 2> & 1");
>
> Michael
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list