I have a hard time trying to figure out how to cut a file with avconv
. Here's the command I use:
avconv -ss 52:13:49 -t 01:13:52 -i RR119Accessibility.wav RR119Accessibility-2.wav
But it doesn't work. I get the whole file as a result. Well, almost the whole file. Somehow the resulting file has duration 1:16:31
instead of 1:17:23
. Also I believe I executed this command in every possible way: with -ss
and -t
after -i
, with -t
specifying ending point, with mp3 files, with specifying audio codec, with ffmpeg
. Am I doing it wrong?
UPD Thanks to bodhi.zazen
this works (I corrected the offset and duration reported by mp3splt-gtk
, they were wrong for some reason or other, and the goal was to cut mp3 file)
avconv -i RR119Accessibility.mp3 -ss 00:52:08 -t 00:01:08 RR119Accessibility-2.mp3
But this doesn't:
avconv -ss 00:52:08 -t 00:01:08 -i RR119Accessibility.mp3 RR119Accessibility-2.mp3
The resulting file start at 00:52:08 and goes until the end of the original file. I thought -ss
and -t
are related to input file if specified before -i
. And to output file otherwise. Could someone explain this?
avconv
becauseubuntu
'sffmpeg
says that it's obsolete.