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 export metadata form audio file

See https://xiph.org/flac/documentation_tools_metaflac.html

metaflac --export-tags-to=OUTPUTFILE.txt downloadedyoutubevideo.flac

metaflac --list downloadedyoutubevideo.flac

Step 5 Use Musicbrainz Picard to tag flac file