Skip to content

Instantly share code, notes, and snippets.

Working from home

Adrien Rey-Jarthon jarthod

Working from home
View GitHub Profile
jarthod /
Last active Dec 5, 2020
ffmpeg cheat sheet

base encode to H265 (HEVC)

ffmpeg -i in.mts -c:a copy -c:v libx265 out.mp4

base encode to H264

ffmpeg -i in.mts -c:a copy -c:v h264 out.mp4

scale to 720p