Skip to content

Instantly share code, notes, and snippets.

View pranshuthegamer's full-sized avatar

Pranshu Tanwar pranshuthegamer

View GitHub Profile
@pranshuthegamer
pranshuthegamer / pranshu-clipper.sh
Last active June 29, 2023 09:28
Take out different parts of a video and join them together
#!/bin/sh
HELP="ffmpeg trimmer script made by pranshutg 12345qwertyman12345@gmail.com
Usage:
-h --help calls this help function
-t --timestamps give this arg a string of times like \"60-2:00 125-130\" and it will extract those two parts
-i --input input file to perform operation on
-s --store specify directory to store trimmed clips in
-k --keep dont delete / keep tmp directory
#!/bin/python3
import yt_dlp
import sys
import time
import multiprocessing
"""
This Script also works on normal playlists
usage: ./<script> <playlist url> <start> <end>
@pranshuthegamer
pranshuthegamer / yt-dlp-batch.py
Last active August 13, 2022 13:07
yt-dlp playlist batch downloader
#!/bin/python3
import yt_dlp
import sys
import time
import multiprocessing
"""
This Script also works on normal playlists
usage: ./<script> <playlist url>