On Sat, Jun 17, 2017 at 10:18:36 +0300, Daniel wrote:
> Hello everyone i was wondering if it's possible to create audio bar in 
> video which i get from live stream and save it something like 
> ->https://cdn.pbrd.co/images/wHNkcDMi.png 
> <https://cdn.pbrd.co/images/wHNkcDMi.png> .I will appreciate any tips or 
> howto.

Sure. Do have a look at the showvolume filter. You need a
"filter_complex" chain to take the audio, convert it to bars using the
filter, and overlay it over the original video. Something like this:

$ ffmpeg -i inputfile_or_stream -filter_complex "[0:a]asplit[a][aout]; 
[a]showvolume=o=v[bars]; [0:v][bars]overlay=x=main_w-overlay_w:y=0[vout]" -map 
"[vout]" -map "[aout]" output.mp4


Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to