[sudo-discuss] how to speed up a video file and reduce its size?

Carl Gorringe lists at gorringe.org
Wed Oct 7 23:19:36 PDT 2020


Hi Jake,

According to my notes...

To double the speed of a video:
$ ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS” output.mp4

Use -an to disable audio:
$ ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" -an output.mp4

Use 0.333 instead of 0.5 for 3x speed. 0.05 for 20x.

cheers
-Carl


> On Oct 7, 2020, at 9:23 PM, Jake <jake at spaz.org> wrote:
> 
> does anyone know the right ffmpeg or mencoder commands to speed up an MKV video
> file by 20X while reducing its file size accordingly?  Bonus if it doesn't take
> twice the lifetime of the universe to do it
> 
> thank you!
> 
> -jake
> 
> _______________________________________________
> sudo-discuss mailing list
> sudo-discuss at lists.sudoroom.org
> https://sudoroom.org/lists/listinfo/sudo-discuss



More information about the sudo-discuss mailing list