Skip to content

Instantly share code, notes, and snippets.

@championswimmer
Created June 20, 2023 17:31
Show Gist options
  • Save championswimmer/071f4712d850a98e47bc5031001dfeed to your computer and use it in GitHub Desktop.
Save championswimmer/071f4712d850a98e47bc5031001dfeed to your computer and use it in GitHub Desktop.
Useful Commands
# Download portion of video
yt-dlp -4 -f "mp4" -S "res:1080" --write-thumbnail --download-section "*30:52-31:54" "https://www.youtube.com/watch?v=8Kazdjpf7oI"
# Download Twitter Thread
ttm -f -t -q -a --assets-path images -p posts --filename mobile-app-pms-india-2023 https://twitter.com/championswimmer/status/1622946183881564160
# Speed up a video
ffmpeg -i trainer.mp4 -filter:v "setpts=1/1.1*PTS" -filter:a "atempo=1.1" trailer.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment