Nikhil Kumar bio photo

Nikhil Kumar

A stylish blog on my code

Gmail LinkedIn Github Résumé
Changelog:

I wanted to trim my video without any loss of quality. It took me a surprisingly long time to find this on Google so I thought I would put this command here so if someone else needs to do this, they do not need to spend the time searching I did. Also, I would most like forget as well and come back here for reference (hello future me!).

1
ffmpeg -i original.webm -ss 00:00:11 -t 00:00:28 -vcodec copy -acodec copy trimed.webm

You can replace the .webm extension with .avi,.mp4 or to whatever is your video file extension.