<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On May 7, 2014, at 3:29 PM, Clément Bœsch <<a href="mailto:u@pkh.me">u@pkh.me</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Wed, May 07, 2014 at 11:44:26AM -0700, Ricky Huang wrote:<br><blockquote type="cite">Hello all,<br><br>I am experimenting to the showspectrum filter.  According to the example at <a href="http://www.ffmpeg.org/ffmpeg-filters.html#Examples-11:">http://www.ffmpeg.org/ffmpeg-filters.html#Examples-11:</a><br><br><blockquote type="cite">ffplay -f lavfi 'amovie=input.mp3, asplit [a][out1]; [a] showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt [out0]'<br></blockquote><br>but I cannot figure out how to output the showspectrum result to a saved video with ffmpeg command.  When I adopt the ffplay command to ffmpeg:<br><br><blockquote type="cite">./ffmpeg -i Q-full-circle.mp3 -vf showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt -y full-circle.avi<br></blockquote><br><br>the command executes without error, the video file gets generated, but no video is produced.<br><br></blockquote><br>./ffmpeg -f lavfi -i amovie=Q-full-circle.mp3,showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt -y full-circle.avi<br><br>or<br><br>./ffmpeg -i Q-full-circle.mp3 -filter_complex showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt -y full-circle.avi<br></blockquote><div><br></div><div>Exactly what I was looking for.  Thank you Clement!</div><div><br></div><br><blockquote type="cite">-- <br>Clément B.<br>_______________________________________________<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>