[英]ffmpeg: remove lame replaygain tag from mp3
lame is writing a replaygain tag if the option --noreplaygain
is not set: 如果未设置选项
--noreplaygain
正在编写一个--noreplaygain
标签:
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,
Can I use ffmpeg to remove the "Side data"? 我可以使用ffmpeg删除“边数据”吗? In my trys with
map metadata
I cannot access this "Side data" to remove it: -map 0:0 -map_metadata -1
在尝试使用
map metadata
我无法访问此“侧面数据”以将其删除: -map 0:0 -map_metadata -1
It appears to get removed if you roundtrip it via MP4. 如果您通过MP4往返传输,则似乎已将其删除。
ffmpeg -i testgain_0.mp3 -c copy testgain_0.mp4
ffmpeg -i testgain_0.mp4 -c copy nogain_0.mp3
Or use a pipe for a single-step method: 或将管道用于单步方法:
ffmpeg -i testgain_0.mp3 -c copy -f avi - | ffmpeg -i - -c copy nogain_0.mp3
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.