Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Adrien Rey-Jarthon jarthod

🏠
Working from home
View GitHub Profile
@jarthod
jarthod / ffmpeg_cheat_sheet.md
Last active Dec 5, 2020
ffmpeg cheat sheet
View ffmpeg_cheat_sheet.md

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