Mpgtx

From Notes_Wiki

Home > CentOS > CentOS 6.x > Sound and video related tools > Mpgtx

Split mp3 or other media files using time

To split mp3 file into parts use command or package mpgtx. Install mpgtx using yum. Then use following command to split mp3 file into parts using time:

mpgtx -s <input-file> "[<time-range>]" -b <output-base-name>

Example invocation is:

mpgtx -s 01.mp3 "[00:35-01:25]" -b 01-edit

For more information read 'man mpgtx'.

Ref: http://go2linux.garron.me/trim-cut-join-split-mp3-files-with-linux


Join mp3 or other media files

To join mp3 or other media files one can use mpgtx package and command. To join use:

mpgtx -j <input-files> ... -o <output-file>

Example invocation is:

mpgtx -j 01-edit.mp3 01-edit.mp3 -o saurabh.mp3


Home > CentOS > CentOS 6.x > Sound and video related tools > Mpgtx