Skip to content

Instantly share code, notes, and snippets.

View bernardoaraujor's full-sized avatar

bernardo bernardoaraujor

View GitHub Profile
@bernardoaraujor
bernardoaraujor / Dockerfile
Last active February 28, 2022 18:40 — forked from niklasad1/Dockerfile
Polkadot Raspberry PI (64 bit) cross-compile build
# Put this file in the root of substrate / polkadot directory.
FROM rust:latest
RUN dpkg --add-architecture arm64 && \
apt-get update && apt-get upgrade -y && \
apt-get install -y aptitude && \
aptitude install -y \
gcc-aarch64-linux-gnu \
g++-aarch64-linux-gnu \
@bernardoaraujor
bernardoaraujor / m3u8-to-mp4.md
Created June 25, 2021 20:34 — 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