<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><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>