Skip to content

Instantly share code, notes, and snippets.

View Cygon's full-sized avatar

Markus Ewald Cygon

View GitHub Profile
@Cygon
Cygon / transcode-av1.sh
Last active May 24, 2023 09:13
Shell script that encodes a movie to the free AV1 video codec using the highest possible quality
#!/bin/sh
# Helper script to transcode to high-quality AV1 clips via ffmpeg
#
# Uses best possible settings with two-pass encode.
# Encoding a full will take months or years!
#
# File from which the video is taken
inputFile=$1
@Cygon
Cygon / transcode-svt-hevc.sh
Last active May 31, 2023 09:56
Shell script that encodes a movie to HEVC using Intel's lesser known SVT-HEVC encoder
#!/bin/sh
# File from which the video is taken
inputFile=$1
# File to which the HEVC-encoded video bitstream will be written
hevcFile=${inputFile%.*}.hevctranscoded.hevc
# File to which the final generated output video will be written
outputFile=${inputFile%.*}.hevctranscoded.mkv