Convert video menggunakan ffmpeg

install ffmpeg sesuai dengan OS masing2

set environtment path mengarah pada folder bin

buka command promp

resize video
ffmpeg -i video.mp4 -vf scale=720:-1 video_720.mp4

double speed video
ffmpeg -i video_720.mp4 -filter:v "setpts=0.5*PTS" video_720_2X.mp4
ffmpeg -i video_720.mp4 -filter:v "setpts=0.5*PTS" video_720_2X.gif


ffmpeg -i video.mp4 -c copy -an video_copy.mp4

audio only
ffmpeg -i video.mp4 -vn -acodec copy audio.aac

video without audio
ffmpeg -i video.mp4 -c copy -an video_without_audio.mp4

change background
ffmpeg -i download.jpg -i video.mp4 -filter_complex '[1:v]colorkey=0x0090b2:0.3:0[ckout];[0:v][ckout]overlay[out]' -map '[out]' output.mp4

Komentar

Postingan Populer