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 :: generate ssh in ubuntu 
Shell :: how to access docker container bash 
Shell :: ubuntu get public ip 
Shell :: sudoless docker 
Shell :: shopify theme kit for linux 
Shell :: how to use multiple commands in linux 
Shell :: installer tensorflow 2.0 
Shell :: wsl install mongodb 
Shell :: libevent ubuntu install 
Shell :: install turtle command 
Shell :: ubuntu open with code 
Shell :: how to install figma for linux 
Shell :: unstage git add 
Shell :: docker starting forever 
Shell :: jupyter notebook allow root 
Shell :: rsync --iinclude 
Shell :: find unused files android studio 
Shell :: update dart 
Shell :: git undo rebase 
Shell :: change shell prompt color linux 
Shell :: bash string before substring 
Shell :: how to pull branch from github 
Shell :: windows 10 openssh server install failed 
Shell :: how to update alias in linux 
Shell :: Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation. 
Shell :: open a folder linux 
Shell :: bash loop 
Shell :: bash change text in specific column 
Shell :: command not found: strings 
Shell :: copy file from ssh to local 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =