[FFmpeg-user] HIGHPASS FILTER AND ID£ METADATA
Marco Mircoli
nuvolablux at gmail.com
Thu Oct 1 20:09:29 EEST 2020
Hello, this is the final script line, and it works perfectly.
$shell = shell_exec("$ffmpeg_b -i $audio_file_full_path -map 0:a:0 -af
highpass=50,loudnorm=I=-16 -map_metadata -1 -metadata Artist='Agency -
VISIT HTTPS://WWW.agency.EU' -metadata Title='Title' -metadata
Publisher='agency' -metadata Language=italian -b:a ".$convert_speed."k
$audio_output_mp3 2>&1");
Now, I would like to insert an album artwork in the mp3.
Is it possible?
Thanks.
S.
Il giorno gio 1 ott 2020 alle ore 17:45 Marco Mircoli <nuvolablux at gmail.com>
ha scritto:
> Hello, tried but doesn't work correctly:-(
> $shell = shell_exec("$ffmpeg_b -i $audio_file_full_path -map 0:a:0 -af
> highpass=700,loudnorm=I=-24 -map_metadata -1 -metadata Artist=Someone
> -metadata Title=Title -metadata author_url=http://example.com/ -b:a
> ".$convert_speed."k $audio_output_mp3 2>&1");
>
> Tried with 700 hz
> the result is very low in volume
> it seems that it normalize to -24 and after apply the highpass
>
> another point I can't fix is the metadata, they works except for the
> author:url.
> Maybe am I wrong with syntax?
>
> Thanks in advance.
>
>
>
> Il giorno gio 1 ott 2020 alle ore 15:40 Marco Mircoli <
> nuvolablux at gmail.com> ha scritto:
>
>> Thanks a lot!
>>
>> Il giorno gio 1 ott 2020 alle ore 14:17 Michael Koch <
>> astroelectronic at t-online.de> ha scritto:
>>
>>> Am 01.10.2020 um 14:06 schrieb Michael Koch:
>>> > Am 01.10.2020 um 13:25 schrieb Marco Mircoli:
>>> >> Hello',
>>> >> I'm a newbie.
>>> >> Just bought a php script that use ffmpeg.
>>> >> it converts to mp3/96Kbps all media uploaded in a unique format.
>>> >> this is the line, and now it normalizes to R128 (thanks Moritz)
>>> >>
>>> >> $shell = shell_exec("$ffmpeg_b -i $audio_file_full_path -map
>>> >> 0:a:0 -af
>>> >> loudnorm -b:a 96k $audio_output_mp3 2>&1");
>>> >>
>>> >> I'm wondering if it is possible to include a simple hi-pass filter
>>> >> (highest
>>> >> db per octave @ 70Hz)
>>> >
>>> > add highpass=70, before loudnorm
>>> >
>>> > This filter attenuated 6dB per octave. If you need higher attenuation,
>>> > you can use several highpass filters, for example
>>> > highpass=70,highpass=70,highpass=70,loudnorm
>>>
>>> Correction: The filter has 12dB per octave.
>>>
>>> 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