[Libav-user] ffmpeg showspectrum to file
Clément Bœsch
u at pkh.me
Thu May 8 00:29:13 CEST 2014
On Wed, May 07, 2014 at 11:44:26AM -0700, Ricky Huang wrote:
> Hello all,
>
> I am experimenting to the showspectrum filter. According to the example at http://www.ffmpeg.org/ffmpeg-filters.html#Examples-11:
>
> > ffplay -f lavfi 'amovie=input.mp3, asplit [a][out1]; [a] showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt [out0]'
>
> 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:
>
> > ./ffmpeg -i Q-full-circle.mp3 -vf showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt -y full-circle.avi
>
>
> the command executes without error, the video file gets generated, but no video is produced.
>
./ffmpeg -f lavfi -i amovie=Q-full-circle.mp3,showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt -y full-circle.avi
or
./ffmpeg -i Q-full-circle.mp3 -filter_complex showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt -y full-circle.avi
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140508/c85c0f33/attachment.asc>
More information about the Libav-user
mailing list