yt-dlp: configure for better file naming

This commit is contained in:
2024-12-07 23:24:05 +00:00
parent 106a4fd67c
commit 19078d3da1

View File

@@ -30,6 +30,13 @@ in
# don't set the file's mtime to the https video's upload/edit date # don't set the file's mtime to the https video's upload/edit date
--no-mtime --no-mtime
# restrict to ascii characters only (seems to include replacing ' ' with '_')
--restrict-filenames
# man yt-dlp ## OUTPUT TEMPLATE
-o %(uploader)s-%(title)s
# for curlftpfs compatibility; see: <https://github.com/kahing/goofys/issues/296>
--postprocessor-args -movflags\ frag_keyframe+empty_moov
# to avoid frame drops or desync on low-power devices (lappy, moby, ...) # to avoid frame drops or desync on low-power devices (lappy, moby, ...)
# prefer sources at/under some max resolution, framerate, or codec version. # prefer sources at/under some max resolution, framerate, or codec version.
# see `man yt-dlp` sections "Sorting Formats" and "Format Selection examples" # see `man yt-dlp` sections "Sorting Formats" and "Format Selection examples"