Open fenarinarsa opened 1 year ago
It looks like the filter in yt-dlp should better be something like this to avoid vp9/vp9.2/opus codecs:
-f bestvideo*[vcodec!=av01][vcodec!=vp9.2][vcodec!=vp9]+bestaudio[acodec!=opus]/best[vcodec!=av01][vcodec!=vp9][vcodec!=vp9.2][acodec!=opus]/bestvideo[ext=mp4]+bestaudio[ext=m4a]/best
Hi,
Unfortunately 4k videos on youtube use vp9 and are not available in avc1. Then we can't exclude vp9 from the query.
I suggest to upgrade ffmpeg to 5.1, it should fix this issue
ffmpeg 5.1 is not available for debian bullseye, even in backports, so for now I'll stick with my patch.
ffmpeg 5.1 is not available for debian bullseye, even in backports, so for now I'll stick with my patch.
You can get ffmpeg static builds from here - https://johnvansickle.com/ffmpeg/
Could the the docker image be updated with such a ffmpeg version to take that into account. I'm encountering the problem for approx 2% of my videos.
Describe the current behavior
Youtube import fails for some videos. It looks like yt-dlp is downloading the webm/vp9 version of the video.
Steps to reproduce
Describe the expected behavior
yt-dlp should download the mp4 video instead of the webm version.
Additional information
Import log: