qmp3cut
extracts and/or deletes parts of a mp3 file
qmp3cut
option...
file
qmp3cut
allows to extract and/or delete a fragment of a mp3 file. some parameters must be supplied in order to define the start/size/end cut points and what to do then: either the fragment must be copied to another file or erased from the file (or both)
-d
--delete
--output
is used, deletion is always done after fragment extraction.
-h
--help
-o
outfile
--output=
outfile
-v
--verbose
-V
--version
cut options are used to specify where the fragment begins and ends. there are two ways to do it: with time slices (easier) and with cut points (more complex but also more powerful). cut options are mandatory (which way is used is matter of your choice).
if time slices are used, cut points options are automatically ignored.
there is only one option:
-S
timeslice
--slice
timeslice
there are several options with cut points. cut points are used to specify at which frame the fragment begins (--begin
and --Begin
), ends (--end
and --End
), or which size it has (--size
). at least, one cut option must be specified (non specified options take its default values). neither the options --begin
and --Begin
, and the options --end
and --End
can be used together; also, a begin, end and size option cannot be used at the same time.
by default, the fragment begins at the first frame and ends at the last frame; there's no default value for size.
-b
cutpoint
--set-begin-from-eof=
cutpoint
-B
cutpoint
--set-begin=
cutpoint
-e
cutpoint
--set-end-from-eof=
cutpoint
-E
cutpoint
--set-end=
cutpoint
-s
cutpoint
--size=
cutpoint
qmp3cut -b 10s -o outfile.mp3 infile.mp3
qmp3cut -S -1:0 -o outfile.mp3 infile.mp3 qmp3cut -S -60 -o outfile.mp3 infile.mp3 qmp3cut -E 1m -o outfile.mp3 infile.mp3 qmp3cut -s 1m -o outfile.mp3 infile.mp3
qmp3cut -S 15:0-30:0 -o outfile.mp3 infile.mp3 qmp3cut -B 15m -E 30m -o outfile.mp3 infile.mp3 qmp3cut -s 15m -E 30m -o outfile.mp3 infile.mp3 qmp3cut -B 15m -s 15m -o outfile.mp3 infile.mp3