'How to speedup h.265 a video by 1000x without reencoding
I am looking for a way to speedup a huge videofile (dashcam video) in order to be able to browse through quickly. Is it possible to only copy keyframes and also change frame rate to 120fps? I found several recommendations for ffmpeg on google but nothing worked.
cheers Timo
Solution 1:[1]
You can extract the video stream to pure raw data file and then remux it with a new framerate.
For example, in case of h265 codec, these two commands should work for you:
ffmpeg -discard nokey -i input.mp4 -c copy -bsf hevc_mp4toannexb -f hevc output.h265
ffmpeg -r 120 -i output.h265 -c copy output.mp4
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
