compress video ffmpeg
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
compress video ffmpeg
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
speed up video with ffmpeg
# speed up video and audio at the same time
# 2x speed up command:
ffmpeg -i input.mkv -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2[a]" -map "[v]" -map "[a]" output.mkv
# 1.5x speed up command:
ffmpeg -i input.mkv -filter_complex "[0:v]setpts=0.666*PTS[v];[0:a]atempo=1.5[a]" -map "[v]" -map "[a]" output.mkv
# speed up formula (x must be between 0 and 2):
ffmpeg -i input.mkv -filter_complex "[0:v]setpts=<1/x>*PTS[v];[0:a]atempo=<x>[a]" -map "[v]" -map "[a]" output.mkv
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us