Open Metric
Science, Fiction and Me

Today I Learned

Using ffmpeg to Convert and Slow Down Video

To convert from mov to mp4

ffmpeg -i matter-gyro-pendulum-20-alpha-1-lambda-0.mov -c copy matter-gyro-pendulum-20-alpha-1-lambda-0.mp4

To slow down video

ffmpeg -i matter-gyro-pendulum-20-alpha-1-lambda-0.mp4 -filter:v "setpts=4.0*PTS" matter-gyro-pendulum-20-alpha-1-lambda-0-slow.mp4

To trim video from 0sec to 4sec

ffmpeg -i myvideo.avi -ss 00:00:00 -t 00:00:04 -c copy out.mp4

A Random #TIL# for You


Most technical TILs will be updated at datumorphism.leima.is/til

By OctoMiao

Last updated