12

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 ?

16

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.

| improve this answer | |
  • Thanks a lot. This helps mutch. Is there propably also a way to revirse a video with ffmpeg ? – user1344545 May 21 '16 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 '16 at 9:46
  • 2
    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. – Joshua Pinter Aug 10 '16 at 14:57
  • 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 '16 at 15:10
  • If you do keep audio (without speed up), whether it's black depends on the player's behaviour. In Potplayer, the last frame is frozen. – Gyan Aug 10 '16 at 15:20
0

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%.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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