<div dir="ltr">On Thu, Jun 19, 2014 at 11:37 AM, Ricky Huang <span dir="ltr"><<a href="mailto:rhuang.work@gmail.com" target="_blank">rhuang.work@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div class=""><div>On Jun 19, 2014, at 8:48 AM, Steve Boyer <<a href="mailto:steveboyer85@gmail.com" target="_blank">steveboyer85@gmail.com</a>> wrote:</div>
<br><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><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 class="">
<div><br></div></div></div></div></blockquote><div><br></div><div>If the previous command works as I believe it should, the only encoding that ffmpeg would do is in writing metadata (encoder used, album information if given, etc). I say "encoding" because it is in the most basic sense, encoding information to the MP3 file - in this same sense, tagging your MP3 collection "encodes" information as well. The underlying MP3 audio stream should be identical to the original (aside from portions trimmed).<br>
</div><div> <br></div><div>Steve B.<br><br></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 class=""><div></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" target="_blank">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" target="_blank">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>
</blockquote></div></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>