How ffmpeg can return wavespic png image to console in png -
this command return wavespic in stdout.
ffmpeg -i "/home/01.mp3" -filter_complex "aformat=channel_layouts=mono,compand,showwavespic=s=640x120" -frames:v 1 -f image2 -
i want return stdout wavespic in png format. cant choose format in case -f image2 -
. yes can -f output.png
dont want save file disk.
use
ffmpeg -i "/home/01.mp3" -filter_complex "aformat=channel_layouts=mono,compand,showwavespic=s=640x120" -c:v png -frames:v 1 -f image2 -
if need indexed colors, add -pix_fmt pal8
Comments
Post a Comment