I'm using require('fluent-ffmpeg')
to convert a server side video. The only problem is that the input video is slowed down X2 (30fps, contains double frames) so I need the output video to be sped up X2.
The videoSpeed parameter doesn't seem to work. The inputFPS also didn't work (thought about giving it the value 60)
How do I speed up the output video?
Thanks
Found it under video filters:
ffmpeg('/path/to/file.avi').videoFilters('setpts=0.5*PTS')
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.