[FFmpeg-trac] #9348(ffmpeg:new): volume=replaygain=track requires a + sign in front of positive values, but this is not standard replaygain spec

FFmpeg trac at avcodec.org
Sun Jul 25 04:47:44 EEST 2021


#9348: volume=replaygain=track requires a + sign  in front of positive values, but
this is not standard replaygain spec
-------------------------------------+----------------------------------
             Reporter:  simcc        |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:  ReplayGain   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------
Description changed by simcc:

Old description:

> Summary of the bug:
> The RGv2 specification clearly mentions the format of the tags, and it
> should not contain a '+' char. Try any files with replay_track_gain tags
> with positive values, i.e. 9.70 will not work, but if you adjust the
> metadata manually to +9.70, then it does work.
> How to reproduce:
> {{{
> % ffmpeg -i input.m4a -af volume=replaygain=track output.m4a
>
> ffmpeg -i input.mp4 -c:v copy -af volume=replaygain=track output.mp4
>
> etc.
>
> ffmpeg version 4.4
> built on OSX w/ homebrew
> }}}
> Obviously the input file will need to have replay_track_gain tags with
> positive values for the bug to appear, i.e. nothing...it works as
> expected with negative values.

New description:

 Summary of the bug:
 The RGv2 specification clearly mentions the format of the tags, and it
 should not contain a '+' char. Try any files with replay_track_gain tags
 with positive values, i.e. 9.70 will not work, but if you adjust the
 metadata manually to +9.70, then it does work.
 How to reproduce:
 {{{
 % ffmpeg -i input.m4a -af volume=replaygain=track output.m4a

 ffmpeg -i input.mp4 -c:v copy -af volume=replaygain=track output.mp4

 etc.

 ffmpeg version 4.4
 built on OSX w/ homebrew
 }}}
 Obviously the input file will need to have replay_track_gain tags with
 positive values for the bug to appear, i.e. nothing happens...it works as
 expected with negative values.

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9348#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list