This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download from: https://www.ffmpeg.org/download.html | |
# Install ffmpeg and ffprobe in yout PATH | |
# Convert all mp4 in the folder to mkv | |
find ./ -name '*.mp4' -exec bash -c 'ffmpeg -i $0 -c copy ${0/mp4/mkv}' {} \; | |
# Save the first minute of a video | |
ffmpeg -v error -stats -ss 00:00:00 -i path/to/input.mkv -to 00:01:00 -codec copy -avoid_negative_ts make_zero path/to/output.mkv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Delete remote branch | |
git push origin --delete <branch> |