Skip to content

Instantly share code, notes, and snippets.

View m99coder's full-sized avatar
👨‍🚀
Where no human has gone before

Marco Lehmann m99coder

👨‍🚀
Where no human has gone before
View GitHub Profile
@m99coder
m99coder / .gitconfig
Created February 2, 2021 11:10 — forked from asaaki/.gitconfig
Using different emails and GPG keys for work and personal stuff on GitHub
[core]
# ...
[init]
defaultBranch = main
[commit]
gpgsign = true
# you want that to have a default for locations outside of your regular dev folders
@m99coder
m99coder / m3u8-to-mp4.md
Created January 30, 2018 11:05 — forked from tzmartin/m3u8-to-mp4.md
m3u8 stream to mp4 using ffmpeg

1. Copy m3u8 link

Alt text

2. Run command

echo "Enter m3u8 link:";read link;echo "Enter output filename:";read filename;ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $filename.mp4