shell - Trim the first 11 seconds from an mp3 file -
i'm trying write script takes off first 11 seconds more 100 mp3 files.
can use "split" command it? or there mac cli program can use?
try ffmpeg.
ffmpeg -i infile.mp3 -ss 11 outfile.mp3
in case ffmpeg not support mp3 encoding, try below:
ffmpeg -i infile.mp3 -ss 11 /tmp/outfile.wav lame /tmp/outfile.wav outfile.mp3
you need install these packages though :)
Comments
Post a Comment