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
#!/bin/bash | |
# Make sure the meeting is public to avoid needing authentication. | |
# Run directly with: | |
# bash <(curl -s https://gist.githubusercontent.com/krasi-georgiev/afb8fce8d05dbe601545d514f080c095/raw/tldv.sh) | |
# === Dependency check === | |
for cmd in jq ffmpeg; do | |
if ! command -v $cmd >/dev/null 2>&1; then | |
echo "❌ Required command '$cmd' is not installed." |
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
#!/bin/bash | |
# Run with: | |
# bash <(curl -sL "https://gist.githubusercontent.com/krasi-georgiev/1f167a2136bbce5824c6516d2777ef79/raw/cut_segments.sh") | |
shopt -s nullglob | |
### Step 1: Select CSV file | |
csv_files=( *.csv ) | |
if [ ${#csv_files[@]} -eq 0 ]; then |
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
#!/bin/bash | |
# ================================================ echo "1) Convert videos (default)" | |
# | |
# Run directly from this gist: | |
# | |
# bash <(curl -sL https://gist.githubusercontent.com/krasi-georgiev/5f891acb246a36d475f0c5c451e658e9/raw/convert.sh) | |
# | |
# ================================================ |