Here the -ss is the start time and -to is the ending. It's better to control the codec used for the encoding, to make sure it's compatible with the container, and in your case if you want to upload, it's better to have something that plays in the browser, that's libx264. Example: