Changes between Version 17 and Version 18 of How to speed up / slow down a video
- Timestamp:
- Aug 21, 2021, 10:52:51 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
How to speed up / slow down a video
v17 v18 73 73 ffmpeg -i input.mkv -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" output.mkv 74 74 }}} 75 76 77 With the raw bitstream method example from above, there is no need for a complex filtergraph. You can slow down a 30 fps video and audio at the same time with: 78 {{{ 79 ffmpeg -fflags +genpts -r 15 -i raw.h264 -i input.mp4 -map 0:v -c:v copy -map 1:a -af atempo=0.5 -movflags faststart output.mp4 80 }}}
