Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@retorillo
Last active December 16, 2018 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save retorillo/2f29ff095799b620725882d27b981a39 to your computer and use it in GitHub Desktop.
Save retorillo/2f29ff095799b620725882d27b981a39 to your computer and use it in GitHub Desktop.

Creating fast drawing video with ffmpeg

ffmpeg -i "concat:video1.ts|video2.ts|video3.ts" -c copy concat.ts
ffmpeg -i concat.ts -an -filter:v "setpts=0.03125*PTS" -c:v libx264 -preset ultrafast -crf 0 m32.mp4
  • Use setpts=0.25*PTS for x4 video, setpts=0.03125*PTS for x32 video.
  • Use -an to remove audio track.

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment