[FFmpeg-user] FFplay - Audio bars on video
DopeLabs
dopelabs at dubstep.fm
Sat Jun 24 10:09:47 EEST 2017
It will work if you use ffmpeg and pipe to ffplay... here is one example
ffmpeg -loglevel 0 -i rtmp://video/live/stream -filter_complex "[0:a]pan=1c|c0=c0,showvolume=r=60:b=0:t=0:v=0:w=720:h=80:f=0.5:o=1[left];[0:a]pan=1c|c0=c1,showvolume=r=60:b=0:t=0:v=0:w=720:h=80:f=0.5:o=1[right];[left][0:v]hstack[tmp1];[tmp1][right]hstack" -c:v h264 -preset ultrafast -c:a copy -f flv - | ffplay -f flv -
> On Jun 17, 2017, at 11:39 45PM, Manmathan <kottaram.manoj at gmail.com> wrote:
>
> Hello Everyone.
> We need to monitor audio (vertical bar-graph) over video of* live *stream.
> Audio is able to monitor separately with ffplay :
> (http://www.ffmpeg-archive.org/Error-configuring-filters-AudioBars-td4680275.html#a4680277)
> ffplay -f lavfi "amovie=in.mp4, asplit [a][out1]; [a]
> showfreqs=mode=line:fscale=log [out0]"
>
> Audio over video is possible with ffmpeg on recorded
> file.(http://www.ffmpeg-archive.org/how-to-create-audio-bar-in-video-td4680323.html)
> 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
>
> Please guide how to do this with* ffplay* or live viewing on ffmpeg or pipe
> out of the above to vlc.
>
>
>
>
>
> --
> View this message in context: http://www.ffmpeg-archive.org/FFplay-Audio-bars-on-video-tp4680331.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list