Created
October 18, 2020 22:27
-
-
Save mngyuan/12bdf1990333495813e1c6188a6a542d to your computer and use it in GitHub Desktop.
Download video and transcode to macOS friendly HEVC h265 mp4
This file contains 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
# usage: ./download.sh example-file.m3u8 output-name | |
# credit @brandur see https://brandur.org/fragments/ffmpeg-h265 | |
ffmpeg -i "$1" -c:v libx265 -crf 35 -preset fast -tag:v hvc1 -c:a eac3 -b:a 224k $2.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment