Closed dot-mike closed 8 months ago
I did some more testing and looks like it's the -f
argument that is not handled correctly. I know yt-dlp will abort if it can't find the requested format, but I did try with -f 'bestvideo+bestaudio'
as the only argument to yt-dlp and it should've downloaded any version at the highest quality but did not happen.
--write-info-json
argument works 🤔
'bestvideo+bestaudio'
is by default what yt-dlp uses. But I get what you mean, it's quite curious. I'll look into that.
Indeed, but I wanted to force mp4 format and not use webm...
When using custom arguments for YT-DLP the program does not download / save the video file.
Reproduce
https://www.youtube.com/@jawed/videos
and use the following options:-f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4
%(uploader)s_%(channel_id)s/%(title)s [%(id)s].%(ext)s
What occurred I can see that the process is yt-dlp started in container by executing
ps | cat
, but video file is never downloaded to/downloads
directory.What to expect File is present in
/downloads
directoryComments It works if I execute the same yt-dlp command taken from running the command
ps | cat
.Logs , screenshot, etc