Skip to content

Instantly share code, notes, and snippets.

View alangabrielbs's full-sized avatar
🇧🇷
JS/TS | ReactJS | NextJS

Alan Gabriel alangabrielbs

🇧🇷
JS/TS | ReactJS | NextJS
View GitHub Profile
@alangabrielbs
alangabrielbs / hls.sh
Created November 11, 2024 01:28 — forked from stenuto/hls.sh
HLS ffmpeg script
#!/bin/bash
# Function to display usage information
usage() {
echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]"
exit 1
}
# Check if at least one argument (input file) is provided
if [ $# -lt 1 ]; then