how to create audio bar in video ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

how to create audio bar in video ?

Daniel
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.

BR

--
Best regards,
Daniel

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: how to create audio bar in video ?

Moritz Barsnick
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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Loading...