<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 19, 2014, at 8:48 AM, Steve Boyer <<a href="mailto:steveboyer85@gmail.com">steveboyer85@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 19, 2014 at 10:45 AM, Ricky Huang <span dir="ltr"><<a href="mailto:rhuang.work@gmail.com" target="_blank">rhuang.work@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello all,<div><br></div><div>I am trying to use the following syntax to cut an mp3 audio clip starting at 2 minute mark for 30 seconds:</div>

<div><br></div><div>./ffmpeg -ss 00:02:00 -i angel.mp3 -t 00:00:30 angel_ffmpeg.mp3<br><br></div><div>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?</div>

<div><br></div></div></blockquote><div><br></div><div>Give: "ffmpeg -ss 00:02:00 -i angel.mp3 -t 30 -vn -c:a copy angel_cut.mp3" a try. "-vn" disables video, and "-c:a copy" tells ffmpeg to copy the streams directly and not encode.<br>

<br></div><div>Steve B.<br></div></div></div></div></blockquote><div><br></div><div>Thanks for the quick answer, Steve B.</div><div><br></div><div>BTW, can MP3's be cut without re-encoding of any sort?</div><div><br></div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div></div><div>Thanks in advance!</div>


<br></div><br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div></div>
_______________________________________________<br>Libav-user mailing list<br><a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>http://ffmpeg.org/mailman/listinfo/libav-user<br></blockquote></div><br></body></html>