2

--noreplaygain如果未设置该选项,lame 正在编写 replaygain 标签:

ffmpeg -i testgain_0.mp3
Input #0, mp3, from 'testgain_0.mp3':
Duration: 00:01:00.42, start: 0.025057, bitrate: 192 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
Metadata:
  encoder         : LAME3.99r
Side data:
  replaygain: track gain - -12.500000, track peak - unknown, album gain - unknown, album peak - unknown, 

我可以使用 ffmpeg 删除“辅助数据”吗?在我的尝试中,map metadata我无法访问此“辅助数据”以将其删除:-map 0:0 -map_metadata -1

4

1 回答 1

0

如果您通过 MP4 往返,它似乎会被删除。

ffmpeg -i testgain_0.mp3 -c copy testgain_0.mp4

ffmpeg -i testgain_0.mp4 -c copy nogain_0.mp3

或者使用管道进行单步方法:

ffmpeg -i testgain_0.mp3 -c copy -f avi - | ffmpeg -i - -c copy nogain_0.mp3
于 2017-08-09T15:38:42.203 回答