i'm using yt dlp. how can i make it so that i can also save a flac instead of it being automatically deleted when it's done compiling everything into a video.yt-dlp --write-thumbnail --embed-metadata --embed-thumbnail --no-check-certificate --no-mtime --merge-output-format mkv --sponsorblock-remove sponsor --convert-thumbnails png
Are you downloading from Youtube?
>>1539035yes.
>>1539037Youtube doesn't have flac though, does it?
>>1539038it can convert it to flac but i can't seem to get it to keep it.
>>1539039But that's pointless, it will massively increase size with zero quality gain. Look for a flac source on rutracker.
>>1539040okay ignore the filesize. i just need to have an audio file be kept along with the video. i can keep it as ogg or whatever it normally is.
>>1539042opus
>>1539042-kPretty sure the output will literally tell you to use this to keep the file.
>>1539034-k to keep the files, as the other anon said-F to see a list of available file formats -f format-code to just download that part there are special formats, e.g.-f ba or -f bestaudio just downloads the best available audio-only format.https://altctrlreturn.com/docs/video-processing/format-selection-in-yt-dlp
>>1539034>so that i can also save a flacTo save just the yt video as flac I just do `-x --audio-format flac` and that's about it