Sound Waves Visual with FFmpeg

Example command to generated sound wave visual of audio: ./ffmpeg -i “audiofile.flac” -filter_complex “[0:a]showwaves=s=1280×720:mode=line:rate=25,format=yuv420p[v]” -map “[v]” -map 0:a “audiofilesoundwavevideo.mp4” Full documentation here: https://ffmpeg.org/ffmpeg-filters.html#showwaves

Audio Workflow

Step 1 Use youtube-dl to download video youtube-dl –audio-format Flac –audio-quality 0 “https://youtubeshareurl.com” Step 2 Use ffprobe to view video and audio streams in downloaded YouTube video ./ffprobe downloadedyoutubevideo.mp4 Step 3 Use ffmpeg to extract audio from downloaded YouTube video See https://stackoverflow.com/questions/9913032/how-can-i-extract-audio-from-video-with-ffmpeg ./ffmpeg -i downloadedyoutubevideo.mp4 -map 0:1 downloadedyoutubevideo.flac Step 4 Use metaflac to view and/or… Continue reading Audio Workflow