20

Is it possible to speed up a video using handbrake ?

I am looking for a software like handbrake to convert videos for faster playback. It should speed up the video up to 30x.

Is it possible with handbrake or are there similar tools ?

2 Answers 2

25

You can use ffmpeg, a free command-line tool, to do this.

The basic command is

ffmpeg -i input.mov -vf "setpts=(PTS-STARTPTS)/30" -crf 18 output.mov

The 30 indicates the factor by which the video will be sped up.

9
  • Thanks a lot. This helps mutch. Is there propably also a way to revirse a video with ffmpeg ? May 21, 2016 at 9:32
  • 2
    Sure. but it loads the whole file into memory, so I suggest applying it after speed change, like this: -vf "setpts=(PTS-STARTPTS)/30,reverse"
    – Gyan
    May 21, 2016 at 9:46
  • 3
    Note, this seems to add a bunch of empty blackness at the end. Or, rather, it condenses the video but keeps the original length and just fills it with solid black. Aug 10, 2016 at 14:57
  • 1
    If you have an audio track in the input which isn't correspondingly sped up, yes, but not otherwise. Add -an to disable or -af atempo=2,atempo=2,atempo=2,atempo=2,atempo=1.875 to speed up the audio as well.
    – Gyan
    Aug 10, 2016 at 15:10
  • 1
    What is crf 18?
    – stephanmg
    Aug 25, 2020 at 13:24
6

Using FFmpeg's command-line, this is totally possible. I do it to increase the speed of my videos by 10% (increasing both the audio AND video by 10%, without sounding like a chipmunk).

The command to increase your video's speed by 10% is:

<ffmpeg path> -i <origin video path> -vf "setpts=(PTS-STARTPTS)/1.1" -crf 18 -af atempo=1.1 <output video path>

Here's the exact command line that I use:

"C:\Program Files\ffmpeg-win64\bin\ffmpeg.exe" -i "G:\minecraft lets play.mp4" -vf "setpts=(PTS-STARTPTS)/1.1" -crf 18 -af atempo=1.1 "G:\minecraft lets play ffmpeg.mp4"

If you want to increase your video's speed by more, or less, then you just change the "1.1" at both lines to something else. "1.1" is 10%. "1.5" is 50%. "3" is 300%. "10" is 1000%.

1
  • great answer! as you mention audio, cheers! Oct 25, 2022 at 1:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.