Changes between Version 17 and Version 18 of How to speed up / slow down a video


Ignore:
Timestamp:
Aug 21, 2021, 1:52:51 PM (2 months ago)
Author:
Ulf Zibis
Comment:

video + audio with raw bitstream method

Legend:

Unmodified
Added
Removed
Modified
  • How to speed up / slow down a video

    v17 v18  
    7373ffmpeg -i input.mkv -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" output.mkv
    7474}}}
     75
     76
     77With 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{{{
     79ffmpeg -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}}}