Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

speed up ffmpeg video

ffmpeg -i input.mkv -filter:v "setpts=PTS/60" -filter:a "atempo=2,atempo=2,atempo=2,atempo=2,atempo=2,atempo=1.875" output.mkv
Comment

PREVIOUS NEXT
Code Example
Shell :: gcc info linux 
Shell :: flutter android embedding check version 
Shell :: drf social auth 
Shell :: docker create image 
Shell :: git diff between two repos 
Shell :: linux user all permissions 
Shell :: ubuntu iptables add rule 
Shell :: ssl erzwingen htaccess 
Shell :: how to install visual studio code in kali 
Shell :: sed print from match to end of file 
Shell :: copy files from local to host ssh 
Shell :: docker push to private registry 
Shell :: delete folder from repo 
Shell :: git log files only 
Shell :: how to format pendrive on ubuntu 
Shell :: Generate a new GitHub SSH key 
Shell :: how to chanbge port number on centos8 
Shell :: install spotify on ubuntu 
Shell :: view certificate openssl 
Shell :: IntelliJ IDEA 4.2 
Shell :: makefile linux 
Shell :: rm remote git 
Shell :: wsl2 
Shell :: how to download a file from server 
Shell :: how to add code to git 
Shell :: svelte getting started typescript 
Shell :: creat a new repository 
Shell :: create flutter project 
Shell :: Bash echo to standard output from function 
Shell :: install vs code on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =