Skip to content

Instantly share code, notes, and snippets.

@regstuff
Created June 18, 2020 08:03
Show Gist options
  • Save regstuff/33e072e97a446160839062d53d54b6e3 to your computer and use it in GitHub Desktop.
Save regstuff/33e072e97a446160839062d53d54b6e3 to your computer and use it in GitHub Desktop.
Show volume with ffmpeg, and use streamlink
ffmpeg -i http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4 -filter_complex "[0:a]showfreqs=s=480x240[vv];[0:v][vv]overlay=x=0:y=(H-h)/2" -c:v libx264 -c:a aac -f mpegts - | ffplay -i -
ffmpeg -i http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4 -filter_complex "[0:a]showvolume=p=1,scale=480:240[vv];[0:v][vv]overlay=x=0:y=(H-h)/2" -c:v libx264 -c:a aac -f mpegts - | ffplay -i -
ffmpeg -i http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4 -filter_complex "[0:a]showspectrum=s=480x240:scale=log[vv];[0:v][vv]overlay=x=0:y=(H-h)/2" -c:v libx264 -c:a aac -f mpegts - | ffplay -i -
ffmpeg -i http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4 -filter_complex "[0:a]showcqt=s=480x240[vv];[0:v][vv]overlay=x=0:y=(H-h)/2" -c:v libx264 -c:a aac -f mpegts - | ffplay -i -
streamlink https://www.youtube.com/watch?v=dp5IuihmwhQ worst -O | ffmpeg -i pipe:0 -filter_complex "[0:a]showfreqs=s=480x240[vv];[0:v][vv]overlay=x=0:y=(H-h)/2" -c:v libx264 -c:a aac -f mpegts - | ffplay -i -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment