![删除 mp3 文件中的“开始”标签](https://linux22.com/image/1526790/%E5%88%A0%E9%99%A4%20mp3%20%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E2%80%9C%E5%BC%80%E5%A7%8B%E2%80%9D%E6%A0%87%E7%AD%BE.png)
我正在尝试使用以下命令连接两个 MP3 文件。
ffmpeg -i "concat:19 Protein Drink (2007-10-21 Indianapolis IN).mp3|20 Sewing Machine (2007-10-21 Indianapolis IN).mp3" -acodec copy "19 Protein Drink - Sewing Machine (2007-10-21 Indianapolis IN).mp3"
在播放时,两个文件之间的连接文件总是出现中断/间隙/静音。我希望这是无缝衔接的(因为两首歌之间有过渡)。当我查询文件信息时,两个文件的持续时间元数据中都有一个“开始”标签(见下例 - 当前设置为“0.025056”)。
是否有工具可以删除此标签/元数据?
$ ffmpeg -i 19\ Protein\ Drink\ \(2007-10-21\ Indianapolis\ IN\).mp3
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --
enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --
enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-
libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, mp3, from '19 Protein Drink (2007-10-21 Indianapolis IN).mp3':
Metadata:
title : Protein Drink (2007-10-21 Indianapolis IN)
artist : Widespread Panic
album_artist : Widespread Panic
album : Driving Songs 02 - Fall 2007
track : 19
date : 2007
genre : Rock
copyright : 2007, Widespread Panic
Duration: 00:05:27.05, start: 0.025056, bitrate: 257 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 256 kb/s
Metadata:
encoder : LAME3.98r
Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 500x460 [SAR 1:1 DAR 25:23], 90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Cover (front)