u/Frotnorer

Can anyone help me understand what I'm doing wrong?

So for getting songs from youtube i use the following command:

yt-dlp -x --audio-format mp3 --audio-quality 128k --embed-metadata --embed-thumbnail --postprocessor-args -o "%(artist|uploader)s - %(title)s.%(ext)s" "YOUTUBE LINK"

However, I wanted to change the sampling rate to 44100hz andcrop the thumbnails into a square shape, so I added this part:

--postprocessor-args "ffmpeg: -ar 44100 -vf crop=min(iw\,ih):min(iw\,ih)"

So my command becomes:

yt-dlp -x --audio-format mp3 --audio-quality 128k --embed-metadata --embed-thumbnail --postprocessor-args "ffmpeg: -ar 44100 -vf crop=min(iw\,ih):min(iw\,ih)" -o "%(artist|uploader)s - %(title)s.%(ext)s" "YOUTUBE LINK"

When I try to use it tho, I get the following error:

ERROR: Postprocessing: Error opening output files: Filter not found

Am I using a wrong character or something? Please help!

reddit.com
u/Frotnorer — 2 days ago