[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/wsr/ - Worksafe Requests

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


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?
>>
>>1539035
yes.
>>
>>1539037
Youtube doesn't have flac though, does it?
>>
>>1539038
it can convert it to flac but i can't seem to get it to keep it.
>>
>>1539039
But that's pointless, it will massively increase size with zero quality gain. Look for a flac source on rutracker.
>>
>>1539040
okay 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.
>>
>>1539042
opus
>>
>>1539042
-k
Pretty 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 flac
To save just the yt video as flac I just do `-x --audio-format flac` and that's about it



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.