BoltzmannEntropy / xtts2-ui

A User Interface for XTTS-2 Text-Based Voice Cloning using only 10 seconds of speech
MIT License
242 stars 40 forks source link

Handy yt-dlp command #27

Closed sam1am closed 1 month ago

sam1am commented 4 months ago

FYI, if you just want to download a 10 second clip from a video you can do something like this:

yt-dlp -x --audio-format wav --postprocessor-args "-ss 180 -t 15" https://www.youtube.com/watch?v=KgZKZC1HPUk -o 'jackass_sample.%(ext)s'

-ss is the time in seconds it should begin the clip from. -t is the length of the clip