Import (url) keeps failing once, succeeding later?

Command was canceled: /usr/bin/python3 /var/www/peertube/storage/bin/youtube-dl -f bestvideo[vcodec^=avc1][height=2160]+bestaudio[ext=m4a]/bestvideo[vcodec!=av01][vcodec!=vp9.2][height=2160]+bestaudio/bestvideo[vcodec^=avc1][height<=2160]+bestaudio[ext=m4a]/bestvideo[vcodec!=av01][vcodec!=vp9.2]+bestaudio/best[vcodec!=av01][vcodec!=vp9.2]/best -o /var/www/peertube/storage/tmp/ee034613309123c0f262deba69020ecf5f00808eb0f25bd7fd3068aea3d7d569-import
[youtube] : Downloading webpage
[youtube] : Downloading MPD manifest
[download] Destination: /var/www/peertube/storage/tmp/ee034613309123c0f262deba69020ecf5f00808eb0f25bd7fd3068aea3d7d569-import.f137

Download just stops at some random %… seems to happen with long videos mostly (it does have a destination, I just removed it). Any way to resolve this without continually retrying?

Hi,

Try to switch to yt-dlp: PeerTube/production.yaml.example at develop · Chocobozzz/PeerTube · GitHub

How, though, if it’s someone else’s instance? It happens on more than one too, so it’d be better to update the code if the default doesn’t function.

(And… it’s much worse than just one fail always, an 1.5h video needed to fail 3 times before succeeding, while the other is still not importing, now on a 5th attempt… not viable if a fix isn’t the default…)