Skip to content

Instantly share code, notes, and snippets.

@erickyun
erickyun / merge-mp4.sh
Created March 22, 2022 22:05 — forked from palaniraja/merge-mp4.sh
Bash script to merge all mp4 videos in current directory (recursively 2 levels). It also updates the chapter marks to retain the folder/filename of source dir
#!/bin/bash
## Script to merge all mp4 videos in current directory (recursively 2 levels)
## And update chapter marks to retain the folder/filename
## Script for merging videos
filename=`basename pwd`
current=`pwd`
@erickyun
erickyun / ytdl trimmerV1.bat
Last active February 7, 2024 16:11
Download only part of a youtube video
@setlocal
@echo off
set /p "URL=Enter URL here: "
set /p "START_TIME=Enter START_TIME here: "
set /p "END_TIME=Enter END_TIME here: "
set /p "END_FILENAME=Enter END_FILENAME here: "
set "VIDEO_URL= "
@erickyun
erickyun / ytdl trimmerV2.bat
Last active February 7, 2022 14:57
Download only part of a youtube video
@ECHO OFF
color 0A
ECHO ======================================================================================================================
ECHO.
SET /P vURL="[Enter video URL] "
ECHO.
SET /P StartTime="[Enter Start Time] "
SET /P EndTime="[Enter End Time] "
ECHO.
ECHO ======================================================================================================================
@erickyun
erickyun / ytdl-clip-bash-script-v3.sh
Last active January 3, 2022 07:24
Download only part of a youtube video
#!/data/data/com.termux/files/usr/bin/bash
echo "Enter URL here:"
read URL
echo "Enter START_TIME here:"
read START_TIME
echo "Enter END_TIME here:"
read END_TIME
@erickyun
erickyun / ytdl-clip-bash-script-v2.sh
Last active January 2, 2022 18:16
Download only part of a youtube video
#!/data/data/com.termux/files/usr/bin/bash
echo "Enter URL here:"
read URL
echo "Enter START_TIME here:"
read START_TIME
echo "Enter END_TIME here:"
read END_TIME
@erickyun
erickyun / ytdl-clip-bash-script-v1.sh
Last active September 4, 2022 13:43 — forked from Ryu1845/clip.sh
Download only part of a youtube video
#!/data/data/com.termux/files/usr/bin/bash
echo "Enter URL here:"
read URL
echo "Enter START_TIME here:"
read START_TIME
echo "Enter END_TIME here:"
read END_TIME