[Libav-user] Using ffmpeg to cut audio clips?

Ricky Huang rhuang.work at gmail.com
Thu Jun 19 17:45:46 CEST 2014

Hello all,

I am trying to use the following syntax to cut an mp3 audio clip starting at 2 minute mark for 30 seconds:

./ffmpeg -ss 00:02:00 -i angel.mp3 -t 00:00:30 angel_ffmpeg.mp3

ffmpeg complains about "Encoder (codec none) not found for output stream #0:1".  It seems like it's trying to look for and output a video?  Are there switches to enable audio-only processing?

Thanks in advance!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140619/ccfbe348/attachment.html>

More information about the Libav-user mailing list